Reputation: 6228
What kind of malicious attack(s) is code access security supposed to protect an ASP.NET application from? Presuming a non-exotic scenerio, an ASP.NET app running on it's own box where you have full control over the application and server.
Upvotes: 0
Views: 133
Reputation: 20992
CAS on an ASP.NET server has two main uses:
If you are the author of the one and only application hosted on your own server, scenario #1 is probably not particularly interesting to you. However, the defense-in-depth aspects might be more compelling. For example, running under medium trust could help thwart an exploit that attempts to read or write to file system locations outside the target application's directory, and that should be interesting even if you're all alone on your own server.
Upvotes: 1