Re: Creating MSI for installing .NET security policies



ouch...

use the API. Thats the most robust way.

---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com

Probably the most reliable method would be to create a custom action
that calls caspol.exe with the proper arguments to add your policy to
the current policy. You'll probably want to use a search of some sort
to find the appropriate .NET framework directory to use to call caspol
so that you configure for the correct framework version.

Joe K.



.



Relevant Pages

  • Re: Locking down CAS policy
    ... Dominick Baier, DevelopMentor ... CAS policy has 3 levels - you are right that My_Computer in machine ... read files (including assemblies) outside of the application ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Selinux does not allow samba
    ... that's pretty much the proper way. ... Since FUSE and NFSv3 don't support file attributes, the policy can't be very specific about what samba is allowed to do. ... The other option would be to mount the USB drive with an allowed context: ...
    (Fedora)
  • Re: The Boat Buying Process -sample agreement
    ... It's a matter of whether he chose the ... > right kind of policy for his own needs. ... If I didn't care about the value the insurance company and I agreed was ... consider the H&A's policy proper. ...
    (rec.boats.cruising)
  • Re: Multiple recipient policies
    ... You should create a new Recipient Policy ... This posting is provided "AS IS" with no warranties, and confers no rights. ... Must I assign it a higher priority than the default ...
    (microsoft.public.exchange.admin)
  • Re: Understanding FullTrust and CAS
    ... i spent quite a lot of "quality time" with ASP.NET policy files (for a book i am currently writing) ... Dominick Baier - DevelopMentor ... that I didn't find any mention of extra ASP.NET policy in any of the CAS documentation. ...
    (microsoft.public.dotnet.security)