You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Chris Tacy <ch...@enginered.com> on 1998/07/02 21:29:12 UTC

ASP or IIS or NT bug?

this works on some ASP pages
(http://www.microsoft.com/sitebuilder/features/vb6web.asp::$DATA) but
not others (try http://www.barnesandnoble.com/index.asp::$DATA)

append to the URL of an ASP file:  ::$DATA 

you get the source of the asp-file, complete with database logins and
passwords if used, etc etc...

this also works with Cold Fusion files -- is this NT, ASP, IIS?

-c
-- 
#################################################
chris tacy              president and co-founder	
fire engine red         http://www.enginered.com/

Re: ASP or IIS or NT bug?

Posted by Ben Hyde <bh...@pobox.com>.
>There is a bit at
>http://support.microsoft.com/support/kb/articles/q105/7/63.asp
>
>dan
>
>
>For more information on NTFS Alternate Data Streams please see Microsoft
>Knowledge Base article Q105763. 
>
>On Thu, 2 Jul 1998, Ben Hyde wrote:
>
>> I haven't found this syntax documented yet. Can anybody point
>> out the documentation on this syntax?

thanks Dan.

My problem is I can't seem to find anyplace that explains the
filename::$DATA syntax  I can find places that document the
filename:streamname syntax, at least by example, but this
double colon thing ... where's that?  Argh.  - ben hyde



Re: ASP or IIS or NT bug?

Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Ben Hyde wrote:
> 
> Apparently the syntax  f::$DATA is a long winded way of saying
> f, and naming the "unnamed".

That *really* sounds like voodoo. :-)  "Say 'f' and name the Unnamed."

#ken	P-)}

Ken Coar                    <http://Web.Golux.Com/coar/>
Apache Group member         <http://www.apache.org/>
"Apache Server for Dummies" <http://Web.Golux.Com/coar/ASFD/>

Re: ASP or IIS or NT bug?

Posted by Dan Haskovec <da...@pry.com>.
There is a bit at
http://support.microsoft.com/support/kb/articles/q105/7/63.asp

dan


For more information on NTFS Alternate Data Streams please see Microsoft
Knowledge Base article Q105763. 

On Thu, 2 Jul 1998, Ben Hyde wrote:

> I haven't found this syntax documented yet. Can anybody point
> out the documentation on this syntax?


Re: ASP or IIS or NT bug?

Posted by Ben Hyde <bh...@pobox.com>.
>this works on some ASP pages
>(http://www.microsoft.com/sitebuilder/features/vb6web.asp::$DATA) but
>not others (try http://www.barnesandnoble.com/index.asp::$DATA)
>
>append to the URL of an ASP file:  ::$DATA 
>
>you get the source of the asp-file, complete with database logins and
>passwords if used, etc etc...
>
>this also works with Cold Fusion files -- is this NT, ASP, IIS?
>
>-c
>-- 
>#################################################
>chris tacy              president and co-founder	
>fire engine red         http://www.enginered.com/

I don't pretend to really have my head wrapped around this problem.

That said.

This problem requires that the files being served by on an NTFS
file system.  Things you can try to experiance the richness of
life.

  > echo foo > cool:alpha
  > more < cool
  > more < cool:alpha
  foo
  >

What's going on here is that an NTFS file has multiple "data"
attributes (one of which is "unnamed") and here we are stuffing
something into the data attribute we happened to name "alpha."

Apparently the syntax  f::$DATA is a long winded way of saying
f, and naming the "unnamed".

This was, it appears, originally a way let the NTFS file system
store Macintosh files (which have two forks of data).

I haven't found this syntax documented yet. Can anybody point
out the documentation on this syntax?

This isn't NT, ASP, IIS, or even OLE Monikers, it is NTFS.

     - ben hyde