[thelist] Hiding file location
Anthony Baratta
Anthony at Baratta.com
Fri Sep 7 13:57:54 CDT 2001
At 11:23 AM 9/7/2001, you wrote:
>Does anyone know if it's possible to hide the location of a file being
>downloaded? That is, if user can download .pdf files from a folder on the
>server (hosted W2K/ASP) can you hide where they're downloading it from so
>they couldn't snoop for other .pdf files they're not supposed to be able to
>download?
One way would be to make sure that directory browsing is turned off.
What we do currenty is do a binary read of the file via ASP then tell the
browser via HTTP Headers that a PDF files is coming and "write" the file to
the browser. You can then load up the download script with authenication
and such to control access to the files.
----
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
More information about the thelist
mailing list