Tip

Using virtual directories

There have been numerous exploits and security breaches for IIS that allow a remote user to navigate the directory structure under a Web site completely unencumbered. Usually, this means that any file and folder underneath a Web site is potentially available for downloading or even deletion or alteration.

If the thought of a remote user being able to download your entire Web server's file structure or even alter the content offered through your Web sites doesn't scare you, then maybe this will: Mapped directories from your Web server to other networked servers potentially grant unrestricted access to those systems, as well.

This problem is not limited to IIS Web servers, but can be an issue on any vendor's Web server. Clearly stated, the problem is this: If your Web server's security is compromised and a user is able to navigate the Web root without access restrictions, then they can access any folder mapped under that Web root. Many server operating systems, and even Web servers themselves, offer the ability to create virtual directories or mapped points. A virtual directory or a mapped point is a folder that acts as a redirector to a shared folder on another system.

The only way to prevent a Web server security breach from compromising your entire network is to completely avoid using virtual directories or mapped points. You should consider a Web server an entity that needs to be quarantined. It should be separated from your internal

    Requires Free Membership to View

network completely. You should grant only a few users one-way access to the Web server from the internal network (i.e. to upload new files to the Web server). If you need a resource to be accessible via the Web, make a copy of it onto the Web server; do not map a drive from the Web server back to its internal network home.

About the author
James Michael Stewart is a researcher and writer for Lanwrights, Inc.


This was first published in March 2002

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.