Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Use IIS 6 WebDAV to connect to home directories?

Posted on 2004-10-27
6
Medium Priority
?
1,288 Views
Last Modified: 2012-08-13
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?
0
Comment
Question by:NashvilleGuitarPicker
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 2000 total points
ID: 12440085
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
 
LVL 5

Author Comment

by:NashvilleGuitarPicker
ID: 12444522
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
 
LVL 37

Expert Comment

by:meverest
ID: 12449256
Hello,

you can write isapi using VB too.

Cheers.
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 5

Author Comment

by:NashvilleGuitarPicker
ID: 12463042
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
 
LVL 37

Expert Comment

by:meverest
ID: 12467308
>>  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
 
LVL 5

Author Comment

by:NashvilleGuitarPicker
ID: 12486133
I am closing htis question out.  Thanks for the pointers.  If anyone else has something to add, feel free.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question