Protecting a directory

Associate
Joined
15 Mar 2005
Posts
47
Hi everyone,

I have a site and am in the process of creating a subscription area for paying members only. I have set this up through PayPal which then sends an Instant Payment Notification to my site which then updates the users level to a paying member. A paying member obviously has access to pages that a normal user doesn't.

On these paying member pages there are video links for videos which only paying members are allowed access to.

Now obviously any use that knows the direct link to any of these files would be able to download them quite easily without the need of having to go to the paying members page.

My question is, is there a way to stop this ?

I know I can obviously use a .htaccess file to protect the directory but then I would have to have one generic username and password for this that ALL the paying members use when they request the file. Or have PayPal insert usernames and passwords for every user into the .htaccess automatically.

There must be a better way of doing it thant this ?

How do chargeable download sites normally work ?

Cheers
 
Yeah I already have a user database... the users can go directly to the video though without having to go to the members page.
 
Back
Top Bottom