Skip to content
Browse files

edit

  • Loading branch information...
1 parent 83e9bb2 commit 9a64d8688441b8927a0b0c29bef857c932b64b1e @sunmountain sunmountain committed with anandology Nov 18, 2010
Showing with 7 additions and 1 deletion.
  1. +7 −1 cookbook/userauthbasic.md
View
8 cookbook/userauthbasic.md
@@ -8,9 +8,15 @@ title: Basic authentication
##Problem
This is a proof of concept implementation of doing basic authentication
with web.py.
+You may want to read [RFC 2617](http://www.ietf.org/rfc/rfc2617.txt) or
+[http://en.wikipedia.org/wiki/Basic_access_authentication](http://en.wikipedia.org/wiki/Basic_access_authentication) for reference.
##Solution
-See the code below.
+Create a python file containing the code below and start the script.
+When you enter the url [http://localhost:8080/](http://localhost:8080/) you will be redirected
+to the url [http://localhost:8080/login](http://localhost:8080/login).
+When you are successfully authenticated, you will be redirected to the
+index page.
##
import web

0 comments on commit 9a64d86

Please sign in to comment.
Something went wrong with that request. Please try again.