szilagyic Posted September 8, 2008 Share Posted September 8, 2008 Hello: I recently tested out Downloads Controller 5.3.2c on a fresh OSCommerce 2.2 RC 2a installation. Everything is working great as documented. But I have one question. Can Downloads Controller be pointed at another directory other than the default "download" folder that is located within the other public OSCommerce files? The reason I am asking is this: If somebody makes a purchase, and downloads the file (let's say it is called "file.zip"), they can potentially write down the name of the file and then point others at the URL: http://mystore.com/download/file.zip. Obviously they would have to know that this is a default OSCommerce store and that the "download" folder is there. But, if there was a way to move the publicly available "download" folder to another path on the local filesystem, this would prevent any possible direct downloads. Can this be done? I started to look at other posts incase somebody has already looked at this, but I haven't come across anything yet. Thanks very much in advance! -- Chris Quote Link to comment Share on other sites More sharing options...
szilagyic Posted September 12, 2008 Author Share Posted September 12, 2008 I ended up fixing this on my own. I found that by changing the value of "DIR_FS_DOWNLOAD" in configure.php, you can point your download folder to another folder outside of the public OSCommerce files. By doing this and using Downloads Controller, you can protect your files from getting downloaded and the users will be forced to go through the store, even if they know the name of the actual file. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2010 Share Posted July 24, 2010 I'm thinking of trying out Downloads controller so that's really useful info szilagyic, thanks for sharing it with us. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.