Knowledgebase
ASP.NET trust level
Posted by prashant1979, 12-20-2014, 08:52 AM | I want to set ASP.NET trust level to medium server-wide so that nobody can change it to Full trust from the plesk panel of his website. Is it possible? How to do so?
|
Posted by SAHostKing, 12-20-2014, 11:01 AM | If memory serves me correct you do so in the Windows System directory where the trust level files are and change the location override variable to false
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
|
Posted by AttackerNET, 12-20-2014, 08:22 PM | Plesk > Tools & Settings > ASP.NET Settings > Set "CAS trust level" to medium for each .NET version and uncheck "Allow changing the CAS trust level for individual websites" > Click on "OK" and you are done.
|
Posted by prashant1979, 12-21-2014, 11:57 PM | Thanks AttackerNet. It was really helpful.
|
Posted by prashant1979, 12-22-2014, 01:07 AM | Changing this caused Smartermail Web Server service to stop so I had to revert to Full trust. Any workaround?
|
Posted by jackpx, 12-22-2014, 12:33 PM | Open c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Config\web.config
Add
|
|
Add to Favourites
Print this Article |
Also Read
Nocster (Views: 672)