Thread: Learning PHP
View Single Post
Old 10-25-2016, 05:11 AM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
1. Limit user input to scripts to the expected input.

2. Set the correct (lowest permissions necessary) for all files and directories.

By only allowing only the expected, the dangerous unexpected user input will be rejected.

Google is your friend: https://www.google.com/search?q=secure+PHP
Lots of opinions and ideas here ^
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote