Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-18-2009, 06:03 PM   PM User | #1
johnnnn
New Coder

 
Join Date: May 2009
Location: Pennsylvania, United States
Posts: 54
Thanks: 16
Thanked 0 Times in 0 Posts
johnnnn is an unknown quantity at this point
Post Security tips, anyone?!

We all know that a 100% secure script is a "virtual impossibility" as the PHP manual puts it.

I'm writing my own CMS, and need some security tips to make the script as secure as I possibly can.

Here is what I have so far:

1. Cleanse all data submitted through ANY form
2. Check each page and make sure it is valid (so if someone attemted to include a malicious page, it would return an error and not run that script)
3. MD5/Crypt password
4. Use of tokens to prevent CSRF


Any more suggestions?
johnnnn is offline   Reply With Quote
Old 07-18-2009, 07:02 PM   PM User | #2
celsoendo
New Coder

 
Join Date: Jun 2009
Posts: 18
Thanks: 0
Thanked 2 Times in 2 Posts
celsoendo is an unknown quantity at this point
www.phpsec.org
celsoendo is offline   Reply With Quote
Old 07-18-2009, 11:58 PM   PM User | #3
funnymoney
Regular Coder

 
funnymoney's Avatar
 
Join Date: Aug 2007
Posts: 364
Thanks: 17
Thanked 24 Times in 24 Posts
funnymoney is an unknown quantity at this point
Quote:
Originally Posted by johnnnn View Post
2. Check each page and make sure it is valid (so if someone attemted to include a malicious page, it would return an error and not
to include malicious page? how to do that...
__________________
PHP Idea Factory
funnymoney is offline   Reply With Quote
Reply

Bookmarks

Tags
cms, safety, security

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:51 AM.


Advertisement
Log in to turn off these ads.