9 Commits

Author SHA1 Message Date
52aeedd31e
Set a cap to maximum delay in preventing brute force attacks
This is necessary because PHP-FPM fails if sleep / usleep runs beyond
the maximum execution time of php.ini, leading to whole vhosts falling
over.
2022-08-14 13:08:40 +02:00
7c02bbb8ad
Fix function comment for setting content-security-policies 2022-03-29 17:51:21 +02:00
8d7b270f6f
Allow setting worker-src in MD_STD_SEC 2022-03-24 23:25:05 +01:00
8f5174e90d
Move to rather locking down based on user accounts than on IP in
MD_STD_SEC, use class constants for more obvious code
2021-11-25 01:09:08 +01:00
a6ebab3e03
Remove superfluous parentheses 2021-09-17 15:52:37 +02:00
5e7313f166
Use MD_STD::json_encode over the generic json_encode 2021-07-20 18:25:34 +02:00
f030adba20
Set worker-src 'self' in MD_STD_SEC 2021-05-15 17:17:53 +02:00
919ffdb1b5
Use ++$i over $i++
This slightly improves performance.
2021-04-11 21:20:44 +02:00
2c1f6a0490
Move scripts to /src subdirectory 2021-03-09 20:09:11 +01:00