rboulton / libmicrohttpd

Mirror from SVN of GNU libmicrohttpd
http://www.gnu.org/software/libmicrohttpd/
Other
65 stars 27 forks source link

Add ha1 based digest auth. Allows the admin to save passwords in digest ... #1

Open ambitslix opened 10 years ago

ambitslix commented 10 years ago

Hello,

I think digest based api should be helpful since token digests are more secure to store. This is how it's done for Apache and Nginx also. I've also created a tool to ask for passwords and save them in a file as "realm:user:token" entries that can later be loaded at startup time. It would be nice to have a connection_context available in the api so that we don't have to search a database for tokens every time authentication is needed on the same connection/request?