What trust level can I use when running ASP.NET?
The trust level available to your ASP.NET applications depends on the type of hosting you use (more info).
Click one of the following, based on the type of hosting you have. You can tell this by the second word in your hosting's description beneath your hosting account's domain name, e.g. Deluxe Web correlates to Web/Classic (Hosting Control Panel).
The default trust level on your account depends on the version of ASP.NET you are currently using:
- ASP.NET 1.1
- If you are using ASP.NET 1.1 on your Windows shared hosting account, you have 'full trust' on the server.
- ASP.NET 2.0/3.0/3.5
- If you're using .NET runtime environment 2.0, you have 'medium trust' on the server.
- ASP.NET 4.0/4.5
- If you're using .NET runtime environment 4.0, you have 'web full trust' on the server.
Note: When using ASP.NET 4.0/4.5 you must declare Full Trust in your Web.Config. You can add the following snippet of code to your Web.Config:
<configuration> <system.web> <trust level="Full" /> </system.web> </configuration>
Our Plesk shared hosting accounts default to 'medium trust.' However, you can change your trust settings on the ASP.NET settings in Plesk.
To Change Your Trust Level
- Log in to your GoDaddy account.
- Click Web Hosting.
- Next to the hosting account you want to use, click Manage.
- At the bottom of the section of the domain hosting you want to use, click Show More.
- Click ASP.NET Settings.
- From the CAS trust level menu, select the settings you want, and then click OK.