map virtual path

Results 1 to 3 of 3

Thread: map virtual path

  1. #1
    Join Date
    Dec 1969

    Default map virtual path

    I have a situation where we have ebooks to download. I don&#039;t want the user to know the exact path of the ebook for security reasons. I think I need to map a virtual path to a physical path but I can&#039;t figure out how to do this. <BR><BR>Also, how would I go about destroying the URL after it has been accessed so each url can only be accessed once?<BR><BR>Hopefully, you can see where I&#039;m headed with this. Can anyone point me in the right direction?<BR><BR>Thanks,

  2. #2
    Join Date
    Dec 1969

    Default I think you want virtual directories

    however, let me still caution that there is nothing to prevent your user from trying to guess the book names even with your virtual directory(they can still see a url).<BR><BR>http://yourserver/ebooks/book1.htm<BR>http://yourserver/ebooks/book2.htm<BR>etc.<BR><BR><BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default This has been talked about..

    .. a few times.<BR><BR>Basicaly what you are going to do is put the files into a non-web-accessible directory. Then, using the ADODB.Stream object, stream the binary data for the eBook to the browser.<BR><BR>That way, the page that opens the file can verify that the user SHOULD be downloading the file.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts