What Is Medium trust level and how does it affect my hosting account?
Trust level refers to permissions set in the Web.config file that dictate what operations can and cannot be performed by Web applications. Our ASP.NET 3.5 and 4.0 shared hosting servers use the default Medium trust level with the addition of OleDbPermission, OdbcPermission, and a less-restrictive WebPermission.
Applications operating under a Medium trust level have no registry access, no access to the Windows event log, and cannot use ReflectionPermission (but can use Reflection). Such applications can communicate only with a defined range of network addresses and file system access is limited to the application's virtual directory hierarchy.
Using a Medium trust level prevents applications from accessing shared system resources and eliminates the potential for application interference. Adding OleDbPermission and OdbcPermission allows applications to use those data providers to access databases. WebPermission is modified to allow outbound http and https traffic.
What server objects are supported on Windows shared hosting servers?
What ASP.NET runtime version should I choose?
Creating an ASP.NET 2.0 Personal Web Site
What is ASP.NET AJAX?
Is Parent Path Enabled on Shared ASP Hosting?
Will My ASP.NET 1.1 Value Applications Function if I Enable the ASP.NET 2.0 Runtime?
Have a question about the content of this article?
Sending Message...
3 min expected wait time