|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: security & document() ?
On the suggestion of a user, the XSLT processor jd.xslt [1] contains the
concept of a XsltSecurityManager, which is a Java-sandbox like mechanism to
restrict sensitive operations, namely to create additional output files via
xsl:document and execute scripts. ('ll add a restriction on calls to
document() too, since you showed that there is a potential security risk
with it).
That mechanism allows to run untrusted stylesheets in a safe manner without the need to patch the processor or analyze the stylesheet if it contains potential security holes. Maybe that would be worth to be included in a standardized API like TrAX. regards, Johannes Döbler [1] http://www.aztecrider.com/xslt/ > I don't get it. I hear there are security issues with the document() > function, but I don't see how that could be possible. Since > document() only > reads an XML file for further processing, how can this be any > worse than > using wget to download a file? I must be missing something... XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








