unias / docklet

OS for Virtual Private Cloud
https://unias.github.io/docklet/
BSD 3-Clause "New" or "Revised" License
240 stars 46 forks source link

Web Security Upgrade #364

Closed FirmlyReality closed 5 years ago

FirmlyReality commented 5 years ago

1.Let web server not run on debug mode. 2.Update nginx_docklet.conf to forbid double slashes url. 3.Add header into nginx to defend clickjacking. 4.Add CsrfProtect. 5.Forbid methods except for GET and POST in nginx. 6.Add LoginFailMsg into model & Ban user if he input wrong password for many times.