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
What are the main features of asp.net mvc 4 used by asp.net web api?
If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
mention what is code first approach and model first approach in entity framework?
Will the name change be reflected in any of the existing .net framework 2.0 apis, assemblies, or namespaces?
What is entity framework firstordefault?
What is Layout in ASP.Net MVC?
mention what are the various methods provided by the dataset object to generate xml?
how can you tell ef to have a different table or column name than that defined for the class?
In which assembly is the mvc framework defined?
Which is the root namespace for fundamental types in .net framework?
The order of the filters that get executed, if the multiple filters are implemented?
Can any particular component of .net framework 3.0 be removed?
what is entity sql?
What are Non Action methods in ASP.Net MVC?
What is html.renderpartial?