Jump to content

Archived

This topic is now archived and is closed to further replies.

ReVeR

Security concerns

Recommended Posts

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

Share this post


Link to post
Share on other sites
[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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.