Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do I define my own code group

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


Please Help Members By Posting Answers For Below Questions

What is the difference between old ADO.NET and Entity framework coding techniques?

1010


How we can call a javascript function on the change of a dropdown list in mvc?

1057


What are the components of the .net framework.

1056


In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?

1081


Explain two instances where routing is not implemented or required?

1059


What is the domain object?

995


What is edm designer? : Entity framework

999


what is model first approach?

1123


What is meant by bootstrap in mvc5?

1192


What are the new enhancements done in default project template of asp.net mvc 4?

1045


What is definingquery in entity framework? : Entity framework

990


What is renderbody?

1051


What is viewstart page in mvc?

1031


How large is the .net framework 3.0?

1031


What is the difference between ViewData, ViewBag and TempData?

1078