Adjust code access security rights programmaticly or through script?

J

JDeats

Does anyone know if it's possible to programmatically modify .NET 1.1
Configuration Code Access security? Our ideal is to have a MSI
installer package that the user can run that will adjust the Local
Intranet security zone to be Full Trust so .NET WinForm applications
can be launched though http (SmartClients) without each computer on
the network having to be manually configured to permit this.
 
P

Peter Rilling

Well, the configuration files are just XML files, so I don't see any reason
why you cannot modify the file using the XmlDocument object.

I don't know if there is any cleaner way.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top