XmlReader::newFile Method
Syntax
client server public static XmlReader newFile(
str filename,
[XmlReaderSettings settings,
XmlParserContext context])
Run On
Called
Parameters
- filename
Type: str
- settings
Type: XmlReaderSettings Class
- context
Type: XmlParserContext Class
Remarks
If an attacker can control input to the XmlReader::newFile method, a security risk exists. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the InteropPermission class. Make sure that the user has development privileges by setting the security key to SysDevelopment on the control that calls this method.