il n'y a pas eu de leak de mot de passe ici ;)

This commit is contained in:
2019-01-28 16:25:30 +01:00
parent e2f71dd59b
commit 7a8dcd2da1
30 changed files with 254 additions and 285 deletions

18
project/.htaccess Normal file → Executable file
View File

@ -36,20 +36,26 @@ Options All -Indexes
# lorsque qu'une url va correspondre a un fichier finissant par .php ou .html on interdit l'acces (retourne une erreur 403 (ensuite geré par notre ligne plus haut))
<FilesMatch ".*\.(php|html)$">
Order Allow,Deny
Deny from all
# Order Allow,Deny
# Deny from all
Require all denied
</FilesMatch>
# on donne l'autorisation d'acceder au fichier handler.php (sinon le site ne sera pas foncitonnel)
<FilesMatch "handler.php">
Order Allow,Deny
Allow from all
# Order Allow,Deny
# Allow from all
Require all granted
</FilesMatch>
# on donne acces au fichiers webmanifest et svg
<FilesMatch ".*\.(webmanifest|svg)$">
Order Allow,Deny
Allow from all
# Order Allow,Deny
# Allow from all
Require all granted
</FilesMatch>
# si le serveur apache a le module mod_deflate.c