Stephen
06-26-1999, 01:42 AM
I am wondering how people handle the general problem of controlled software distribution from their sites. I know one way would be to get an ftp account and give every user a username and password which allowed them access to a particular password-protected ftp directory. But what if I only want them to grab a single file, and not other files in that directory? Is that possible, or do you need another "ftp account" for each protected directory?
I am thinking of a model in which some users want one file (or product) and others want another, and I want to know who has access to what. Briefly I tried to find a way to provide a "button" on a password-protected cgi page which, when clicked, would activate an ftp download without letting the user know where the file was coming from on my site (so they couldn't grab a second copy, or distribute the link, without going through that password-protected form). But that doesn't appear to be possible--at least not with the limited (Perl) programming knowledge I have.
Alternatively, I could use an e-mail script to send them a zipped file automatically whenever they need a download. Are there any obvious disadvantages to doing it this way?
I am thinking of a model in which some users want one file (or product) and others want another, and I want to know who has access to what. Briefly I tried to find a way to provide a "button" on a password-protected cgi page which, when clicked, would activate an ftp download without letting the user know where the file was coming from on my site (so they couldn't grab a second copy, or distribute the link, without going through that password-protected form). But that doesn't appear to be possible--at least not with the limited (Perl) programming knowledge I have.
Alternatively, I could use an e-mail script to send them a zipped file automatically whenever they need a download. Are there any obvious disadvantages to doing it this way?