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 Action Methods in ASP.NET MVC?
In razor syntax, what is the escape sequence character for @ symbol?
What is the use of action filters in an mvc application?
Can we change web.config settings from iis?
What are the levels at which filters can be applied in an asp.net mvc application?
What are the main features of asp.net mvc 4 used by asp.net web api?
Explain the advantages of dependency injection (di) in asp.net mvc?
Explain what platforms does the .net framework run on?
What is a view engine?
What is mvc entity framework?
What are the sub types of ActionResult?
what is msl?
What is edm (entity data model)? : Entity framework
In .net compact framework, can we free memory explicitly without waiting for garbage collector to free the memory?
What is the purpose of a web form?