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 |
what is split entity?
what is a round trip?What is a postback?
Explain the methods used to render the views in ASP.Net MVC?
Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?
Where are the routing rules defined in an asp.net mvc application?
What is GC (Garbage Collection) and how it works
What is boxing and unboxing?
What is net framework 3.0 ?
What symbol would you use to denote, the start of a code block in razor views?
sql related question (outer join, left, right etc) array vs hashtable CRL sqldatareader vs dataset what is WPF, WCF, compare to WinForms Webservices Asp.net MVC vs WebForms?
What is MSIL, IL, CTS?
How does �side by side� work for the .net framework 3.0?