Post by dmitryp » Mon Dec 21, 2015 11:26 pm

I got a question about instant download files

Is there a way for files to be in a different location and not to be accessible to somebody who is working on the site?
I'm working with a client who does not want developers to have access to the files which are in "download" folder because these files contain proprietary information.

So basically every time that someone is working on the site they can have access to that proprietary information.

Is there a way to host these files in a different parts of the server? On a different server? or maybe hosted with service such as SendOwl?

Basically the only people who can access those files are the ones who order the downloadable product and the owner of the website.

Thank you for your help
D

Newbie

Posts

Joined
Thu Dec 22, 2011 3:06 am

Post by victorj » Tue Dec 22, 2015 6:35 am

a bit complicated but can be done.

locate download outside opencart base folders ie in root off your hosting.
in order to do this, you will have to edit your config files to reflect aboslute path outside your hosting
normally this path will be:

Code: Select all

/home/sitename/public_html/download/
assumed you have cpanel

change to:

Code: Select all

/home/sitename/whateverfolder/
dont grant access to root of site and you will be oke

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by tdaubs » Tue Dec 22, 2015 8:09 am

dmitryp wrote:I got a question about instant download files

Is there a way for files to be in a different location and not to be accessible to somebody who is working on the site?
I'm working with a client who does not want developers to have access to the files which are in "download" folder because these files contain proprietary information.

So basically every time that someone is working on the site they can have access to that proprietary information.

Is there a way to host these files in a different parts of the server? On a different server? or maybe hosted with service such as SendOwl?

Basically the only people who can access those files are the ones who order the downloadable product and the owner of the website.

Thank you for your help
D

Does the client own his own server and have it in his own data center? If not, what he is asking for is not possible. For instance, if the server is located at a hosting company... then any server administrator at that hosting company can access those folders. Also, anyone who has shell access and possibly even users with FTP access depending on how the machine is setup. To really have the type of protection they want... they need to run their own data center.

Image
Opencart Support . Buy Me a Coffee?


User avatar
Active Member

Posts

Joined
Fri Apr 08, 2011 4:51 am
Location - Southern California
Who is online

Users browsing this forum: No registered users and 38 guests