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 is the use of the default route {resource}.axd/{*pathinfo} ?
What is oauth in web api?
What are action filters?
How to use multiple submit buttons in asp.net mvc?
How to change the action name in ASP.Net MVC?
How can we determine action invoked from HTTP GET or HTTP POST?
I have 2+ years of fake experience,actually i could not answer for project questions..?how can i answer please suggest me..?
What is definingquery in entity framework? : Entity framework
What is basic authentication in web api?
Explain the advantages of dependency injection (di) in asp.net mvc?
What is a view engine?
Is entity framework slow?
How we can add the CSS in ASP.Net MVC?
Why to use '{resource}.axd/{*pathInfo}' in routing in ASP.Net MVC?
Explain the advantage of packaging over xcopy in .net?