osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

securing admin? how do I do it?

This is a discussion on securing admin? how do I do it? within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Apologies if it's obvious -- my client noticed that it wasn't secure and I need to fix it pronto pronto! ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-20-2004, 04:36 PM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default securing admin? how do I do it?

Apologies if it's obvious -- my client noticed that it wasn't secure and I need to fix it pronto pronto! I thought it would be secure because I reinstalled and got the SSL working for the catalog (checkout is currently secure). Why isn't the admin secure? Do I need to reinstall again?

Thanks ahead,
Greg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-20-2004, 10:04 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,071
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Hi,

you need to edit the admin/includes/configure.php file.

Find the http server define and change it to your https url. Do the same for the https define. Make sure use ssl is set to 'True'

That should secure it for you...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to michael_s For This Useful Post:
typhus (04-12-2008)
  #3  
Old 04-21-2004, 03:06 AM
Member
 
Join Date: Feb 2004
Posts: 89
Thanks: 4
Thanked 0 Times in 0 Posts
Rep Power: 0
gheffron
Default

Thanks a heap! Worked like a charm.

Cheers,
Greg
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-06-2004, 10:06 PM
Lurker
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
david510
Default

Hello,
I just did that and noe it is showing as 'You are protected by a unknown secure SSL connection.' Please help

David
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-07-2004, 01:10 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
groggory
Default

It's SSL. You're good.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-08-2004, 01:22 PM
Lurker
 
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
sagarc
Default

How did you get the checkout working? I am having a terrible problem in connecting the checkout, create account etc to SSL. Am using a shared SSL connection and it it having database problems.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 12-09-2004, 01:49 AM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
groggory
Default

Quote:
Originally Posted by sagarc
How did you get the checkout working? I am having a terrible problem in connecting the checkout, create account etc to SSL. Am using a shared SSL connection and it it having database problems.
I put it in the wiki. I tested it using both a cert and a shared cert. Just follow the wiki.

http://oscdox.com/modules.php?op=mod...p;pagename=SSL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to groggory For This Useful Post:
typhus (04-12-2008)
  #8  
Old 01-02-2005, 05:02 AM
Member
 
Join Date: Aug 2003
Location: Southampton UK
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
NickW
Default

I had to change the following line of code in the admin index.php file before it would recognise that the connection is secure (seems to be a peculiarity of this 1&1 server):

around line 236:
if (getenv('HTTPS') == 'on')
changed to:
if (getenv('HTTPS') == '1')

The variable SSL_CIPHER_ALGKEYSIZE does not seem to be available on my server so I'm getting the message "...unknown secure SSL connection".
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 08-02-2005, 01:13 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,071
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

Quote:
"...unknown secure SSL connection".
If anyone is interested, this is usually due to the Apache environment not making the ModSSL environment variables available to virtual accounts.

If your host allows htaccess and is using ModSSL, you should be able to add the following directive to your /admin .htaccess file to enable the SSL environment variables:

Code:
SSLOptions +CompatEnvVars
Then, you should change the following line (341 in oscmax v2) in /admin/index.php:

Code:
    $size = ((getenv('SSL_CIPHER_ALGKEYSIZE')) ? getenv('SSL_CIPHER_ALGKEYSIZE') . '-bit' : '<i>' . BOX_CONNECTION_UNKNOWN . '</i>');
to

Code:
    $size = ((getenv('SSL_KEYSIZE')) ? getenv('SSL_KEYSIZE') . '-bit' : '<i>' . BOX_CONNECTION_UNKNOWN . '</i>');
That will allow osCMax to read the ModSSL environment variable 'SSL_KEYSIZE' and the admin page will correctly display the level of encryption your cert is using.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to michael_s For This Useful Post:
Growler (10-03-2008)
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
securing and storing database queries fun2bnuts osCMax v2 Installation issues 2 06-26-2005 10:09 PM
Securing iPayment payment module imlek osCommerce 2.2 Modification Help 1 08-23-2004 07:50 AM
Page 13 - securing installation question ? Anonymous osCommerce 2.2 Installation Help 1 11-29-2002 09:25 AM


All times are GMT -8. The time now is 07:00 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax