It's good to see the industry finally considering the security implications of some of the emerging "Web 2.0" technology like AJAX.
JavaScript Security Vulnerabilities: Weakness in Web 2.0
A glaring spotlight is now focused on vulnerabilities inherent in a key enabler of the new breed of dynamic Web pages.
Demonstrations at last week's annual Black Hat conference employed Web-page-embedded JavaScript to attack corporate servers.
To me, the above article reminds me that any time you get past the simplified proof-of-concept technology demos, you very quickly start to hit the point where your communications infrastrucuture needs to provide "enterprise-grade" quality-of-service capabilities such as message security and reliability. In my experience, by far the easiest way to provide those communication QoS capabilities is by using a protocol architecture and tooling that was designed from the start with that incremental composition in mind.
The cost of incrementally adding (say) message -level encryption using WS-Security to an existing SOAP Web Service is negligably small (roughly one extra line of code or XML element block in your config file with Windows Communication Foundation). Compare that to the cost to add message-level encryption to a REST/POX/AJAX communications infrastructure, and I suspect that there are several order-of-magnitude differences in the effort required.
Then consider adding end-to-end message reliability as well as security, and I think your mind may well explode without a composable protocol architecture like WS-*.
As Tim Ewald has said in the past, you're best to pay the "SOAP tax" up front. Then reap the substantial composition / expansion benefits earlier as your communications requirements mature and progress.
While I recognise that there are some very valid applications which can be written using REST / POX / AJAX, I guess my "not enterprisy enough" speculation above is why Stefan Tilkov has me firmly in the WS-* Supporters camp.
And, as if to underscore why I don't see the REST / POX / AJAX "religion" achieving too much traction among enterprises, try explaining the phrase "The Web is All About Relinquishing Control" to any corporate security manager!
Copyright © 2002-2008 Jorgen Thelin.
All rights reserved.
This weblog is licensed under a
Creative Commons License.