Add CSRF protection and rate limiting to contact form
Improve contact form styling with dedicated CSS file Move contact form styles from base.css to separate file Add security measures to custom directory with .htaccess Update honeypot field styling and implementation
This commit is contained in:
parent
c013c2cde3
commit
7e44e7e132
4 changed files with 126 additions and 92 deletions
10
custom/.htaccess
Normal file
10
custom/.htaccess
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# Deny access to all files in custom directory
|
||||
# Only allow access through PHP includes
|
||||
<Files "*">
|
||||
Require all denied
|
||||
</Files>
|
||||
|
||||
# Allow access to CSS and font files
|
||||
<FilesMatch "\.(css|woff|woff2|ttf|eot|svg)$">
|
||||
Require all granted
|
||||
</FilesMatch>
|
||||
Loading…
Add table
Add a link
Reference in a new issue