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



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

Post New Answer

More Dot Net Framework Interview Questions

What are Scaffold templates in ASP.Net MVC?

0 Answers  


Asp.net mvc application, makes use of settings at 2 places for routing to work correctly. What are these 2 places?

0 Answers  


Can you explain model, controller and view in mvc?

0 Answers  


what is more complex to implement property, methods or event? how can I define criteria to compare the difficulty of implementation between them? for example the number of methods wanted to implements property is 2 methods. how many methods I need it to implements events?

0 Answers  


What is the "helperpage.isajax" property?

0 Answers  


If we write return statement in finally block will it works fine or throws any error?

7 Answers   Kanbay,


How does CAS work

1 Answers  


Explain bundle.config in mvc4?

0 Answers  


What’s the advantage of using System.Text.StringBuilder over System.String?

4 Answers   IBM,


Possible ways to prevent xss attacks on mvc application?

0 Answers  


What is an asynchronous controller in asp.net mvc?

0 Answers  


Which filter executes first in an asp.net mvc application?

0 Answers  


Categories