How to define .NET trust levels in Plesk?

Refers to:

  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Created:

2016-11-16 13:04:04 UTC

Modified:

2017-01-17 13:05:27 UTC

1

Was this article helpful?


Have more questions?

Submit a request

How to define .NET trust levels in Plesk?

Symptoms

How to define .NET trust levels in Plesk ?

Resolution

The default CAS level of ASP.NET is " Medium ". Administrators can change it in Tools & Settings > ASP.NET Settings > CAS trust level . Or through the command-line:

> "%plesk_bin%"\\aspnetcfg.exe --machine --trust-level=Medium

Available trust levels are: Minimal , Low , Medium , High , Full .

Customers can change it for each site in case the " Allow to override the CAS trust level for websites " option is switched on by the administrator in Tools & Settings > ASP.NET Settings .

Administrator can change it for each domain through the command-line:

> "%plesk_bin%"\\aspnetcfg.exe --machine --trust-level-allow-override=true
> "%plesk_bin%"\\aspnetcfg.exe --domain-name=domain.tld --trust-level=Minimal
Have more questions? Submit a request
Please sign in to leave a comment.