Use IIS 6 WebDAV to connect to home directories?

I am setting up a lab WebDAV server using IIS 6.  I am able to access our DFS shares using the user's credentials, using the new "connect to share as authenticated user" feature.  Does anyone know of a way to allow users to view their home directories WITHOUT creating a viewable "Users" share?  For instance, our user directories reside on E:\Shares\Users\_username_.  Some people would share the "Users" subdirectory.  We set up individual shares directly to the users' folders.  The share names would be the User name followed by a "$" sign.  The share "Smith" would be mapped to "E:\Shares\Users\Smith$", and "Johnson" would be mapped to "E:\Shares\Users\Johnson$".  I realize that I will probably have to share the Users folder to get this to work, and remove the directory listing permission from the Users folder itself, to prevent getting a listing of all of the user folders.  It would be great if there were some sort of script or filter which would automatically route requests from http://webdavserver/myhome/ to the appropriate share or directory.

Have any of you worked up a similar solution?
LVL 5
NashvilleGuitarPickerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

meverestCommented:
Hi,

yes, ISAPI can help you with this.  If you have a visual studio, follow the create isapi wizard and read up on onUrlMap() function.

using that method, you can write your web code to point the user to some generic location (such as  http://webdavserver/myhome/) and translate that url in the filter into anything you want to.

Cheers.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NashvilleGuitarPickerAuthor Commented:
Hmmm, I was hoping for something in VB, since my Windows C experience is lacking.  It does not appear that this is an option in VB 6.  Perhaps VB.NET lets me do things like this.  I did some more thinking, and at the very least, I should be able to write an ASP page that redirects to another page, forinstance,

http://webdavserver/myhome/

might redirect user Smith to

 http://webdavserver/users/smith$/ (or whatever the proper encoding of $ is).

This would still require sharing the Users folder, but the more I think about it, the more "logical" this would be, since it would use definite paths.  This would let an administrator jump to other users' folders if neccessary.

Thanks for the pointers on ISAPI, though.  Does anyone have other solutions?  I will leave this one open for a little while to reel in some more ideas, and then assign points as appropriate.
0
meverestCommented:
Hello,

you can write isapi using VB too.

Cheers.
0
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

NashvilleGuitarPickerAuthor Commented:
Thanks.

When I was searching, I found many articles stating that you couldn't write ISAPI in VB.  Maybe it was for particular types of ISAPI filters.  I will have to look some more to find some VB/ISAPI resources.  I will leave this question open a little bit longer, and then dish out the points.
0
meverestCommented:
>>  I found many articles stating that you couldn't write ISAPI in VB.

you did?  Maybe I am mistaken.  I write only C++, so I wouldn't know for sure....

Cheers.
0
NashvilleGuitarPickerAuthor Commented:
I am closing htis question out.  Thanks for the pointers.  If anyone else has something to add, feel free.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.