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
Which versions of the .NET framework are supported?
Viewed 2409 times since Tue, Sep 21, 2010
How do I send e-mail from my windows webhosting package using ASP.NET code?
Viewed 2499 times since Tue, Nov 3, 2009
How do I recognize ASP/ASP.NET pages?
Viewed 1476 times since Tue, Nov 18, 2008
Which Connection String can I use for MSSQL on IIS8 (hostedwebfarm) ?
Viewed 635 times since Tue, Dec 3, 2013
What is ASP/ASP.NET?
Viewed 2068 times since Thu, Nov 27, 2008
Hoe dotnetnuke 7.1 installeren op IIS 7.5 webhosting ?
Viewed 613 times since Tue, Oct 8, 2013
What technologies are supported by my IIS8 web hosting?
Viewed 591 times since Tue, Oct 8, 2013
How can I connect to my MS SQL 2012 database via SQL Management Studio?
Viewed 1325 times since Tue, Oct 8, 2013
How to set the .NET Framework Trust level yourself
Viewed 286 times since Mon, Sep 12, 2016