Search the web
Sign In
New User? Sign Up
rest-discuss · REST Discussion Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
RESTful authorization   Message List  
Reply | Forward Message #5228 of 14031 |
Hi,

Forgive me is this is a standard newbie question...

I'm developing a firefox extension that talks with a server via a
RESTful API. Most REST discussions recommend using HTTP Auth (RFC
2617), but this solution isn't ideal because browsers keep the
authorization creditials until the browser is closed. This rules out
having multiple users on the same machine.

Is there a workaround to this?

Or, how terrible is it if I pass the username and password as part of
the URI? Everything is going over SSL, so it's not a security concern.

Thanks,
-stan









Thu Sep 22, 2005 7:59 pm

wanderingstan
Offline Offline
Send Email Send Email

Forward
Message #5228 of 14031 |
Expand Messages Author Sort by Date

Hi, Forgive me is this is a standard newbie question... I'm developing a firefox extension that talks with a server via a RESTful API. Most REST discussions...
wanderingstan
Offline Send Email
Sep 22, 2005
9:48 pm

... Stan, *maybe* I stumbled across something a few days ago: http:// www.jalgermissen.com/blog/xmlhttp_and_auth.html I have not had the time to check this...
Jan Algermissen
algermissen1971
Offline Send Email
Sep 22, 2005
9:54 pm

... I think you can reset the credentials by sending a request which causes the server to stop accepting the current credentials. That's just an idea, though...
Lucas Gonze
lucas_gonze
Offline Send Email
Sep 22, 2005
10:02 pm

Hi Stan, Lucas, ... It's important to understand why this is terrible, because there's a very elegant solution hidden underneath the terrible. Including the...
Tyler Close
tjclose
Offline Send Email
Sep 23, 2005
3:05 pm

... You have to prompt the user again, for example you have an logout URI, with the same realm (browsers cache user/pass associated with the realm) and there...
Laurian Gridinoc
lauriangridinoc
Offline Send Email
Sep 28, 2005
8:12 am

... Unfortunately, human nature will likely kill your idea as it has in almost all applications for years now. Users have trouble remembering a single ...
Andrzej Jan Taramina
ataramina
Offline Send Email
Sep 24, 2005
2:27 pm

Hi Andrzej, ... (snip) ... Fortunately, they don't need to. Each resource password is embedded in the corresponding URL. The user just clicks on hyperlinks,...
Tyler Close
tjclose
Offline Send Email
Sep 24, 2005
3:36 pm

Tyler, Could you please explain how embedded hyperlinks work in Yurl or web-calculus? Take the case where I give you the Yurl for a Web resource where the ...
Bob Haugen
bob.haugen@...
Send Email
Sep 24, 2005
4:42 pm

Hi Bob, ... When using capability URLs, such as in the web-calculus, your hypermedia web embodies not only your application state, but also your access policy....
Tyler Close
tjclose
Offline Send Email
Sep 26, 2005
6:00 pm

Tyler, tell me if I understand correctly. Seems like this is a security by obscurity approach? I would not ordinarily be able to guess the embedded url ...
Hugh Winkler
hwinkler99
Online Now Send Email
Sep 26, 2005
7:57 pm

... Ok, so I might have a logical "resource" that knows about lots of other logical "resources", but my YURL design might need to have many capability-based...
Bob Haugen
bob.haugen@...
Send Email
Sep 27, 2005
3:48 pm

Hi Hugh, ... You correctly understand the mechanism, but label it incorrectly with "security by obscurity". The embedded URL ...
Tyler Close
tjclose
Offline Send Email
Sep 26, 2005
8:46 pm

... At the beginning of this conversation I couldn't have agreed less, but this explanation makes perfect sense to me. I am converted....
Lucas Gonze
lucas_gonze
Offline Send Email
Sep 26, 2005
9:06 pm

... [hvw] Just seems to me a lot of resource owners might want to retain the authority over who gets access to the resource. They might want me to use the...
Hugh Winkler
hwinkler99
Online Now Send Email
Sep 26, 2005
9:24 pm

On Mon, 26 Sep 2005 14:57:39 -0500, "Hugh Winkler" <hughw@...> ... This is by design. You can grant a capability to somebody by copying it. This is close...
Vincent D Murphy
johnfoobar1
Offline Send Email
Sep 26, 2005
9:16 pm

... [hvw] Seems like a better analogy is you leave a key in the door of the house, then you tell me where the house is....
Hugh Winkler
hwinkler99
Online Now Send Email
Sep 26, 2005
9:30 pm

Hi Vincent, ... That's a good analogy. Tyler -- The web-calculus is the union of REST and capability-based security: http://www.waterken.com/dev/Web/ Name your...
Tyler Close
tjclose
Offline Send Email
Sep 26, 2005
9:39 pm

... It's up to resource owners to choose recipients of this capability wisely. It's not good that it is so easy for them to choose unwisely, but that's an...
Lucas Gonze
lucas_gonze
Offline Send Email
Sep 26, 2005
9:35 pm

Hi Hugh, ... No, the location of the house is a guessable secret. Anyone wandering down the road will come across it. The specific construction of a particular...
Tyler Close
tjclose
Offline Send Email
Sep 26, 2005
9:44 pm

Hi Hugh, ... I could very well log all accesses to the capability URL that I give you and send you a nasty letter if I decide abusive requests have been made...
Tyler Close
tjclose
Offline Send Email
Sep 26, 2005
9:51 pm

p2p-hackers, meet rest-discuss. rest-discuss, I'd like to introduce you to p2p-hackers. RESTafarians: there is a long-running conversation on p2p-hackers...
Lucas Gonze
lucas_gonze
Offline Send Email
Sep 26, 2005
10:46 pm

... [hvw] I would have to have malicious intent, if I were to send along my password to someone. Whereas lots of security compromises could be accidental. I...
Hugh Winkler
hwinkler99
Online Now Send Email
Sep 26, 2005
11:16 pm

... You are not a good bet for such a scheme, then. That issue will resolve itself as part of the normal flow of capabilities. For example, the same problem...
Lucas Gonze
lucas_gonze
Offline Send Email
Sep 26, 2005
11:31 pm

Hi Hugh, ... Not necessarily... ... That email might also contain your username/password. After all, the password must be sent to you some way. For example, if...
Tyler Close
tjclose
Offline Send Email
Sep 27, 2005
12:48 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help