Add Basic Auth support
See original GitHub issueIt would be better to add basic auth support in the project. I checked the code and noticed that we are using SimpleHTTPServer
. Can we use Flask?
In config file, we could define as follows:
startWebServer = true
basicAuth = **true**
basicAuthUsername = **username**
basicAuthPassword = **base64 password** or **plain password**
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Basic Authentication - Swagger
Basic authentication is a simple authentication scheme built into the HTTP protocol. The client sends HTTP requests with the Authorization header that ...
Read more >Deprecation of Basic authentication in Exchange Online
This decision requires customers to move from apps that use basic authentication to apps that use Modern authentication. Modern authentication ( ...
Read more >HTTP authentication - MDN Web Docs - Mozilla
The "Basic" authentication scheme offers very poor security, but is widely supported and easy to set up. It is introduced in more detail ......
Read more >Restricting Access with HTTP Basic Authentication | NGINX Plus
You can restrict access to your website or some parts of it by implementing a username/password authentication. Usernames and passwords are taken from...
Read more >Adding basic HTTP auth to a WCF REST service
I would like to add WWW-Authenticate basic authentication support to my WCF service. My methods look like this: [WebInvoke(UriTemplate = "widgets", Method ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It can be done in pure python without extra libraries. BaseHTTPServer is part of the standard library.
Loading it will take an extra 2028 bytes (I just checked), so it’s really not an issue.
Agreed, you could run behind apache / nginx, but not everyone can do that for themselves.
How about refactoring the entire WebServer feature into a Plugin? 😃