Setting IIS AuthFlags using DirectoryServices on individual files / subfolders

  • Thread starter Thread starter Mamood Sultan via .NET 247
  • Start date Start date
M

Mamood Sultan via .NET 247

Hello.

I have been using DirectoryServices to set Authentication(AuthFlags) on IIS folders (c#). It looks to me that this willwork only with folders that are of type IIsWebDirectory orIIsWebVirtualDir. Does anybody have any pointers to how I coulduse DirectoryServices to set AuthFlags on _individual files_that are locating within subfolders of the VirtualDir, i.e. Iwould like to have the main VirtualDir as Anonymous with somespecific files / subfolders as NTLM?

Thanks in advance.
 
Back
Top