": $DATA" Data Stream Name of a File May Return SourceID: Q188806
|
The native Windows NT file system, NTFS, supports multiple data streams within a file. The main data stream, that which stores the main content, is called DATA. Accessing this NTFS attribute directly from a browser may display the script code for the file. For example, accessing http://myserver/file.asp::$DATA may yield the contents of the file itself, not the processed results of the file.
The problem is caused by the way Internet Information Server (IIS) parses
file names. The fix involves IIS supporting NTFS alternate data streams by
asking Windows NT to canonicalize the filename.
NOTE: For the problem to occur, all of the following conditions must
exist:
NOTE: The fix for a bug in the W3 and FTP Performance Monitor ALSO fixes
the problem described in this article. If you plan to use the Performance
Monitor, please see the following article in the Microsoft Knowledge Base:
Q185349 : Problems Remotely Accessing W3 or FTP Perfmon Counters
.asp::$DATA
.asa::$DATA
Executable Path %System32%\Inetsrv\Ssinc.dll
.stm::$DATA
.shtm::$DATA
.shtml::$DATA
Executable Path %System32%\Inetsrv\Httpodbc.dll
.idc::$DATA
Executable Path %System32%\Webhits.dll
.htw::$DATA
If you use Index Server, also include the following:
.idq::$DATA
.ida::$DATA
PERL
.pl::$DATA
To resolve this problem, obtain the latest service pack for Windows NT 4.0 or Windows NT Server 4.0, Terminal Server Edition. For additional information, please see the following article in the
Microsoft Knowledge Base:
Q152734 How to Obtain the Latest Windows NT 4.0 Service Pack
Microsoft has confirmed this to be a problem in Internet Information
Server versions 1.0, 2.0, 3.0, and 4.0, Peer Web Server versions 2.0 and
3.0, and Personal Web Server version 4.0 on Windows NT 4.0 Workstation.
This problem was first corrected in Windows NT 4.0 Service Pack 4.0 and Windows NT Server 4.0, Terminal Server Edition Service Pack 4.
ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/security/iis4-datafix/
ftp://ftp.microsoft.com/bussys/iis/iis-public/fixes/usa/security/iis3-datafix/
For more information on this issue, see the following Microsoft Security
Bulletin:
http://www.microsoft.com/security/bulletins/ms98-003.htm 98-003: File Access issue with Internet Information Server
Q193793 : ":$DATA" Data Stream Name Returns Source of a Remote File
Q105763 : HOWTO: Use NTFS Alternate Data Streams
Additional query words: Peer Web Services filename filenames pws hot fix qfe sp service pack
Keywords : NT4SP4Fix kbfix4.00.sp4
Version : WINDOWS:4.0; winnt:1.0,2.0,3.0,4.0
Platform : WINDOWS winnt
Issue type : kbbug
Last Reviewed: April 26, 1999