Unverified Commit af172b79 authored by seospace's avatar seospace Committed by GitHub

Confusing...

parent 0fed62fc
...@@ -80,6 +80,9 @@ are a few different ways of approaching this. ...@@ -80,6 +80,9 @@ are a few different ways of approaching this.
HTTP Basic Auth HTTP Basic Auth
--------------- ---------------
Unfortunately, there is no easy way of applying HTTP Basic Auth just to your admin
interface.
The simplest form of authentication is HTTP Basic Auth. It doesn't interfere The simplest form of authentication is HTTP Basic Auth. It doesn't interfere
with your database models, and it doesn't require you to write any new view logic or with your database models, and it doesn't require you to write any new view logic or
template code. So it's great for when you're deploying something that's still template code. So it's great for when you're deploying something that's still
...@@ -88,9 +91,6 @@ under development, before you want the whole world to see it. ...@@ -88,9 +91,6 @@ under development, before you want the whole world to see it.
Have a look at `Flask-BasicAuth <https://flask-basicauth.readthedocs.io/>`_ to see just how Have a look at `Flask-BasicAuth <https://flask-basicauth.readthedocs.io/>`_ to see just how
easy it is to put your whole application behind HTTP Basic Auth. easy it is to put your whole application behind HTTP Basic Auth.
Unfortunately, there is no easy way of applying HTTP Basic Auth just to your admin
interface.
Rolling Your Own Rolling Your Own
---------------- ----------------
For a more flexible solution, Flask-Admin lets you define access control rules For a more flexible solution, Flask-Admin lets you define access control rules
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment