Declaration

Contents
[ ]

Internet Service Providers, which host multiple applications from different companies, mostly enforce the Medium Trust security level. In a .NET 2.0 case, such a security level applies these 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 the range of addresses that you defined in the element.
  • FileIOPermission is restricted. This means you can only access files in your application’s virtual directory hierarchy.