mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-02 20:51:03 +02:00
Security update
Update security by preventing access to hidden and .sqlite files via the .htaccess file.
This commit is contained in:
parent
3db8d5b8fd
commit
81e5c5a377
10
.htaccess
10
.htaccess
@ -19,3 +19,13 @@
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^ index.php [L]
|
||||
</IfModule>
|
||||
|
||||
# Restrict access to critical files
|
||||
<FilesMatch "^\.">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</FilesMatch>
|
||||
<Files ~ "\.sqlite$">
|
||||
Order allow,deny
|
||||
Deny from all
|
||||
</Files>
|
||||
|
Loading…
x
Reference in New Issue
Block a user