Telenet Cloud Online Help

Which .NET Framework Trust levels are allowed?

We support all .NET Framework trust levels:  from ’Minimal’ to ’Full’.

In the interest of maintaining security within our shared hosting environment and because Medium Trust is more limited than Full Trust, all web applications are assigned a customized Medium Trust policy by default.

Medium Trust can cause difficulties if you want to use new/modern web technologies, such as MVC, AJAXControlToolkit or CMS packages NopCommerce, Umbraco, etc.
You can therefore override the trust level and decide for yourself which policy should be assigned to your web application.

Because this is a shared environment, some access rights are still limited even when you choose Full Trust.

Full Trust

  • No access to Event Logs.
  • No access to Service Manager.
  • No access to Scheduled Tasks.
  • No access to Performance Counters.
  • No access to WMI providers.
  • No access to other parts of the hard drive (only access to your personal web directory).

 

Custom Trust

The ’Custom Trust’ security level places a number of restrictions on an ASP.NET web application:

  • OleDbPermission = unlimited.

          This means you can use the ASP.NET ’ADO.NET managed OLE DB data provider’ web application to access MS Access databases. It is also possible to use the ’managed SQL Server provider’ to access SQL Server databases.

  • EventLogPermission = not available.

          This means that the ASP.NET web application does not have access to the Windows Event Log on the web server.

  • ReflectionPermission = not available.

          This means that the ASP.NET web application cannot use reflection.

  • RegistryPermission = not available.

          This means that the ASP.NET web application cannot access the Windows Registry on the web server.

  • WebPermission = unlimited.

          This means that the ASP.NET web application can communicate with other HTTP addresses, to call an external ASP.NET web service for example.

  • FileIOPermission = is limited.

          This means that the ASP.NET web application can only access files within the website’s virtual directories.

  • SocketPermission = unlimited.

     This is used to communicate with the MySQL Connector.


How to set the .NET Framework Trust level yourself

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
What is ASP/ASP.NET?
Viewed 2108 times since Thu, Nov 27, 2008
How to set the .NET Framework Trust level yourself
Viewed 379 times since Mon, Sep 12, 2016
Which Connection String can I use for MSSQL on IIS8 (hostedwebfarm) ?
Viewed 674 times since Tue, Dec 3, 2013
How do I recognize ASP/ASP.NET pages?
Viewed 1508 times since Tue, Nov 18, 2008
Which versions of the .NET framework are supported?
Viewed 2441 times since Tue, Sep 21, 2010
What is ASP.NET 4.0?
Viewed 2388 times since Tue, Nov 18, 2008
Which non-standard ASP components have been installed on the Hostbasket Shared ASP.Net Servers?
Viewed 2497 times since Mon, Nov 9, 2009
Hoe dotnetnuke 7.1 installeren op IIS 7.5 webhosting ?
Viewed 638 times since Tue, Oct 8, 2013
Why is "parent path" not allowed on IIS7? Why do I get an error with disallowed parent path?
Viewed 7174 times since Thu, Jun 16, 2011