Solved

Set up IIS virtual directory to UNC

Posted on 2009-04-02
6
851 Views
Last Modified: 2012-05-06
I need to setup a IIS virtual directory on an XP machine to access a UNC path on a Windows 2003 file server.  I must use a domain account and all computers are in a trusted domain.  How do I accomplish this goal?  This is just for dev right now.  If more information is required please let me know.
0
Comment
Question by:Nyah247
  • 4
  • 2
6 Comments
 
LVL 6

Author Comment

by:Nyah247
ID: 24053655
...or using .net is there a way to connect to a unc without a virtual directory?
0
 
LVL 37

Accepted Solution

by:
meverest earned 500 total points
ID: 24055010
IIS can map a virtual directory to a remote share, but many people have trouble setting this up.  Here is a resource that is often useful to get past it:

http://support.microsoft.com/kb/269009/en-us

>> or using .net is there a way to connect to a unc without a virtual directory?

I suppose you could create a kind of proxy using .net to retrieve remote files from the web server application and deliver through the web server, but would be a bit of overkill for what I think you want.
0
 
LVL 6

Author Comment

by:Nyah247
ID: 24055366
Basically a developer is working on an in-house content management system.  Through .net the application will access a file share and publish staged files to the web server after they are approved.  To me it seems this should be done through a virtual directory but this does not have to be the case.  

Anyway, I found this article which is very similar to what the MS one explains with a little more detail and some pictures to help with the visuals.   http://www.codeproject.com/KB/aspnet/UNC__Access_Network_file.aspx  I cannot use local accounts and having a domain password in plain text in the .net for impersonation really bothers me.

I guess, what is the best way to achieve my goal?  The virtual directory or another method?  If it is the virtual directory how can I suggest the developer protect the user credentials from being plain text.


0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 37

Expert Comment

by:meverest
ID: 24066616
Hi,

I think that what you are describing is probably something different than the usual purpose of mapping IIS virtual directories.

I suspect that you would probably want to use the application framework itself (rather than IIS) to access the remote unc location/s.

To secure clear text passwords, use SSL on the web site.

Cheers.

0
 
LVL 6

Author Comment

by:Nyah247
ID: 24171222
We found a way around this...without the virtual directories.  The primary problem was the developer computer and this could be setup as you described with a virtual directory and local accounts.  But that is against our security policy.  We resolved this through using a limited service account (domain user) and using .net impersonation and an encrypted .config user/password.  It seems to be working ok thus far.
0
 
LVL 6

Author Closing Comment

by:Nyah247
ID: 31565943
Self-resolved but the proposed solution did help further research.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now