Article ID: 831687 - Last Review: May 10, 2007 - Revision: 1.13 Description of the Type Filtering feature in the Microsoft .NET FrameworkOn This PageSUMMARYIn the Microsoft .NET Framework 1.1, the Type Filtering
feature is included with the .NET Framework Remoting infrastructure. By default, Type Filtering is enabled. Type Filtering limits the type of
objects that a .NET Framework Remoting client can marshal to a .NET Framework Remoting server. Type Filtering prevents the server from deserializing instances of
common language runtime types that may serve as vectors of
attack. There are two levels of Type Filtering, as follows:
MORE INFORMATIONAny .NET Framework Remoting system that depends on run-time validation
must deserialize a remote stream to start using the stream. This dependency on run-time validation may be exploited
by malicious clients during serialization or during deserialization. The .NET
Framework 1.1 includes a new, constrained .NET Framework Remoting model. In the .NET Framework 1.1, the most
secure level of deserialization is set as the default level. However, you can still use a less
secure level in the .NET Framework 1.1. The difference in the .NET Framework Remoting security levels may break existing implementations of the .NET Framework Remoting models because the default behavior
in the .NET Framework 1.1 is different from the default behavior in the .NET Framework 1.0. Side effects of the Type Filtering featureThe following table describes several of the side effects that may occur if the typeFilterLevel property of the Type Filtering feature is set to the Low level:Collapse this table
REFERENCESThe .NET Framework Remoting deserializationFor additional information about automatic deserialization in .NET Remoting (.NET Framework Developer's Guide), visit the following Microsoft Developer Network (MSDN) Web site:http://msdn2.microsoft.com/en-us/library/5dxse167(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/5dxse167(vs.71).aspx)
The typeFilterLevel propertyFor additional information about the BinaryServerFormatterSink.TypeFilterLevel property, visit the following MSDN Web site:http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.binaryserverformattersink.typefilterlevel(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.binaryserverformattersink.typefilterlevel(vs.71).aspx)
For additional information about the BinaryServerFormatterSinkProvider.TypeFilterLevel property, visit the following MSDN Web site: http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.binaryserverformattersinkprovider.typefilterlevel(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.binaryserverformattersinkprovider.typefilterlevel(vs.71).aspx)
For additional information about the SoapServerFormatterSink.TypeFilterLevel property, visit the following MSDN Web site: http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.soapserverformattersink.typefilterlevel(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.soapserverformattersink.typefilterlevel(vs.71).aspx)
For additional information about the SoapServerFormatterSinkProvider.TypeFilterLevel property, visit the following MSDN Web site: http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.soapserverformattersinkprovider.typefilterlevel(vs.71).aspx
(http://msdn2.microsoft.com/en-us/library/system.runtime.remoting.channels.soapserverformattersinkprovider.typefilterlevel(vs.71).aspx)
APPLIES TO
| Article Translations
|
Back to the top
