1
0
Fork 0
mirror of https://github.com/fernwerker/ownDynDNS.git synced 2025-07-09 21:55:13 +02:00

Merge pull request #18 from mhellmeier/patch-1

Restrict access to log file

adding .htaccess to restrict access to .env and .json files within directory.
This commit is contained in:
Felix Kretschmer 2021-08-24 19:47:55 +02:00 committed by GitHub
commit 42246147c4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +0,0 @@
<Files .env>
Order allow,deny
Deny from all
</Files>

4
.htaccess.example Normal file
View file

@ -0,0 +1,4 @@
<FilesMatch "\.(env|json)$">
Order allow,deny
Deny from all
</FilesMatch>