Add .htaccess to block access to docs and Python files
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
871281c3fb
commit
369e11d83e
1 changed files with 9 additions and 0 deletions
9
.htaccess
Normal file
9
.htaccess
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Block access to documentation and config files
|
||||
<FilesMatch "\.(md|gitignore)$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
|
||||
# Block access to Python files (except via PHP shell_exec)
|
||||
<FilesMatch "\.py$">
|
||||
Require all denied
|
||||
</FilesMatch>
|
||||
Loading…
Add table
Reference in a new issue