RE: Hiding specific File Types - How can I when using directory browsing?

From: David Dietz [MS] (daviddietz@microsoft.com)
Date: 06/03/02


From: daviddietz@microsoft.com (David Dietz [MS])
Date: Mon, 03 Jun 2002 19:03:24 GMT


Steve,

Simple answer: No.

Slightly less simple answer: There is no functionality to do this built
into IIS.

Longer more complex answer: With time and expertise you can do almost
anything with an ISAPI filter. You could write an ISAPI filter that would
watch for particular strings (i.e. file names with specific extensions) and
filter them out of the outgoing stream.

Hope this helps.

David Dietz -- IIS Technical Lead
Search our online Knowledge Base
http://support.microsoft.com/support/

This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved

--------------------
|>Content-Class: urn:content-classes:message
|>From: "Steve Chandler" <schandler@xpherix.com>
|>Sender: "Steve Chandler" <schandler@xpherix.com>
|>Subject: Hiding specific File Types - How can I when using directory
browsing?
|>Date: Mon, 3 Jun 2002 10:31:39 -0700
|>Lines: 6
|>Message-ID: <576001c20b24$84bca940$9de62ecf@tkmsftngxs01>
|>MIME-Version: 1.0
|>Content-Type: text/plain;
|> charset="iso-8859-1"
|>Content-Transfer-Encoding: 7bit
|>X-Newsreader: Microsoft CDO for Windows 2000
|>X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
|>Thread-Index: AcILJIS8TwHaYLghQdObdU40JRnM/w==
|>Newsgroups: microsoft.public.inetserver.iis.security
|>NNTP-Posting-Host: tkmsftngxs01 207.46.230.157
|>Path: cpmsftngxa08!cpmsftngxa07!tkmsftngxs01
|>Xref: cpmsftngxa08 microsoft.public.inetserver.iis.security:7250
|>X-Tomcat-NG: microsoft.public.inetserver.iis.security
|>
|>
|>Is there a way that I can hide a specific file type(ie
|>.asp) when I have directory browsing turned on? I don't
|>want users to see the script I am running on our intranet.
|>
|>Steve
|>



Relevant Pages

  • Re: prevent hotlinking ?
    ... There is no 'out of the box' solution for hotlinking in IIS, however, you ... could write your own ISAPI filter that could prevent hotlinking. ... © 2001 Microsoft Corporation. ...
    (microsoft.public.inetserver.iis)
  • Re: Problem with connect computer wizard
    ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... Please double-check the default application pool in IIS. ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS 2003, lost companyweb
    ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... Click Start, click Server Management. ... Collect IIS Log: ...
    (microsoft.public.windows.server.sbs)
  • RE: Problem with OWA
    ... Please help me collect IIS log and Metabase for further ... Microsoft CSS Online Newsgroup Support ... <Thread-Topic: Problem with OWA ... Click Start, click Server Management. ...
    (microsoft.public.windows.server.sbs)
  • RE: SharePoint and Company Web not working
    ... Cause: Incorrect IIS settings. ... Right click Companyweb and select Properties. ... Using Microsoft Exchange Server 2003 Recovery Storage Groups ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)