What Is ASP.NET Full Trust?

What Is ASP.NET Full Trust?

ASP.NET trust levels are defined by policy files as well as integrated with securityPolicy configuration element that is valid for application level, computer level and Web.config file. By default, the trust level file is installed in the folder including Aspnet_isapi.dll that is under the directory of Config. The trust levels consist of Full level, High level, Medium level, Low level and Minimal level. Here, we will focus on the ASP.NET Full trust level.

The Full trust level refers to have full trust in local computer so that the ASP.NET web hosts do not add any extra policies to the applications running in full trust level. Thus, to enjoy the full features of the applications that you need, you’d better choose a reliable web host offering Full trust ASP.NET web hosting service, which is a critical factor to consider.

In fact, you are allowed to modify the full trust level by establishing assembly identities list through the fullTrustAssemblies. You can pick out one or more assembly identities from FullTrustAssembliesSection where you can remove, clear, and add operations. And then, you can grant the selected options with full trust level. The ASP.NET full trust level configuration is not difficult to handle by following the example as below.

full trust level configuration