Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to separate admin from catalog


gbos

Recommended Posts

Posted

Hello i'm thinking if it is possible to have admin area in a different server from the catalog's one. I think that it would be good for security.

I haven't tryed it yet, but imho it is possible. This is what i'd do, i'd like to know if it is ok and if it works.

1) i perform normal installation, then on the server A i leave all folders except admin folder, on the server B, that could be also my pc, only the admin one.

2) modify admin/includes/configure.php as follow:

define('HTTP_SERVER', 'http://serverB'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTP_CATALOG_SERVER', 'http://serverA);

define('HTTPS_CATALOG_SERVER', 'https://serverA);

 

 

Are all other define right? i think that no more needs to be modyfied.

This could be avoid that somebody when knows to be in front of an oscommerce shop try to hack the admin or the renamed admin folder to get the configure.php file

Posted

Both configuration files point to the mysql database.

 

Would be fun to try to connect to a db on another server!!

 

Might be easier to rename the admin folder to difficultDireCtorynameTOGuess and edit configure.php

 

Let me know how you get on........

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...