implement non-cookie based identity

Status
Not open for further replies.

drogin

Ars Tribunus Angusticlavius
8,284
Subscriptor++
Odd. Saw the same exact text in a tweet from Jeff Atwood (@codinghorror) this morning...

I'm not sure if this kind of thing would exist on a big site or otherwise. Seems like it would be pretty hard to pull off. You'd have to pass around state on the query string, and that state would probably have to change for every request (some kind of auth token).

Seems like it would be pretty susceptible to a man-in-the-middle attack, but I guess ultimately no more than cookies would be.
 

technophile

Ars Legatus Legionis
23,768
I'm not sure there's a point to non-cookie auth schemes anymore. Everything supports cookies these days, and I don't think anyone actually turns them off anymore.

You'd have to have a lot of discipline when writing such a site since you have to ensure that every single URL that gets sent to the user has the auth ticket injected; not impossible, but when you consider the amount of javascript that is used on most modern sites, definitely nontrivial.
 

rain shadow

Ars Tribunus Angusticlavius
6,684
Subscriptor++
there has been some effort in the area of identifying users by their http header fingerprint, the pattern in which images are downloaded, embedded cookies in flash or other plug-ins, and perhaps a few other techniques.

but that isn't an active choice by the webmaster to avoid cookies; rather, it is to enable ad-tracking of people who have chosen to avoid cookies individually.
 

clm100

Ars Legatus Legionis
13,874
Subscriptor
I've worked on a site that did it with a unique ID for each session in the URL. http://foo.bar/something/Hrg2Hp5xrLgWN

This worked well, since each interaction followed a pretty well defined path. Nobody could/should ever get to an internal page without arriving via specific landing pages which would add the session ID. The session was then retrieved server side.

This worked well for our purposes, given needs for obscurity from the user, preventing reuse of sessions, and very definite and limited paths through the web app.

EDIT: Once you were on a page it tended to be mostly AJAX, too.
 

ssadoglu

Wise, Aged Ars Veteran
119
clm100":210sp5jx said:
I've worked on a site that did it with a unique ID for each session in the URL. http://foo.bar/something/Hrg2Hp5xrLgWN

This worked well, since each interaction followed a pretty well defined path. Nobody could/should ever get to an internal page without arriving via specific landing pages which would add the session ID. The session was then retrieved server side.

This worked well for our purposes, given needs for obscurity from the user, preventing reuse of sessions, and very definite and limited paths through the web app.

EDIT: Once you were on a page it tended to be mostly AJAX, too.

First of all, thanks for your all your answer.
@clm100 - Can you give me a lot of technical details about your project?

thanks in advance.
 
Status
Not open for further replies.