Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Admin CP security?
#1
Hey!

I have a few questions on how to protect the admin cp, hopefully someone will be able to help:

1. What would be the best way to log activity in admin cp?
2. How to restrict all IPs but 2 from accessing any page in the admin cp?
Reply
#2
Hello Galaxian,

First of all change the name of your control-panel folder to something else.

Second if you want to restrict all the access but only 2 IP's to access it you need to use .htaccess

And here is how to do it:

1. Create an file in your control-panel folder (or the new name of the panel) called: .htaccess

2. Add the next into the file and save it:

PHP Code:
Hidden content for guests 

Note:

111.111.111.111 = first allowed IP
222.222.222.222 = second allowed IP

Enjoy Tongue
GET 50% TO ALL PES PRO MODULES
↶ ↶ ↶ CHECK ↷ ↷ ↷
Hidden content for guests
Reply
#3
(04-07-2015, 08:28 AM)Breaker Wrote: Hidden content for guests

Thanks a lot mate! Great tip on the name change too, appreciated.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Question Regarding Admin Panel pankajjangir 0 1,405 01-25-2019, 04:54 PM
Last Post: pankajjangir
  Admin Panel on Mobile SMRE 0 1,659 06-05-2018, 07:02 AM
Last Post: SMRE
  Is that possible in admin panel? deadlef 1 1,835 08-24-2016, 09:23 AM
Last Post: kasabezwysilku

Forum Jump:


Users browsing this thread: 1 Guest(s)

About MN Shop

MafiaNet Shop is an online store where you can buy powerful scripts, cool templates, graphic components and many other digital goods.

              Quick Links

              User Links

              Advertise