Programmatically change iis rights

T

thibaut

Hi,

Is it possible to programmatically (c# aspnet) change IIS
rights on a file or a directory (allow write access on
xml files, deny download for databases,...) ?

Thanks for your help
 
D

Daniel Fisher\(lennybacon\)

You can change read, write and execute permissions programmatically for iis.
You can also set a dummy scriptmap for mdf and mdf files. But it's a bit
difficult, cause the access to the DirectoryEntry requires FullTrust.

Daniel
 

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

Members online

Forum statistics

Threads
474,266
Messages
2,571,091
Members
48,773
Latest member
Kaybee

Latest Threads

Top