Zen Cart Logo
Forums / Fraud Prevention / Password protect admin folder??

Password protect admin folder??

Locked

Views: 189

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
8 Mar 2010, 5:25 PM
#1
medeano avatar

medeano

New Zenner

Join Date:
Feb 2010
Posts:
33
Plugin Contributions:
0

Password protect admin folder??

Hi to all

I was just wondering if it would be beneficial to password protect the admin folder ? i use xcart software for a shop that i run which the admin folder i password protect, just wondered if it would be a good idea if i done that on zen cart or if i would mess it up by doing this.

Many thanks

8 Mar 2010, 6:52 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Password protect admin folder??

If you mean password protecting it in CPanel (for example), can't hurt. I think a properly re-named admin folder and a proper password should be enough.

13 Apr 2010, 4:18 PM
#3
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Password protect admin folder??

its a great idea and i did that some while ago on my server, using parallels pro to protect folders..

but having to go through two sets of username and password stages to get into the admin soon became annoying as hell so I scrapped it and I think having a well renamed admin and long alphanumeric admin username and password is enough.

I did see a post a few days back about locking the admin folder down to only be viewable by certain IP address via .htaccess, thats a great idea but not had the time to try it

13 Apr 2010, 6:01 PM
#4
g1smd avatar

g1smd

Zen Follower

Join Date:
Mar 2010
Location:
UK
Posts:
449
Plugin Contributions:
0

Re: Password protect admin folder??

Yes, either or both of these can help.

Use a .htpasswd file (listed in your .htaccess file) to define one username and password that can access this folder.

Use "allow" and "deny" statements in your .htaccess file to block access to all IP addresses except those from either your own IP address or from a very small block of IP addresses (if your IP address changes from day to day).

14 Apr 2010, 2:21 AM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Password protect admin folder??

medeano:

I was just wondering if it would be beneficial to password protect the admin folder ?

It doesn't hurt! :)

17 Jul 2010, 6:13 PM
#6
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Re: Password protect admin folder??

Hey Guys, it sounds like a great idea.

I do use my admin from only one IP ( my office)

Can someone please provide us with the .htaccess/pwd file/code to be placed so that my admin is only assiceeble from my ip? and how to implement it.

I am willing to 'buy a cup of coffee' for this code, and steps to implement it on my vps.

Thanks in advance.
ZC version 1.3.8
Linux vps

17 Jul 2010, 7:09 PM
#7
shane78 avatar

shane78

Banned

Join Date:
Oct 2008
Location:
newcastle upon tyne (UK)
Posts:
876
Plugin Contributions:
0

Re: Password protect admin folder??

samar777:

Hey Guys, it sounds like a great idea.

I do use my admin from only one IP ( my office)

Can someone please provide us with the .htaccess/pwd file/code to be placed so that my admin is only assiceeble from my ip? and how to implement it.

I am willing to 'buy a cup of coffee' for this code, and steps to implement it on my vps.

Thanks in advance.
ZC version 1.3.8
Linux vps

Vger made a great point once about Admin security. If you protect your Admin folder by IP address, and your ISP gives you a dynamic IP address you can 'lock' yourself out of your admin

17 Jul 2010, 9:26 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Password protect admin folder??

Shane78:

Vger made a great point once about Admin security. If you protect your Admin folder by IP address, and your ISP gives you a dynamic IP address you can 'lock' yourself out of your admin

Only momentarily until you update the list of IP Addresses allowed to access your admin (through CPanel, ftping an .htaccess file, or whatever means you did the original restriction).

18 Jul 2010, 1:11 AM
#9
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: Password protect admin folder??

swguy:

Only momentarily until you update the list of IP Addresses allowed to access your admin (through CPanel, ftping an .htaccess file, or whatever means you did the original restriction).

And that can be a pain in the proverbial as well :blush:

18 Jul 2010, 2:27 PM
#10
samar777 avatar

samar777

Zen Follower

Join Date:
Nov 2009
Location:
Chicago, IL.
Posts:
202
Plugin Contributions:
0

Re: Password protect admin folder??

It makes sense.

so what about this awesome code guys? : ) can I get my hands of it please.

20 Jul 2010, 2:42 AM
#11
pdxdoug avatar

pdxdoug

Zen Follower

Join Date:
Jan 2008
Location:
Portland, Oregon USA
Posts:
356
Plugin Contributions:
0

Re: Password protect admin folder??

http://tools.dynamicdrive.com/password/

You might try this tool.