Simplest wsgi middleware to control access with a form/cookie


/ Published in: Python
Save to your folder(s)

Not very secure, but very handy ...
Use like that :

app = your_wsgi_app()
app = ControlAccess( app, "your_password")
httpserve( app ) # wsgi server

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.