Gets or sets a value indicating whether to allow DTD processing. This property is obsolete. Use XmlTextReader.DtdProcessing instead.
Documentation for this section has not yet been entered.
In the dnprdnext release, the recommended practice is to create System.Xml.XmlReader instances using the erload:System.Xml.XmlReader.Create method. This allows you to take full advantage of the new features introduced in this release. For more information, see Creating XML Readers.
DTD processing is enabled by default for backwards compatibility. However, unless your application requires DTD processing, you should disable this setting. Disabling DTD processing can be useful in preventing certain denial of service attacks. If set to true, the reader throws an System.Xml.XmlException when any DTD content is encountered.
If you have DTD processing enabled, you need to be aware of including DTDs from untrusted sources and possible denial of service attacks. Use the System.Xml.XmlSecureResolver to restrict the resources that the System.Xml.XmlTextReader can access. You can also design your application so that the XML processing is memory and time constrained. For example, configure time-out limits in your ASP.NET application
For more information, see Security and Your System.Xml Applications.