6
What is the purpose of setting up Level Trust in an ASP.NET application?
It protects the server from something?
It protects the application from something?
In which case or for what reason it is recommended or necessary to change this setting?
6
What is the purpose of setting up Level Trust in an ASP.NET application?
It protects the server from something?
It protects the application from something?
In which case or for what reason it is recommended or necessary to change this setting?
6
What is the purpose of setting up Level Trust in an ASP.NET application?
You determine what the application can and cannot do. Some features can be a little dangerous, especially if it can be inadvertently invoked externally.
The less confidence you require from the application, the safer it will be (it doesn’t mean that this is the only thing that makes it safe). If it requires more than the server allows it will not run. If you host a shared server, you can only use what they allow.
It protects the server from something?
Yes, you can restrict what applications can do on your server.
It protects the application from something?
In a way yes, since if you define that the application will have a limited level that prevents it from being functionalities, the application will not work if one of them is run by accident.
In which case or for what reason it is recommended or necessary to change this setting?
In general it is very useful when the server is shared and you do not want to allow other users (developers) of it to do anything on the server.
Browser other questions tagged asp.net-mvc .net asp.net security-guard
You are not signed in. Login or sign up in order to post.
What a difficult word: inadvertently! I didn’t know
– user26552
Thanks a lot @bigown.
– Mauricio Ferraz