#1 (permalink)  
Old 01-04-2008, 04:38 PM
Registered User
 
Join Date: Jan 2008
Posts: 1
irrumate is on a distinguished road
I need help developing password protected directories!

I am trying to sell downloadable goods and need some directories to be password protected. I know I can use cPanel to password protect some directories, however, I was wondering if it was possible to have a script that would create a username and/or password that would be valid for a certain time and would expire afterward so it wouldn't be possible for someone to pass off the username and/or password. Please help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 06:31 AM
verdon's Avatar
Registered User
 
Join Date: Nov 2003
Location: Northern Ontario, Canada
Posts: 791
verdon
you probably use a proper shopping cart with this feature. It will be a bit of setup, but you'll get something that functions and offers a lot of other features (like reporting). I would advise zen-cart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-26-2008, 01:10 PM
Registered User
 
Join Date: Aug 2003
Location: Texas
Posts: 90
wsenter
Here is how you could do it as well...

1. Set up a cron job to run nightly

2. When you want to add a new password protected directory use either the cpanel plugin to create a password protected directory OR use php curl and create a custom app that adds a password protected directory in cpanel.

3. Then have the nightly cron job remove the password protected directory via the exact same fashion that it was originally added via step #2.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-26-2008, 04:37 PM
Registered User
 
Join Date: Feb 2005
Location: North Carolina
Posts: 237
RickG is on a distinguished road
As verdon mentioned, many shopping carts include the ability to sell "downloaded goods" that would address your needs. In lieu of that, http://www.locked-area.com/ has some great scripts for managing restricted access to directories.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting 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



All times are GMT -5. The time now is 04:49 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc