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

FIx Sercurity bug #361

Closed FirmlyReality closed 5 years ago

FirmlyReality commented 5 years ago

1.update nginx_docklet.conf to forbid double slashes url. 2.add header into nginx to defend clickjacking. 3.Add CsrfProtect. 4.Forbid methods except for GET and POST in nginx. 5.change srcurl from http to :// 6.Add Message in login page when fail to login. 7.Add LoginFailMsg into model & Ban user if he input wrong password for many times.