.NET Framework Security
by Brian A. LaMacchia, Sebastian Lange, Matthew Lyons, Rudi Martin, Kevin T. Price
Summary
This chapter covered several issues to consider when writing a semi-trusted application. These topics include the following:
Restrictions on libraries that can be called— APTCA and permission requirements limit what library code your application can use.
Making permission requests— Assembly permission requests can help determine what permissions are granted to your code. In addition, they can give information about security requirements of your assembly to users and administrators.
Protecting data— When dealing with data in your application, you need to consider how it is handled when persisted to disk, when stored in memory, and when sent over the network.
Being careful about what code gets executed— There are many different implementation ...