Showing posts with label REST. Show all posts
Showing posts with label REST. Show all posts

Saturday, March 22, 2008

REST and standards

I really liked a comment left by an anonymous writer for my "Save REST" post. I think it is worth to mention it again in this post.


True. But can we please get an industry accepted de facto technique for securing REST based services?

It seems that most REST services either rely on the non-RESTful cookie/session based approach with a login URL to establish the session, or they implement a custom technique using the Authorization header.

The Authorization header is clearly the right approach, but we need a de facto standard technique for using it. Something along the lines of Amazon's S3 approach would probably be ideal.
I am not sure having a committee and coming up with a standard is a good idea. For example, take W3C standards for HTML. It did not do anything good. We still have to tweak our CSS for web pages to work across multiple browsers. Another example, our dear WS-DEATH * standards.

I think instead of having a committee for coming up with a standard, we should all start working on different implementation of REST authentication. I think a simple solution will prevail and all the other solutions will fail. Once the simple solution is used by many people , than it will automatically becomes a standard.

Am I dreaming? Let me know what you all think?