0

I want a folder on a site where logged-in active directory users can create sub folders and upload images under an "/Uploads" folder off the root. I am able to retrieve the username using System.DirectoryServices.

Is there a way to:

  1. Restrict what is returned from the DirectoryInfo().GetDirectories based on their username

  2. Set permissions on a subfolder of /Uploads (via a web page) to read/write.

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Isabelle Harms
  • 375
  • 3
  • 9

1 Answers1

0

You might want to look at this post on how to create folder dynamically at run time

And this post from stackoverflow shows bunch of ways to assign folder permissions. See which one applies

Good luck!

Community
  • 1
  • 1
Steven
  • 974
  • 6
  • 18