[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Saxon for windows?
> > More than inefficient, it would be dangerous to run an XSLT > processor as > part of a *generally available* web service (I can only smile > envisioning > the kinds of creative DOS attacks that would be possible). > > Please explain how that would happen when the input is being > validated? Many people overlook the issue of extension functions. At one stage the W3C was running an XSLT transformation service on its web site where you could submit an arbitrary XSLT stylesheet and source document to be transformed. It was easy to establish (using system-property) that it was running xt, and was then easy to write a stylesheet that gave me a complete directory listing of the W3C web site by calling methods in the standard Java library. I could then have gone on to modify any file that the servlet code had access to. Saxon, and I imagine other good XSLT processors, has an option to disable extension functions so that it's safe to run untrusted stylesheet code. However, I think many people overlook this potential security weakness. And of course, there are cases where you need extension functions, which means you have to make sure the stylesheet code is trusted. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|