August 6th, 2002, 02:40 AM
-
downloading question
I have a load of zip files downloads at a certain web address.
i.e. http://www.yourdomain.com/download/d...d2/zipfile.zip
The files are available for download only if people sign up. However if they enter the address correctly then they can directly download the files without having to sign up. I do not allow directory browsing.
Using Win 2k adv server and iis 5.
what is the best way to stop people directly downloading, they have to be signed up first.
_________________________
Triangle Solutions Ltd
http://www.triangle-solutions.com/
August 6th, 2002, 08:32 AM
-
1) Put the files in a non-web accessible area
2) use some form of directory locking, like .htaccess (not sure if iis uses this)
August 20th, 2002, 08:19 PM
-
what exactly would i be downloading?
August 21st, 2002, 12:01 PM
-
Hi,
I have tried a lot of things at the moment all I can get it to download is the actual html page!
I need it to download zip files. In an internet cafe at the moment at cant get my code, goes something like this though
PHP Code:
header - private
header - content application octet stream
header - filesize
readefile();
The zip files range from 20kb to 13megs.
They will be in folder d:/games on the machine.
thx again
_________________________
Triangle Solutions Ltd
http://www.triangle-solutions.com/