How do I change the permission set for a code group

Answer Posted / kirti

Use caspol. If you are the machine administrator, you can operate at the 'machine' level - which means not only that the changes you make become the default for the machine, but also that users cannot change the permissions to be more permissive. If you are a normal (non-admin) user you can still modify the permissions, but only to make them more restrictive. For example, to allow intranet code to do what it likes you might do this:

caspol -cg 1.2 FullTrust

Note that because this is more permissive than the default policy (on a standard system), you should only do this at the machine level - doing it at the user level will have no effect.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are differences between entity framework and l2s? : Entity framework

661


what is lazy loading in entity framework?

601


What is rxjava used for?

673


I want ask from plz smaple example code for Biztalkk server

1725


Explain covariance and contra-variance in .net framework 4.0. Give an example for each.

590






How to enable Attribute Routing?

629


What is connected scenario? : Entity framework

559


What is entity framework in asp net?

547


What is NonActionAttribute ?

599


What is net framework 3.0 ?

604


How can I return string result from action in asp.net mvc?

578


How we can handle the exception at controller level in ASP.Net MVC?

585


Explain the types of Scaffoldings.

642


What is the meaning of unobtrusive javascript?

566


Can you please explain the request flow in ASP.NET MVC framework?

630