PavanSengar || Having experience of 9 Year (PHP,Laravel,Codeigniter,Android,Wordpress,MySQL)...

Wednesday, 12 December 2018

HOW TO DISABLE PHP EXECUTION TO SECURE YOUR UPLOAD FILE DIRECTORY

To disable PHP execution, you add 5 lines of code to the .htaccess file on your web server. 

RewriteEngine On
<Files *.php>
Order allow,deny
Deny from all

</Files>
Posted by Pavan Sengar at 06:46 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

Pavan Sengar
View my complete profile

Blog Archive

  • ▼  2018 (1)
    • ▼  December (1)
      • HOW TO DISABLE PHP EXECUTION TO SECURE YOUR UPLOAD...
  • ►  2017 (5)
    • ►  September (1)
    • ►  February (1)
    • ►  January (3)
Simple theme. Powered by Blogger.