Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Client Request: Register to Download a File on Website

Client Request: Register to Download a File on Website
Thread Tools
Addicted to MacNN
Join Date: Sep 2001
Location: NYC*Crooklyn
Status: Offline
Reply With Quote
May 29, 2009, 12:33 AM
 
So my client is asking to have people register to download a mess of PDF files on her website. She wants a single registration to work for all the files on the website.

I've done something like this for her on a mini-site with a single PDF. Basically, the user fills out a form with email and some other data and then when submitted it logs their IP and allows them to enter a protected folder containing the PDF (where they can download).

Is there a application or content management system that specializes in this? Or what would you recommend to handle this?

THANKS!
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Online
Reply With Quote
May 29, 2009, 12:48 AM
 
Simple? Register to have your name added to htpasswd file for Apache basic auth. If you use a language like PHP there should be a global variable that will help you access whether the person has authenticated successfully, if you need to do auth checks progmatically. Otherwise, put all of the protected files in a particular directory and protect this directory with basic auth.
     
Addicted to MacNN
Join Date: Sep 2001
Location: NYC*Crooklyn
Status: Offline
Reply With Quote
May 29, 2009, 01:22 AM
 
Thanks, I did something similar to that but it's not a way to scale well.

I see that Expression Engine actually does this type of thing via member groups privileges and email authentication... that may look like the answer!
     
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Online
Reply With Quote
May 29, 2009, 01:30 AM
 
Meh, by the time you install Expression Engine or anything else and figure it out you could write something yourself, this isn't hard.
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
May 29, 2009, 04:18 AM
 
Unless you're already using Expression Engine...
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status: Offline
Reply With Quote
May 29, 2009, 04:18 PM
 
I am a fan of EE. If you were planning to use it anyway for the full feature set, then it makes sense to use EE. If you just want to use it for that single piece of functionality, though, it may be overkill.

Newt 2012-The Republican Revolution Returns!
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:56 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2