944,017 Members | Top Members by Rank

Ad:
Jul 23rd, 2007
0

IIS Directory Listing Hiding Unauthorized Folders?

Expand Post »
I'm using IIS on Windows 2k3 R2.

What I'm wanting to do is create a folder called /accounts/ on the server that requires Integrated Windows Authentication. I can do that, no problem.

Then from there I want subfolders, but I only want it to show the subfolders that user is authorized to view.

For example, say I have a user named test and test2. Then I have a folder setup like this:

/accounts/
/accounts/test/
/accounts/test2/

Now when I go to the /accounts/ folder from a browser it will prompt me to login. If I login with the test user, I only want it to show the test folder and hide all other folders. If I login with the test2 user it would show the test2 folder and hide all other folders.

Is this possible, and if so, how would I do this? I've tried all different kinds of permissions, but everything seems to either hide everything or show everything. If I login at test and click on the test2 folder it won't give me access, which is fine, but I would rather have it not show the entire test2 folder.

Thanks for any help.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
mindfrost82 is offline Offline
38 posts
since Dec 2004
Jul 24th, 2007
0

Re: IIS Directory Listing Hiding Unauthorized Folders?

No ideas?

Is there any kind of variable that is passed during the login that I could use as a redirect?

For example, if I setup the Home Directory for the test user to /accounts/test/, is there anyway to pull that directory with PHP (or another scripting language) and set it to redirect to their home directory?
Reputation Points: 10
Solved Threads: 0
Light Poster
mindfrost82 is offline Offline
38 posts
since Dec 2004
Jul 24th, 2007
0

Re: IIS Directory Listing Hiding Unauthorized Folders?

A mod can delete this. I just saw the sticky about not posting support questions here. I re-posted this question under the PHP forum.
Reputation Points: 10
Solved Threads: 0
Light Poster
mindfrost82 is offline Offline
38 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in IT Professionals' Lounge Forum Timeline: rx2 dms
Next Thread in IT Professionals' Lounge Forum Timeline: Where to start with learning to program





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC