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 the difference between managed and unmanaged code?
What is GC (Garbage Collection) and how it works
What is Layout in ASP.Net MVC?
please tell me the best book of asp.net in the markit. which explain in simple and detail.
i just want to write an exam regarding .net?plz give me information about taking a test?where to pay 4 d exam,exam centre?
What are the types of assemblies and where can u store them and how ?
11 Answers Accenture, BirlaSoft, IBM,
What are the Core features of ASP.NET MVC?
What is the .net framework?
What is entitytypes? : Entity framework
Explain peek method in tempdata in asp.net mvc?
What is a model in programming?
Explain how you can send the result back in JSON format in MVC?