PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Thu Nov 27, 2014 9:12 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: security
PostPosted: Thu Dec 29, 2011 2:37 am 
Offline
Forum Newbie

Joined: Thu Dec 29, 2011 2:29 am
Posts: 2
What is the source code used for security purpose in any php enabled website?


Top
 Profile  
 
 Post subject: Re: security
PostPosted: Fri Dec 30, 2011 12:04 pm 
Offline
Forum Regular
User avatar

Joined: Wed Mar 05, 2008 11:23 pm
Posts: 732
Location: Sunriver, OR
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


Top
 Profile  
 
 Post subject: Re: security
PostPosted: Mon Jan 02, 2012 4:10 pm 
Offline
DevNet Master
User avatar

Joined: Sun Feb 15, 2009 12:08 pm
Posts: 2775
Location: .za
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


Top
 Profile  
 
 Post subject: Re: security
PostPosted: Fri Jan 27, 2012 6:36 pm 
Offline
Forum Contributor
User avatar

Joined: Sat Oct 01, 2011 9:29 pm
Posts: 156
Location: Colorado, USA
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...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group