Prevent direct access to a php file but allow including it
50627
Prevent direct access to a php include file
85404
Preventing Directory Traversal in PHP but allowing paths
11200
How to prevent XSS with HTML/PHP?
47263
PHP source code security on server
34185
Preventing other users from viewing my files
99489
php link to image file outside default web directory
127375
How to force file download with PHP
141840
How can I restrict program access to other users?
110509
Allow logged in user to Download File in PHP else nobody can't
61559
Can I exclude some concrete urls from  inside ?
96078
How to prevent access to Views-only content?
25253
What's limiting my PHP resources?
41121
How do I embed PHP code in JavaScript?
64350
Give read-only access to specific folders?
22285
Is it safe to deny access to .ini file in .htaccess?
13458
How can I sanitize user input with PHP?
121737
Allow user submitted HTML in PHP