[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Re: Cookies at XML Europe 2004 -- Call for Particip ation


harold yahoo.com
> Possibly you read a message I missed or interpreted it differently. 
> Could you please provide the URL to and quote from the specific message 
> which demonstrates that good security practices conflict with REST?

All the state must be in the client:
   http://groups.yahoo.com/group/rest-discuss/message/3594 (Baker)
   http://groups.yahoo.com/group/rest-discuss/message/3583 (Fielding)

The server cannot trust the client to not modify the session state, and 
it may have privacy concerns about exposing the entire state to the 
client in the first place.  Therefore the server must encrypt the entire 
session state (if it even has it all) and encrypt it.  It then gives 
this to the client so that the client can present it back on future 
requests.  (Let's ignore if that's done via Cookies or via querystring 
parameters in a URL.)  In order to do this, we must use public-key 
encryption.  For security (and REST state:) reasons, we cannot use a 
faster symmetric algorithm like 3DES or AES.  We could use https to 
protect the content, but then we're back to shared state (the SSL 
context, but maybe REST doesn't care since that's just a transport issue).

Therefore, the server has to do a public-key decryption on every single 
incoming request in order to authenticate the client.  That is not 
scalable.  It makes the server completely susceptible to trivial DoS 
attacks, for example.

Does this make sense?  Does it seem wrong?
	/r$

-- 
Rich Salz, Chief Security Architect
DataPower Technology                           http://www.datapower.com
XS40 XML Security Gateway   http://www.datapower.com/products/xs40.html
XML Security Overview  http://www.datapower.com/xmldev/xmlsecurity.html


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.