Forums / General Questions / Removing login requirements for the admin area

Removing login requirements for the admin area

Locked

Views: 1,007

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
13 Nov 2007, 2:00 PM
#1
prodigy avatar

prodigy

New Zenner

Join Date:
Aug 2005
Posts:
19
Plugin Contributions:
0

Removing login requirements for the admin area

I have created a customized page that resides in the admin directory, how do I go about removing the security on this page? (Note: our installation is only available internally only)

Any help would be appreciated.

Thanks.

14 Nov 2007, 10:37 AM
#2
prodigy avatar

prodigy

New Zenner

Join Date:
Aug 2005
Posts:
19
Plugin Contributions:
0

Re: Removing login requirements for the admin area

As an add-on question from my earlier post,

Is it possible to remove the requirement to logon to the admin pages? (Our installation of Zencart is NOT available on the internet).

Thanks.

14 Nov 2007, 12:09 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Removing login requirements for the admin area

Create a new file, named /admin/includes/init_includes/overrides/init_admin_auth.php
with this as the content:```

<?php $_SESSION['admin_id'] = 1; ``` USE AT OWN RISK ... having no security on your Admin area is dangerous business.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

14 Nov 2007, 12:36 PM
#4
prodigy avatar

prodigy

New Zenner

Join Date:
Aug 2005
Posts:
19
Plugin Contributions:
0

Re: Removing login requirements for the admin area

Many thanks DrByte that worked perfectly.

20 Nov 2007, 11:22 AM
#5
prodigy avatar

prodigy

New Zenner

Join Date:
Aug 2005
Posts:
19
Plugin Contributions:
0

Re: Removing login requirements for the admin area

This works for Zen Cart 1.3.7.1 but does anyone know how to achieve the same for version 1.2.6?

Thanks