Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A few basic questions to modify layout...


doktorwunder

Recommended Posts

Hi,

So here are my 2 questions :

1 - Can you add a margin right before the boxes of the left column

without adding a margin to the very top of the page (header and site logo)?

If so, how?

2 - How do you protect your admin area? I mean, I've installed osC - without

the SSL option, maybe I should have added it - and so, everyone can go

to my admin and spy/change stuff :blink: And of course, that's not good...

What can I do?

Thanks everyone!! :thumbsup:

Dr.Wunder

Always need help :(

Link to comment
Share on other sites

Hi,

So here are my 2 questions :

1 - Can you add a margin right before the boxes of the left column

without adding a margin to the very top of the page (header and site logo)?

If so, how?

2 - How do you protect your admin area? I mean, I've installed osC - without

the SSL option, maybe I should have added it - and so, everyone can go

to my admin and spy/change stuff  :blink:  And of course, that's not good...

What can I do?

Thanks everyone!!  :thumbsup:

 

1- add a column left of the current colum.

2- SSL your admin only secures data transmissions, not admin access. You need to protect admin directory access via your server settings.

Treasurer MFC

Link to comment
Share on other sites

2 - as boxtel said, SSL is for securing the connection, not for protecting folders. A possible solution is a .htaccess file, but for this you'll need to verify if your host supports it.

 

See the .htaccess tip in the osCommerce Knowledge Base for more info.

 

This article is also quite interesting.

Link to comment
Share on other sites

Thanks for your quick replies...

It's not that I really want to protect the directories from changes,

but is there any basic option on osC to get a login page before the

index of the admin, where you'd need to enter a password (the same

one for any administrator)?

Because I was thinking... let's imagine that my admin get listed on

Google :blink: That'd be terrible lol

Thanks aragorn231 I'll have a look now at those articles, maybe there's

an answer to what I'm talking about right now :thumbsup:

Dr.Wunder

Always need help :(

Link to comment
Share on other sites

2 - as boxtel said, SSL is for securing the connection, not for protecting folders.  A possible solution is a .htaccess file, but for this you'll need to verify if your host supports it.

 

See the .htaccess tip in the osCommerce Knowledge Base for more info.

 

This article is also quite interesting.

 

Alright, I've tried to add a .htaccess to my admin directory

but I don't understant what to do about the .htpsswd thing... :huh:

Is it another file I need to create in the /admin or a command

I need to do via the FTP server?

Well, at least, it doesn't work just with .htaccess one

Dr.Wunder

Always need help :(

Link to comment
Share on other sites

Alright, I've tried to add a .htaccess to my admin directory

but I don't understant what to do about the .htpsswd thing...  :huh:

Is it another file I need to create in the /admin or a command

I need to do via the FTP server?

Well, at least, it doesn't work just with .htaccess one

You need indeed 2 files:

  • 1 .htaccess file that is located in the folder that you want to protect
  • 1 .htpasswd file that is located outside of your webroot (outside of /htdocs if you have an Apache server)

The reason that this .htpasswd file should be outside of your webroot is because like that no one will be able to get access to it except those who have FTP-access to your webspace (hopefully only you).

The .htpasswd file contains the username and password of the users that should have access to the folder. The passwords in the file are encrypted. There are scripts available on the web to encrypt a password, but this may also depend on your host I believe. You could give this password encrypter a try, but if it doesn't work try to check with your host. They might have some info in a FAQ or even a script to encrypt passwords like the link I provided here.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...