here is the scenario: I have two users for my pc: Administrator and restricted, the latter of which is just a regular user with restricted capabilities. I have two folders on my C drive that I want to work with. accounting and private. The file structure is like this C:\accounting\private so the private dir resides within the accounting folder. I have a .net web app that allows me to browse my file structure. On the IIS virtual directory pointing to my web app I have changed security settings to require a windows login to authenticate a windows user before allowing access to my web app.
What I want to do is restrict access to the private folder for the restricted user. So I did, I went into the security settings for the folder and added the user and denied all access for that user. Next I started the web app logged in as the restricted user and tried browsing the file structure and viewing the folder. I was able to get through unfortunately.
Here's the weird part, on the private folder if I go in a restrict access for the users role and deny them read, write, execution then it works. I am unable to browse that directory from the web app. Unfortunately I am also restricting access for the administrator which I don't want to do.
My thought is that I need to mess with the machine.config file and restrict user roles, however I am not sure if that is right.
If anyone has any thoughts or comments they would be much appreciated.
Thanks in advance.
What I want to do is restrict access to the private folder for the restricted user. So I did, I went into the security settings for the folder and added the user and denied all access for that user. Next I started the web app logged in as the restricted user and tried browsing the file structure and viewing the folder. I was able to get through unfortunately.
Here's the weird part, on the private folder if I go in a restrict access for the users role and deny them read, write, execution then it works. I am unable to browse that directory from the web app. Unfortunately I am also restricting access for the administrator which I don't want to do.
My thought is that I need to mess with the machine.config file and restrict user roles, however I am not sure if that is right.
If anyone has any thoughts or comments they would be much appreciated.
Thanks in advance.