ReVeR Posted February 24, 2006 Share Posted February 24, 2006 Hello.How can i make my program (php +mysql dbes) more secure from diffrent ways of manipulation by somethign like sql injections and so on. Basically i want to make all the forsm (ex user registration) and other to be as secure as possible.Any ideas are welcome.Thx Quote Link to comment Share on other sites More sharing options...
AndyB Posted February 24, 2006 Share Posted February 24, 2006 [a href=\"http://www.sitepoint.com/article/sql-injection-attacks-safe\" target=\"_blank\"]http://www.sitepoint.com/article/sql-injection-attacks-safe[/a] - or any of a zillion results from Google Quote Link to comment Share on other sites More sharing options...
fenway Posted February 24, 2006 Share Posted February 24, 2006 You can read all the articles you want, but it all comes down to making sure that everything is properly quoted (field values, basically). This prevents a semi-colon from starting a new query. Both PHP and Perl make it trivial to do this, and everyone should.Other than the above, the usual safeguards apply -- make sure the server is locked down, don't be stupid about root passwords (or root access for that matter), etc. Any *nix sysadmin can help you with these, or your hosting company should take care of it for you.Good luck. 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.