Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to password protect Admin?


Seo Jon

Recommended Posts

Posted

How do you password protect your admin section. from what I read .htaccess only works with Apache servers. I beleive my server is Apache, but how do you protect it? Is there something else I need to do?

Posted
How do you password protect your admin section. from what I read .htaccess only works with Apache servers. I beleive my server is Apache, but how do you protect it? Is there something else I need to do?

 

go into you webhosts cPanel. There will be a file management tool and it should have a link to a GUI feature for password protecting folders.

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
go into you webhosts cPanel. There will be a file management tool and it should have a link to a GUI feature for password protecting folders.

 

 

My hosting company will not give information on password protection. They refer me over to the Apache site. And non of that makes sense. Is there some sort of code I can just copy and paste to make it work?

Posted
My hosting company will not give information on password protection. They refer me over to the Apache site. And non of that makes sense. Is there some sort of code I can just copy and paste to make it work?

 

if you have different hosts for database and files, yes the file's one must be used fro password protection. Don't you have a cPanel there?

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Posted
if you have different hosts for database and files, yes the file's one must be used fro password protection. Don't you have a cPanel there?

 

 

The C panel is junk. It doesn't give you too many options to work with. I've been reading up on .htaccess So far I can get my admin to ask for a password, but when I put in my password, it don't work. Here's the code that I'm putting:

 

AuthName "admin"

AuthType Basic

AuthUserFile admin/.htpasswd

Require valid-use

 

What's the deal?

Archived

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

×
×
  • Create New...