|
CSE Home |
About Us |
Search |
Contact Info |
|
October 24, 1999SummaryThe lab is changing some details of how you obtain the CSENetID "web login" cookie that allows you to access certain web resources. This document describes how and why without apology for giving deep technical details. CSE uses a proprietary and relatively new authentication mechanism to control access to certain mildly-sensitive web content. It implements a "web login" that we call "CSENetID." Key characteristics include
The current scheme involves visiting a cookie-generating CGI script on a secure (SSL) server that is protected by mod_auth_kerb authentication directives. Because we lack kerberized browsers, mod_auth_kerb is used in "basic auth" mode: a basic auth challenge is sent to the browser, which causes the browser to pop up a dialog box for the password and username. The browser retries the request, supplying the user credentials this time, and, if mod_auth_kerb validates them, access to the CGI is allowed. Running the CGI returns a cookie. This scheme has the advantage that the CGI is simple to construct: all it needs to do is ask an external program for a signed "ticket," which it then returns to the user in a cookie response header. The disadvantages, in decreasing order of importance, are these:
A better solution- the one the lab has created a draft implementation of- is to build a standalone CGI that presents its own form for gathering user credentials. Such a CGI needs to link against both kerberos and the PGPTools libraries, which means that it pretty much needs to be implemented in C. It's much more complicated than the Perl CGI that does the web login now-- its chief disadvantage-- but it has these advantages, in decreasing order of importance:
There are some minor additional features of the new CGI:
The draft implementation is available as https://www4.cs.washington.edu/cgi-bin/wlogin.cgi. Scott Rose |
|
Computer Science & Engineering University of Washington Box 352350 Seattle, WA 98195-2350 (206) 543-1695 voice, (206) 543-2969 FAX [comments to webmaster@cs.washington.edu] | |