p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

asp_discuss thread: How to restrict the user to download a software only once?

Message #1 by "Fawaz" <fauziab@h...> on Mon, 15 Oct 2001 18:10:11

Just need some ideas from the experts and pros. I am trying to limit the 

user to download my software from the web only once and if he tries to do 

that again after the evaluation period has expired (lets say for simpicity 

on the same machine) then he should get some kind of error. There are some 

issues here like whether i should check for the user or the machine next 

time he tries to download. 

So if anyone out there can give me some ideas on how to do this? Do i need 

a component or is there someway that i can do this with the information i 

get from the user like name, email address etc?

Thanks for the help.

Message #2 by "Andrew Haslett" <scooter@p...> on Mon, 29 Oct 2001 09:37:34
The whole beauty / problem with the internet is that it is 

basically 'anonymous', therefore there's not much you can do in terms of 

restricting the actual downloads.

Perhaps you could try placing a cookie on the user's system or requesting 

an email address before downloading but these methods are easy to work 


So that leaves you with the software itself.  I think most shareware type 

programs wanting this restriction record a hidden value in the registry or 

perhaps a hidden file on the user's system somewhere, that remains in 

existence even after the program is 'uninstalled'.

However these methods can be worked around with a 'clean install' 

or 'system restore'.

Apart from that I can't think of any other way to accomplish what you 

want.  Some others might though....



  Return to Index