Skip to content

Instantly share code, notes, and snippets.

@CapWebSolutions
Last active January 29, 2019 22:49
Show Gist options
  • Select an option

  • Save CapWebSolutions/5b7aa7c54d40f86ba552bacf32a9a0b6 to your computer and use it in GitHub Desktop.

Select an option

Save CapWebSolutions/5b7aa7c54d40f86ba552bacf32a9a0b6 to your computer and use it in GitHub Desktop.
Harden folder from outside access
deny from all
<Files *.php>
deny from all
</Files>
@CapWebSolutions
Copy link
Copy Markdown
Author

Use htaccess2 for uploads folder to prevent execution of any php files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment