Alexandre Kremer

Add Authentication to HTTP Server

Discussion created by Alexandre Kremer on Feb 9, 2007
Latest reply on Feb 10, 2007 by Mark Butcher
 Hi mates
 Has anyone of you already tried to add a simple digest authentication to the http server?
 I´m tryind to do it but seems like the userpass.c file provided by interniche only gives us simple functions that insert user/password combos on a list and check it returning false or true.
 But how to tell to server that, before it serves it´s page, it must send a digest authentication screen requesting user and password, so after the user has informed it on the digest screen, the server could then call the check_permit function provided in userpass.c.
 Any sample code, rule or advice is welcome.
 Thank you and best regards