Guest Posted January 11, 2005 Posted January 11, 2005 I have my first OSCommerce cart loaded with products and ready for production. How do I hide the Admin section and password protect it? When I simply try to rename the folder none of the links work in my admin section. I moved to OSCommerce after my VPASP cart was hacked multiple times so security against hackers is important. I only need one login, no fancy multiple user access configuration. Can someone help please?
Guest Posted January 11, 2005 Posted January 11, 2005 use your host control panel for password protect directory if you want to move the folder also you have to change the path in the configure.php located in the admin/includes
Guest Posted January 11, 2005 Posted January 11, 2005 Ok, I changed the folder name in the configure.php file. How do I access the host control panel to setup the directory to be password protected?
Guest Posted January 11, 2005 Posted January 11, 2005 How do I access the host control panel to setup the directory to be password protected? <{POST_SNAPBACK}> How should we know ? It's your host ! Ommmmm...... Ommmmm.... Nope ! It's not working - sorry. Rich.
ozcsys Posted January 11, 2005 Posted January 11, 2005 How should we know ? It's your host ! Ommmmm...... Ommmmm.... Nope ! It's not working - sorry. Rich. <{POST_SNAPBACK}> You must have lost the number to the psychic hot line The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
riyaz3000 Posted January 12, 2005 Posted January 12, 2005 i have the same problem... i am installing from fresh, and want to install oscommerce with a renamed admin folder.... The reason i need to rename is rather than use a .htacess file is because i have a windows hosting ( obviously with php support) which does not allow the use of such files. I tried using dreamweaver to edit all references to the admin/ folder to the folder i wanted to use (e.g. adminx) - - dreamweaver has a function to "find/replace" specific strings site wide[specifying source not just text] i uploaded the new files and ran the installation (www.domainname.com/install) the installation reported a successful install.... however when i clicked the link to the admin error it presented me with 1 warning and one fatal error... basically links and includes couldn't be found. Is there a global variable i change in an include file or specific file.. i looked around. The install file that came with the zipped install files ( ver 2.2ms2 ) says within step 2: " Do the same for the 'admin' directory but rename the directory to a unique and secret name. This directory does not have to reside inside the catalog directory, though may need to be manually configured. " but i cant seem to find where i can do this... has anyone sucesfully done this yet? PS.. i did use the windows version ( but there are hta files - should they be there?) I've just brought the domain name and web space so changing to linux hosting is not an option... I would appreciate anyone's help on this.... i've tried 3 times now and each time took aaaages to upload (then delete all when it fails!)
Guest Posted January 12, 2005 Posted January 12, 2005 there are many ways of securing a windows folder. you can also use admin access with levels contribution
Guest Posted January 12, 2005 Posted January 12, 2005 I have my first OSCommerce cart loaded with products and ready for production. How do I hide the Admin section and password protect it? When I simply try to rename the folder none of the links work in my admin section. I moved to OSCommerce after my VPASP cart was hacked multiple times so security against hackers is important. I only need one login, no fancy multiple user access configuration. Can someone help please? <{POST_SNAPBACK}> I didn't bother with anything fancy... I hope this helps. All I did was protect the admin directory using my Host's Control Panel. How to do this varies depending on your host... but I can pretty much guarantee it is in their FAQ's. Just protect the directory and assign a user/pass to access it. If you have trouble with that, let me know who your host is... I may be able to help more.
riyaz3000 Posted January 15, 2005 Posted January 15, 2005 there are many ways of securing a windows folder. you can also use admin access with levels contribution <{POST_SNAPBACK}> is that an option that should be in my host's control panel. i'm using a co called virtueserver there is no folder protection etc available -unusually!- first time i have seen this option lacking...
Guest Posted January 15, 2005 Posted January 15, 2005 no, it is not in their cpanel, it is an application avaialbe via contributions. ask your host how to password protect a directlry, they may even ht that in an FAQ file. this is not an oscommerce issue but a hosting issue.
Guest Posted January 15, 2005 Posted January 15, 2005 After you rename the Admin folder you have to: Open catalog/admin_conf/includes/configure.php change define('DIR_WS_ADMIN', '/catalog_alpha1/admin/'); // absolute path required define('DIR_FS_ADMIN', 'e:/program files/easyphp1-7/catalog_alpha1/admin/'); // absolute path required As simple as that. Now use the provided control panel to secure the admin directory or you can also create .htaccess with http://www.webmaster-toolkit.com/htaccess-generator.shtml Now you are ready to face the real world! :thumbsup:
grantjm Posted October 4, 2005 Posted October 4, 2005 no, it is not in their cpanel, it is an application avaialbe via contributions. ask your host how to password protect a directlry, they may even ht that in an FAQ file. this is not an oscommerce issue but a hosting issue. I tried the URL http://www.webmaster-toolkit.com/htaccess-generator.shtml It did password protect the page, but I cannot log on now. I do not know what I am doing wrong. Has any one else tried this solution. I may add - it is very easy. BG Making the internet community better. Knowledge is power.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.