schenkd / nginx-ui

Nginx UI allows you to access and modify the nginx configurations files without cli.
MIT License
4.4k stars 272 forks source link

flask auth? #30

Closed foozzi closed 1 year ago

foozzi commented 4 years ago

Do I need to implement authorization based on flask? This will protect inexperienced users from unauthorized access by default.

foozzi commented 4 years ago

i'm found pretty look http auth for flask https://github.com/miguelgrinberg/Flask-HTTPAuth

LucaNerlich commented 4 years ago

You can use / built whatever auth you like. For Basic Auth, checkout the readme

foozzi commented 4 years ago

ok, but I meant to implement this by default for ease of use "out of the box"

LucaNerlich commented 4 years ago

This is already in the projects todo / inprogress board: https://github.com/schenkd/nginx-ui/projects/1#card-40880188