#1
  1. No Profile Picture
    BrainFreeze
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    London
    Posts
    318
    Rep Power
    15

    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/
  2. #2
  3. /(bb|[^b]{2})/

    Join Date
    Nov 2001
    Location
    Somewhere in the great unknown
    Posts
    5,163
    Rep Power
    792
    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)
  4. #3
  5. Shes dancing (obviously)
    Devshed Novice (500 - 999 posts)

    Join Date
    Jul 2002
    Location
    the far side
    Posts
    527
    Rep Power
    14
    what exactly would i be downloading?

    microsofts butterfly is their way off telling u their systems have a **** load of buggs
    Advocating Linux Guide
    Lesbian Linux
    Great & Practical Computer Books

    like the links?
  6. #4
  7. No Profile Picture
    BrainFreeze
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Location
    London
    Posts
    318
    Rep Power
    15
    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/

IMN logo majestic logo threadwatch logo seochat tools logo