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 |
How to Insert a TextBox value in to Sql database using C#.Net coding
what is difference b/w .net 1.1 and .net 2.0. I need Answer in c# , asp.net and ado.net Level.Like c#1.1 and c#.1.1 , ado.net1.1 and ado.net2.0 and asp.net1.1 and asp.net2.0
What is the meaning of unobtrusive javascript? Explain us by any practical example.
Can we access the web controls in a page pre initialising event?
Can we add constraints to the route? If yes, explain how we can do it?
How does the .net framework 3.0 relate to windows vista?
What is page life cycle?
Are there any parts of the .net framework 3.0 that only work on windows vista?
What you mean by routing in mvc?
What is ASP.NET MVC?
Is CLR is compiler or Interpreter
What is entity graph? : Entity framework