Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Set up IIS virtual directory to UNC

Posted on 2009-04-02
6
Medium Priority
?
859 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
[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
  • 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 2000 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

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

Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

722 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