How do I change the permission set for a code group



How do I change the permission set for a code group..

Answer / 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

More Dot Net Framework Interview Questions

What are multicast delegates ? give me an example

1 Answers  


How do you specify comments using razor syntax?

0 Answers  


How to use multiple submit buttons in asp.net mvc?

0 Answers  


What is the main difference between VS 2005 and VS 2003?

5 Answers   CTS, Satyam,


What is the necessity for singning an assembly with a strong name?

1 Answers   L&T,






What is NonActionAttribute ?

0 Answers   Cognizant,


Speaking of Boolean data types, what's different between C# and C/C++ ?

1 Answers  


Difference between .NET & J2EE

1 Answers  


What is MSIL, IL, CTS and, CLR

1 Answers  


What is meant by bootstrap in mvc5?

0 Answers  


Which .net framework is installed?

0 Answers  


In which circumstances you used delegates?

5 Answers   HP,


Categories