iJoomla Forum

iJoomla Digistore => Support Questions => Topic started by: evolvingtech on November 13, 2007, 08:54:47 AM



Title: Uploading downloadable content to a database instead of a static directory
Post by: evolvingtech on November 13, 2007, 08:54:47 AM
I want to be able to sell downloadable software products using digistore. I don't want the downloadable software I am selling to be located in a static directory. Does digistore upload the files I am selling to somewhere outside the physical directory, such as storing the files as a Blob object inside a database table? [This is how files in Resmository are kept, and I quite like the fact that files for downloading can be housed outside a physical directory.]

Thanks,

Loren


Title: Re: Uploading downloadable content to a database instead of a static directory
Post by: merav on November 13, 2007, 03:42:14 PM
Loren,

I have asked the programmers to answer this one. We'll wait for their reply.


Title: Re: Uploading downloadable content to a database instead of a static directory
Post by: Rob Joyce on November 13, 2007, 11:32:11 PM
Hi,
  to answer your questions.
Digistore uploads to a location that is insite the website structure.
If you're selling anything then your admin section of your site shold be protected by an .htaccess password file.
and with this in place, nobody can directly access the files.
Not even the encoded files can be accessed.
If you're planning on selling php components, you might be interested in our ioncube encoder plugin too.
When a user selects to download their file or component, the system copies it to a temporary location for the user to download that is in the front end.
You should create a cron job to clean out this directory at least once a day.
We dont store the files in the database because mysql isn't designed to handle a large size dbase. and if it corrupts, you've lost everything.