OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: s/key authentication for Apache on FreeBSD?

brucenikkel.com
Date: Thu Dec 11 2003 - 04:15:51 CST


On Wed, Dec 10, 2003 at 05:47:00PM -0700, Brett Glass wrote:

> >The problem with using s/key (or opie) together with http basic auth is
> >the repetive nature of http requests. The webserver would expect see
> >the basic authentication string with every single request. You would be
> >promtped for your next onetime password for every single gif or link on
> >the page requested. I don't know how practical that would be.
>
> If this is true, then I'd have to write a Perl authentication module
> that called s/key once and authorized an IP until the user clicked
> a "logout" button or a certain amount of time elapsed. So, I'd be
> using mod_perl *and* PAM. A bit more complex, but I can do it if I must.
> Are you sure that Apache will try to authorize again on every hit?

If the basic auth string was not included in an http request, the
webserver would generate a error 401 (Unauthorized). Check out RFC 2617
(HTTP Authentication: Basic and Digest Access Authentication).

Bruce Nikkel

--
_______________________________________________
freebsd-securityfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribefreebsd.org"