Last active
January 29, 2019 22:49
-
-
Save CapWebSolutions/5b7aa7c54d40f86ba552bacf32a9a0b6 to your computer and use it in GitHub Desktop.
Harden folder from outside access
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| deny from all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <Files *.php> | |
| deny from all | |
| </Files> |
Author
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
Create this file in WordPress folder you do not want anyone to access from the internet. i.e. any .github folders left in plugins/themes