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 |
When using razor views, do you have to take any special steps to protect your asp.net mvc application from cross site scripting (xss) attacks?
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
Hello frnds, Actually i am plannig to put fake Xperince letter is it good or not, and please suggest me from where we take it.
how many ways for pass the parameters in the fuction in c#
What are the ways to show data grid inside a data grid for a master details type of tables?
What's the .NET class that allows the retrieval of a data element using a unique key
How do I define my own code group
What is the difference between viewbag and viewdata in mvc?
How to enable Attribute Routing?
What is side by side Execution ?
What is the CLS
What are the options can be configured in AJAX helpers?