Thursday 2 February 2012

Code Access Security in ASP.NET

The ASP.NET security model provides code access permissions and code identity permissions. The code access security is the part of the ASP.NET security model that determines whether or not the code is allowed to run, and what resources it can use when it is running.

The CLR implements the Code Access Security based on the ‘evidence’ gathered about assemblies. Evidence includes such things as:
> Strong Name
> Publisher
> From where the assembly is being loaded
> The URL of the source directory, if in case the assembly was downloaded from the web

The administrator of the configure CAS policy in ASP.NET programming to restrict the resource types that the code can access and the other privileged operations it can perform. The Code Access Security allows the code to be trusted to varying degrees depending on where the code originates and on the other aspects of the identity of the code. The Code Access Security can also help minimize the damage that might result from the security issues or loopholes in the code.

At SPEC INDIA, our trained team of ASP.NET developers is eager to take care of any custom requirement from our probable Clients and prospects from all over the globe. If you have any requirement or queries, feel free to drop an email at our id lead@spec-india.com, we will be happy to assist you

1 comment: