Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 7th, 2006, 7:31 PM   #1
superflytrainer
Newbie
 
Join Date: Apr 2006
Posts: 5
Rep Power: 0 superflytrainer is on a distinguished road
How to protect download page

I think a php programmer should know how to do this. I'm releasing an ebook soon, and i'm allowing people to download it, however, how can i prevent people from sending the download url page out, and is there a way i can disable an ebook after someone have it? Do anyone now a script or can make one?Thanks
Doug
superflytrainer is offline   Reply With Quote
Old Apr 7th, 2006, 8:28 PM   #2
DBZ
Newbie
 
Join Date: Feb 2006
Posts: 22
Rep Power: 0 DBZ is on a distinguished road
u, there's a couple of site has this but not sure forgot them... soz try ask other ppl
DBZ is offline   Reply With Quote
Old Apr 7th, 2006, 9:13 PM   #3
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Apr 7th, 2006, 9:18 PM   #4
mongeau
Newbie
 
mongeau's Avatar
 
Join Date: Apr 2006
Location: Fargo, ND
Posts: 29
Rep Power: 0 mongeau is on a distinguished road
Send a message via MSN to mongeau
Quote:
Originally Posted by DaWei

Hehe, I was thinking the same thing. :p

superflytrainer: I would use user authentication with image verification. This would make it so each user would have to register/login and type in the auto-generated image characters in order to download your file. You can read a decent overview here.

There is no way to limit the spread of your eBook file, however. Well, at least not with PHP.
__________________
I wish I was you, so I could be friends with me.
mongeau is offline   Reply With Quote
Old Apr 8th, 2006, 4:30 AM   #5
ASHORY
Programmer
 
ASHORY's Avatar
 
Join Date: Dec 2004
Location: Egypt
Posts: 30
Rep Power: 0 ASHORY is on a distinguished road
Send a message via ICQ to ASHORY Send a message via MSN to ASHORY Send a message via Yahoo to ASHORY
@superflytrainer

see that link it may help

http://www.webmasterworld.com/forum88/11957.htm
__________________
"^Ahmed.SHOukRY^"
http://www.ashory.741.com
ASHORY is offline   Reply With Quote
Old Apr 8th, 2006, 11:32 AM   #6
superflytrainer
Newbie
 
Join Date: Apr 2006
Posts: 5
Rep Power: 0 superflytrainer is on a distinguished road
So those the image verification only limit the download to that computer? I now that it stops robots from oopening up certain accounts but wasn't sure if it can prevent people from sharing your download page.
superflytrainer is offline   Reply With Quote
Old Apr 8th, 2006, 11:38 AM   #7
mongeau
Newbie
 
mongeau's Avatar
 
Join Date: Apr 2006
Location: Fargo, ND
Posts: 29
Rep Power: 0 mongeau is on a distinguished road
Send a message via MSN to mongeau
Quote:
Originally Posted by superflytrainer
So those the image verification only limit the download to that computer? I now that it stops robots from oopening up certain accounts but wasn't sure if it can prevent people from sharing your download page.
You could make it work like that, yes. The intricacies of how to make it work, I am not sure, but I have seen it done. Just research it a little.
__________________
I wish I was you, so I could be friends with me.
mongeau is offline   Reply With Quote
Old Apr 8th, 2006, 5:54 PM   #8
ASHORY
Programmer
 
ASHORY's Avatar
 
Join Date: Dec 2004
Location: Egypt
Posts: 30
Rep Power: 0 ASHORY is on a distinguished road
Send a message via ICQ to ASHORY Send a message via MSN to ASHORY Send a message via Yahoo to ASHORY
you can use cookies too ,
is the cookie isset then download and !isset dont download .
right
__________________
"^Ahmed.SHOukRY^"
http://www.ashory.741.com
ASHORY is offline   Reply With Quote
Old Apr 8th, 2006, 6:27 PM   #9
mongeau
Newbie
 
mongeau's Avatar
 
Join Date: Apr 2006
Location: Fargo, ND
Posts: 29
Rep Power: 0 mongeau is on a distinguished road
Send a message via MSN to mongeau
Quote:
Originally Posted by ASHORY
you can use cookies too ,
is the cookie isset then download and !isset dont download .
right
Cookies, session variables, it doesn't matter. Just anyway to confirm the identity of the user.
__________________
I wish I was you, so I could be friends with me.
mongeau is offline   Reply With Quote
Old Apr 8th, 2006, 6:29 PM   #10
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Yeah, and what if they delete or modify the cookie? Or have cookies disabled? Security is not a trivial thangy. I perceive some reading is in order, prior to 'fixing' the problem.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC