Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.
Moderator: General Moderators
What is the source code used for security purpose in any php enabled website?
- Forum Newbie
- Posts: 2
- Joined: Thu Dec 29, 2011 2:29 am
This is too broad a question.
Security is not a few lines of code added to your project. Tell us what you are trying to and we might be able to give you some suggestions.
A better approach might be to read a book on the subject, try the book by Ilia, the Guide to PHP security: http://www.amazon.com/php-architects-Gu ... 0973862106
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 11:23 pm
- Location: Sunriver, OR
sumitsinha wrote:...security purpose in any php enabled website?
Imo it is more a mindset than just some code
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
- DevNet Master
- Posts: 2775
- Joined: Sun Feb 15, 2009 12:08 pm
- Location: .za
I think what you're asking for is a secure encryption method that will allow you to safely store information in a database? (try rijndael-256)
Or perhaps something like mysql_real_escape_string() which will help make sure attackers can't use mysql injection?
Or strip_tags() to prevent php injection?
That's about it off the top of my head...
- Forum Contributor
- Posts: 156
- Joined: Sat Oct 01, 2011 9:29 pm
- Location: Colorado, USA
Return to PHP - Security
Who is online
Users browsing this forum: No registered users and 3 guests