Added galery
This commit is contained in:
12
public/gallery_uploads/.htaccess
Normal file
12
public/gallery_uploads/.htaccess
Normal file
@@ -0,0 +1,12 @@
|
||||
# Deny access to all files except images
|
||||
<FilesMatch "\.(?!(jpg|jpeg|png|gif|webp)$)[^.]+$">
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
|
||||
# Disable directory listing
|
||||
Options -Indexes
|
||||
|
||||
# Disable script execution
|
||||
<FilesMatch "\.(php|php5|phtml|cgi|pl|py)$">
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
Reference in New Issue
Block a user