Review of Existing Web Authentication Mechanisms

Robert Sayre, rsayre@mozilla.com

Slides: http://people.mozilla.com/~sayrer/2007/auth.html

Fact Finding Mission

In Bounds:

Out Of Bounds:

What Is It For?

Web authentication usually establishes that a client knows a shared-secret (password). But why?

Many deployments have requirements from each of these areas. They sometimes conflict.

Forms and Cookies

You can solve any problem...

...for better or worse.

Forms and Cookies: Succeeding Where Other Schemes Fail

Why?

Forms and Cookies: Failing Where Other Schemes Succeed

RFC 2617: HTTP Access Authentication

Basic Authentication

Digest Authentication

Client transmits the results of hashing user credentials with properties of the request and values from the server challenge.

Some properties that are preferable to Basic and Cookies.

Digest Benefits

Digest Drawbacks

Other Challenge/Response Mechanisms

Microsoft NTLM: connection bound

Amazon AWS: digest variant combined with tickets...

Sophisticated Forms and Cookies

All have desirable security properties, but users can't tell when they are using them.

Good Enough For Me!?