- Voice enhancements, user management, payment method
This commit is contained in:
@@ -1,16 +1,22 @@
|
||||
# CyberChat .htaccess — Apache configuration
|
||||
|
||||
# Deny direct access to SQLite databases
|
||||
<FilesMatch "\.sqlite$">
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
# Deny direct access to databases and the credential-bearing config file
|
||||
<FilesMatch "(^config\.json$|\.sqlite($|-wal$|-shm$))">
|
||||
<IfModule mod_authz_core.c>
|
||||
Require all denied
|
||||
</IfModule>
|
||||
<IfModule !mod_authz_core.c>
|
||||
Order Allow,Deny
|
||||
Deny from all
|
||||
</IfModule>
|
||||
</FilesMatch>
|
||||
|
||||
# Deny direct access to db/ and archive/ directories
|
||||
# Deny direct access to storage and internal PHP libraries
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
RewriteRule ^db/ - [F,L]
|
||||
RewriteRule ^archive/ - [F,L]
|
||||
RewriteRule ^lib/ - [F,L]
|
||||
</IfModule>
|
||||
|
||||
# PHP settings (if allowed by host)
|
||||
|
||||
Reference in New Issue
Block a user