Declaration

Contents
[ ]

Internet Service Providers hosting multiple applications from different companies mostly enforce Medium Trust security level. In case of .NET 2.0, such security level applies the following constraints:

  • OleDbPermission is not available. This means you cannot use the ADO.NET managed OLE DB data provider to access databases.
  • EventLogPermission is not available. This means you cannot access the Windows event log.
  • ReflectionPermission is not available. This means you cannot use reflection.
  • RegistryPermission is not available. This means you cannot access the registry.
  • WebPermission is restricted. This means your application can only communicate with an address or range of addresses that you define in the element.
  • FileIOPermission is restricted. This means you can only access files in your application’s virtual directory hierarchy.