I\'ve been toying around with a simple application idea the last couple of days as I\'m trying to teach myself the basic of REST authentication.
So far I\'ve gathered th
I think you need to provide more details about your application and how it will be used. There are many ways you can do REST authentication. Some of them are standard, some not. These are just some examples:
In case of Amazon S3, they give you "AWS secret access key" when you register. Later your application code needs to know secret key to be able to compute signatures (or it needs to know signed request/url) So ultimately "secret access key" is transmitted over the wire at least once initially during registration.
If you use public key cryptography (like client SSL certificates) - you can avoid transmitting private key altogether
If your goal is to just authenticate AJAX requests made to your site after user has authenticated on login page - you can simply use server signed cookies.