Allow downloading of PDF w/o revealing URL to web user
-
Hello, Does anyone have a simple way to provide a web user the ability to download binary files like PDF and EXE without revealing the path to these files? Basically I'm trying to hide the URL so the web user doesn't get a clue as to the directory structure that the files are stored on. -- modified at 14:10 Thursday 2nd March, 2006 Also, some of these documents are the type of documents that can load directly into the web browser: PDF, DOC, XLS. I also need to hide the URL if loaded directly into the browser. Thanks for your time and information, Josh Blair Evergreen, CO
-
Hello, Does anyone have a simple way to provide a web user the ability to download binary files like PDF and EXE without revealing the path to these files? Basically I'm trying to hide the URL so the web user doesn't get a clue as to the directory structure that the files are stored on. -- modified at 14:10 Thursday 2nd March, 2006 Also, some of these documents are the type of documents that can load directly into the web browser: PDF, DOC, XLS. I also need to hide the URL if loaded directly into the browser. Thanks for your time and information, Josh Blair Evergreen, CO
You could try this[^], though they could capture the page headers and extract the path. You could also direct them to a page that loads the file into memory and then writes it out directly to the response stream. Jon Sagara Look at him. He runs like a Welshman. Doesn't he run like a Welshman? Doesn't he? I think he runs like a Welshman. Sagara.org | Blog | My Articles
-
You could try this[^], though they could capture the page headers and extract the path. You could also direct them to a page that loads the file into memory and then writes it out directly to the response stream. Jon Sagara Look at him. He runs like a Welshman. Doesn't he run like a Welshman? Doesn't he? I think he runs like a Welshman. Sagara.org | Blog | My Articles
Jon Sagara wrote:
You could also direct them to a page that loads the file into memory and then writes it out directly to the response stream.
Even better; the file can be opened as a stream and fed right into the output stream of the response. This preserves memory if the files are large. --- b { font-weight: normal; }
-
Jon Sagara wrote:
You could also direct them to a page that loads the file into memory and then writes it out directly to the response stream.
Even better; the file can be opened as a stream and fed right into the output stream of the response. This preserves memory if the files are large. --- b { font-weight: normal; }
Guffa, Jon, Thanks for the tips. Do you know if these techniques work in IE, Firefox, AOL, and other browsers? I forgot to mention that this solution needs to be supported by an extensive list of browsers. Thanks again, Josh Blair Evergreen, CO
-
Guffa, Jon, Thanks for the tips. Do you know if these techniques work in IE, Firefox, AOL, and other browsers? I forgot to mention that this solution needs to be supported by an extensive list of browsers. Thanks again, Josh Blair Evergreen, CO