Code Access Security #4

 how to impose restrictions and security during execution of programes using CAS( code Access Security) model.

What is type safety?


venki Genimisetty
0
yenky
7/8/2008 1:50:33 PM
asp.net.security 27051 articles. 1 followers. Follow

1 Replies
552 Views

Similar Articles

[PageSpeed] 31
Get it on Google Play
Get it on Apple App Store

yenky.g:
 how to impose restrictions and security during execution of programes using CAS( code Access Security) model.
 

First of all your need to understand the concept of Code Access Security. All .NET code that runs on the computer is subjected to CAS by the runtime environment. CAS inspects what evidence the .NET assembly is supplying and thereby grants the appropriate permissions.

Evidence can be things like where the code is running from, strongly named, hashes, digital certificates etc and permission sets granted can be FileIO, UI etc

You can update the CAS policies by running the .NET configuration tool from Administrative Tasks in your Control Panel.

 

0
jimmy
7/8/2008 10:05:06 PM
Reply: