ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> xml-dev
xml-dev
Re: [xml-dev] What Does SOAP/WS Do that A REST System Can't?
by Rich Salz other posts by this author
Mar 31 2005 8:27AM messages near this date
Re: [xml-dev] What Does SOAP/WS Do that A REST System Can't? | Re: [xml-dev] What Does SOAP/WS Do that A REST System Can't?
& XSLT >  You have mentioned this before, but is there anything 
>  which stops you from using TLS/SSL on all the hops
>  *after* the firewall?

No, but you lose the ability to authenticate the original client with 
SSL client certs. It also requires the server to have complete trust in 
the operation and bug-free-ness of any intermediate SSL hops.  In 
essence, you have to trust the SSL intermediary as much as you trust the 
server itself.  But if you do that, then why is it in the DMZ? :)

>  That first GET is for the hypertext that contains the POE link, correct.

So the first part of using POE to make HTTP reliable is to double the 
number of HTTP interactions.  And then, of course, you have the issue of 
the unreliability of the initial GET.  I'm not saying that to be cute, 
but if the GET-POE-link fails, the server could possible have "stranded" 
URL's waiting for the client to GET the POST response.  (Er, that 
wording's a bit muddled, but I hope you see what I mean.)

>  What I don't understand is the underlying assumption that 
>  Basic and Digest are the end of the line for HTTP authentication.

Probably because there's been effectively no work done in the past 
decade.  The two mechanisms you mention -- WS-Security UserName profile, 
and Atom authentication -- are the same thing as Digest or BasicAuth in 
that they require a shared secret between the client and server.  (And 
is it really true that the second mechanism only exists because of a 
mis-feature in Apache CGI?)

User-chosen passwords are notoriously easy to guess.  The WS-Security 
UserName profile puts the password at the end of the digest, meaning an 
attacker can pre-compute the first part of the SHA based solely on the 
plaintext.  It's done that way on purpose, but understand the 
trade-offs.  It's also unfortunate that Atom WSSE didn't include any of 
the countermeasures described in the standard.  (See lines 132-154 of 
the standard.)

Like Digest and BasicAuth, the two you mentioned require both parties to 
use that shared secret on every interaction.  It's just like having to 
type your password into the shell after every command.

	/r$

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

-----------------------------------------------------------------
The xml-dev list is sponsored by XML.org <http://www.xml.org> , an
initiative of OASIS <http://www.oasis-open.org> 

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://www.oasis-open.org/mlmanage/index.php> 
Thread:
Claude L Bullard
Marc de Graauw
Joe Gregorio
Bill de hÓra
Michael Champion
Uche Ogbuji
Jan Algermissen
Uche Ogbuji
Rich Salz
Jan Algermissen
Rich Salz
Michael Champion
Bill de hÓra
Michael Champion
Uche Ogbuji
Bill de hÓra
Robert Koberg
Peter Hunsberger
Michael Champion
Leigh Dodds
Jan Algermissen
Leigh Dodds
Bill de hÓra
Michael Champion
Leigh Dodds
Michael Champion
Rick Marshall
Bill de hÓra
Robert Koberg
Rich Salz
Leigh Dodds
Rich Salz
Leigh Dodds
Rich Salz
Leigh Dodds
Andrzej Jan Taramina
Rich Salz
Bob Foster
Jan Algermissen
Mark Baker
Michael Champion
Michael Champion
Mark Baker
Mark Baker
Michael Champion
Bill de hÓra
Rich Salz
David Lyon
Rich Salz
Joe Gregorio
Rich Salz
Joe Gregorio
Saptagirisa N
Arvind Singh
Rich Salz
Joe Gregorio
Rich Salz
Joe Gregorio
Rich Salz
Dave Pawson
Mark Baker
Joe Gregorio
Mark Baker
Rich Salz
Michael Champion
Elliotte Rusty Harold
Joe Gregorio
Michael Champion
Jan Algermissen
Bill de hÓra
Joe Gregorio
Charles Woerner
Rich Salz

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved