1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to setup a password protected page?

Discussion in 'General Programming Chat' started by Dalun, Jan 22, 2010.

  1. Dalun

    Dalun Junior Member

    Joined:
    Jul 14, 2009
    Messages:
    108
    Likes Received:
    9
    Occupation:
    student
    Location:
    California
    i'm creating a site for a product. how would i go about password protecting the download page?

    for instance, the buyer finishes payment and clicks on the link to the download page. once there they need to enter a password to gain access. how do i fix up something like that?
     
  2. onlinewealth

    onlinewealth Junior Member

    Joined:
    Mar 13, 2007
    Messages:
    157
    Likes Received:
    101
    Occupation:
    Direct marketing working at home.
    Location:
    "In a State of Corruption"
    Well you can password protect the folder that the product is located for download in your cpanel. But the better way is to use DL Guard or another script that hides the actual download location so you don't have to password protect it.
     
  3. maddog39

    maddog39 Newbie

    Joined:
    Sep 7, 2009
    Messages:
    11
    Likes Received:
    1
    Occupation:
    Student
    Location:
    Pennsylvania, US
    Home Page:
    The easiest way is to use htaccess or something with apache authentication but wealth is right, the best way is to use a script.
     
  4. babs7907

    babs7907 Newbie

    Joined:
    Jul 23, 2009
    Messages:
    19
    Likes Received:
    2
    You can use e-junkie as well!.
     
  5. Bill Gates

    Bill Gates Registered Member

    Joined:
    Jan 5, 2009
    Messages:
    93
    Likes Received:
    465
    I would suggest that you use DL Guard ... It's probably the best on the market (I haven't heard of ANYONE being able to break into it's security before)
     
  6. showbizvet

    showbizvet Power Member

    Joined:
    Oct 1, 2008
    Messages:
    795
    Likes Received:
    260
    Occupation:
    IM
    Location:
    Tennessee and around
    Concur with the billionaire above... DL guard is great, but e-junkie also does a bang up job, with them (in most cases) they host your file and you don't need to worry about the tech side.
     
  7. migcosta

    migcosta Registered Member

    Joined:
    Jan 6, 2009
    Messages:
    55
    Likes Received:
    8
    You can still have a different approach to the problem:

    1 - create a random name folder and then copy there the downloadable product and and set permissions to the folder using a server side language (ex: PHP ou ASP..) to automate this procedure and email the client the product. give the client a 2 weeks time line to download the product and then delete the folder...

    2 - can you send the product by email? if so send a copy by email ;)

    3 - Use a CMS by example Joomla + virtueMart

    ...

    you have several ways to do it :D you need to find the best one to south your needs
     
  8. yapaname

    yapaname Newbie

    Joined:
    Sep 10, 2009
    Messages:
    14
    Likes Received:
    4
    Hi BHW- With DL Guard, do you know if you can upload large video files to download. Also, same question with e-junkie.