How do I define my own code group
Answer / kirti
Use caspol. For example, suppose you trust code from www.mydomain.com and you want it have full access to your system, but you want to keep the default restrictions for all other internet sites. To achieve this, you would add a new code group as a sub-group of the
'Zone - Internet' group, like this:
caspol -ag 1.3 -site www.mydomain.com FullTrust
Now if you run caspol -lg you will see that the new group has been added as group 1.3.1:
1.3. Zone - Internet: Internet
1.3.1. Site - www.mydomain.com: FullTrust
Note that the numeric label (1.3.1) is just a caspol invention to make the code groups easy to manipulate from the command-line. The underlying runtime never sees it.
Is This Answer Correct ? | 0 Yes | 0 No |
Give an example for authorization filters in an asp.net mvc application?
How to bind table coloum with gridview column
3 Answers Sypher Technologies,
Is .NET a runtime service or a development platform?
What is the difference between .net core and .net framework?
What is reflection?
5 Answers Accenture, Merrill Lynch, Microsoft,
will there be any issues adding a table without primary keys to a data model?
Define the core components of an ASP.NET MVC application?
What is meant by tempdata in mvc?
Microsoft introduced c# as a de facto language of the .NET platform. What is mean by de facto and fot what purpose? Please answer me. Advance thanks.
What is ado.net data provider? : Entity framework
What is the use of display modes?
What is renderbody?