Answer Posted / 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 |
Post New Answer View All Answers
What are Validation Annotations?
how do you query in entity model when the result has a join from from different database other than the entity model?
What is the greatest advantage of using asp.net mvc over asp.net webforms?
Explain covariance and contra-variance in .net framework 4.0. Give an example for each.
Is mvc 4 supporting windows azure sdk (software development kit) ?
How does work clr?
Mention what is the difference between “ActionResult” and “ViewResult” ?
What is entitycontainer? : Entity framework
What are the two ways to add constraints to a route?
What are the sub types of ActionResult?
What operating systems will the .net framework 3.0 be available for?
How to change the action name in ASP.Net MVC?
How does .net framework works?
Possible ways to prevent xss attacks on mvc application?
Can we change web.config settings from iis?