[racket] Racket Web Server: using passwords and basic auth
Hi,
Take a look at
http://docs.racket-lang.org/web-server/http.html#(part._basic-auth)
for a basic example of using Basic Auth. If you don't want to define your
own password file format, then you can use the helpers in
http://docs.racket-lang.org/web-server-internal/dispatch-passwords.html
to use the one that the password dispatcher uses.
Jay
On Wed, Nov 23, 2011 at 9:01 AM, Данил Анненков <admin at ib-soft.ru> wrote:
> Hi!
> I'm just start using Racket Web Server for small application to parse,
> query and display logs via web interface.
> And I have some troubles with understanding such a thing: can I use
> password-authentication parameter then I starting my application with
> serve/servlet?
> I need basic authentication for my application. And I want to use
> passwords file to do it.
> Is it possible?
>
> --
> Annenkov Danil, IB Soft
>
>
>
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111123/de4cd4e1/attachment.html>