Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support protecting only certain pages using Basic HTTP Authentication #97

Open
marcoskirsch opened this issue Jul 2, 2017 · 1 comment

Comments

@marcoskirsch
Copy link
Owner

Right now it's all-or-nothing.
I would like to have the ability to only use HTTP Authentication on some pages but not others. I imagine this by having a regular expression that matches the pages to protect in httpserver-conf.lua.

@flip111
Copy link

flip111 commented Jul 15, 2017

A router would be a nice addition. It maps incomming url's to scripts instead of executing scripts directly. This way you can also control which middleware to run (such settings some hooks voor http basic auth).

that is also related to #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants