Yeah, but if you don't put them in the Web Sites Root... The web
server for any particular site only gives http access to a certain
portion of the file system on any given machine.  Put it on the same
machine, but not in the httproot.

let's pretend this is your directory structure:

/logs/
/htdocs/
/private/
/blah/

of the above, only one folder serves pages to requesting browsers. 
Stick your pdfs in one of the other three or make a new one...  the
point is that there is space on almost every hosting plan that is not
served directly out to the web, but you still have access to through
scripts.  Ask anyone who's ever set up a site with a M$ Access back
end...

- Stephen

On Tue, 17 Aug 2004 15:20:04 +1200, Clancy Jones
<[EMAIL PROTECTED]> wrote:
> Thanks Stephen.  If Joe user guesses the path to the files, he'll be able to
> access them though, which is what I want to avoid.
> 
> eg. If the path to the PDF docs is www.mycompany.com/PDFs/
> 
> and Joe user guesses that a file name is report1.pdf and then enters
> www.mycompany.com/PDFs/report1.pdf into his browser, he's gonna get the
> file.  Right?  I realise that someone guessing the directory name and the
> filename is not that high, but still.  What do other people do about this?

____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To set a personal password send an email to [EMAIL PROTECTED] with the words: "set 
WDVLTALK pw=yourpassword" in the body of the email.
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to