Post by mrbi11 » Fri Aug 08, 2014 8:02 am

Although in both config.php there is a setting for image folder
define('DIR_IMAGE', '/home/esoftw5/public_html/me3d.us/me3d.us/image/');
so apparently one could:
define('DIR_IMAGE', '/home/esoftw5/public_html/me3d.us/me3d.us/PRIVATEIMAGEFOLDERNAME/');


In fact, it is hard coded in dozens of places that the URL is generated with the string 'image/',
so renaming the image folder for privacy/security is not practical.

Here is an example:
if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1'))) {
return HTTPS_CATALOG . 'image/' . $new_image;
} else {
return HTTP_CATALOG . 'image/' . $new_image;
}
The code is littered with this construct.

Newbie

Posts

Joined
Fri Aug 08, 2014 7:56 am

Post by Reemon » Fri Aug 08, 2014 6:44 pm

Hey just question. If you have some "private image folder name". What would be it for? If I would go to your website and there would be some images from "private image folder name" then I would easily find out what the name is. Am I missing something?

New member

Posts

Joined
Fri Mar 07, 2014 6:11 pm

Post by Qphoria » Fri Aug 08, 2014 11:25 pm

You are both right. You could rename the image folder and the hardcodes should be changed... however, one could easily view the source of your page and get that image path so there's no real value.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 27 guests