anode Posted January 5, 2017 Share Posted January 5, 2017 So if making a site (simple) from scratch and hard coding it all, what lang to sanitize input for a MySQL database, and general 'glue' for backend stuff? From what I've gathered PHP is way to hard to keep secure overall. Is Python an viable option? Been a decade since I fumbled about with Java (didn't enjoy it at *all*) I'd prefer something established, and not in the possible fad range. Thanks hackers and hackettes Quote Link to comment Share on other sites More sharing options...
sud0nick Posted January 5, 2017 Share Posted January 5, 2017 PHP and PDO are best in my opinion. PDO stands for PHP Data Objects. It allows you to create prepared statements so you don't have to worry about sanitizing your input for SQL injection attacks. Quote Link to comment Share on other sites More sharing options...
digininja Posted January 5, 2017 Share Posted January 5, 2017 Any language can be written securely, you just need to do your research and put some effort in. The best language is one you know in an environment you know. If you understand windows better then go for a dotnet based language, Linux php is probably easiest to pick up quickly, rails or django is probably more secure out of the box. Quote Link to comment Share on other sites More sharing options...
Teabot 5000 Posted January 5, 2017 Share Posted January 5, 2017 PHP is my "go to" language for backend stuff. I've worked with Java before but PHP is just more straight-forward to use. It has everything you need to secure it, just sanitize anything coming from the users, use prepared statements for SQL queries, and keep everything nice and simple. Complexity is the enemy of security. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.