Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Securing the admin folder with new name.


Charell

Recommended Posts

Posted

I printed the directions (from the forum)on how to Secure the admin folder by Renaming the admin folder and it says to change two lines in my admin/includes/configure.php

define ('DIR_WS_ADMIN', '/admin/');

define ('DIR_FS_ADMIN', '/home/username/public_html/catalog.admin,');

 

The second line here I could not find in the admin/includes/configure.php file

 

Is there anywhere else I need to change this folder name?

Now to get into my admin panel, do I type into my browser: website.com/catalog/newname (instead of admin)to get in?

 

Are there better complete step-by-step directions/instructions on exactly what to do to secure my new osCommerce site? There are so many security topics started in the forum and I'm not sure if I have done what's necessary for protection.

 

Thank you,

 

Charell

Posted

I printed the directions (from the forum)on how to Secure the admin folder by Renaming the admin folder and it says to change two lines in my admin/includes/configure.php

define ('DIR_WS_ADMIN', '/admin/');

define ('DIR_FS_ADMIN', '/home/username/public_html/catalog.admin,');

 

The second line here I could not find in the admin/includes/configure.php file

 

Is there anywhere else I need to change this folder name?

Now to get into my admin panel, do I type into my browser: website.com/catalog/newname (instead of admin)to get in?

 

Are there better complete step-by-step directions/instructions on exactly what to do to secure my new osCommerce site? There are so many security topics started in the forum and I'm not sure if I have done what's necessary for protection.

 

Thank you,

 

Charell

The instructions are fine. Your line in your shop might not be exactly

define ('DIR_FS_ADMIN', '/home/username/public_html/catalog/admin,'); <-- you had a period here where there should have been a /

but it will start with

define ('DIR_FS_ADMIN' and end with

...admin,');

 

On both lines only change 'admin' to the new name of your admin folder. And yes, when accessing your new admin folder you will use your new admin folder name instead of 'admin.'

 

And changing the name only slows them down. You now need to add password security to the directory.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Posted

Morning Guys,

 

I'm having trouble with this "modification". I am able to rename the admin folder, but not able to modify the two files. When I try to open the files to mod them, I'm prompted that these files can't be edited due to permissions issues. I'm logged in with my admin account, using the file manager via my ISP, not the one within OScommerce, which I've already removed.

 

Is there another way to get in and mod those files? or temporarily change the permissions?

 

Thanks.

Posted

Morning Guys,

 

I'm having trouble with this "modification". I am able to rename the admin folder, but not able to modify the two files. When I try to open the files to mod them, I'm prompted that these files can't be edited due to permissions issues. I'm logged in with my admin account, using the file manager via my ISP, not the one within OScommerce, which I've already removed.

 

Is there another way to get in and mod those files? or temporarily change the permissions?

 

Thanks.

When viewing the directory in your file manager, Check the configuration.php file, find the button that says 'change permissions' and click on it. change to 744. Refresh. Edit file. Change permissions back.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Archived

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

×
×
  • Create New...