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 .glimpse in mvc?
What is viewbag title?
What are the components required to create a route in mvc?
How do you assign a value to a complex number 7 how has exception hand changed in .net framework 4.0?
Can you please explain the request flow in ASP.NET MVC framework?
Where are the routing rules defined in an asp.net mvc application?
Is .net framework 4.8 the last version?
What is entity framework in asp net?
Mention some action filters which are used regularly in ASP.Net MVC?
What is the use of action filters in an mvc application?
Explain covariance and contra-variance in .net framework 4.0. Give an example for each.
What is the advantage of mvc?
what is complex type?
Can you explain the page life cycle of mvc?
How do I install .net framework?