I think this is a question about, Apache, however I'm trying to control the server through php.
I want to make an admin script where I can control the access to my pages.
Is it possible to use php to restrict access by the visitors ip address??
If an organization/person with a static IP address that is not allowed to enter the page should get the following message:
Forbidden
You don't have permission to access / on this server.
Is it possible to control this access through adding the IP addresses that I would allow access to my page??
Is it possible to do this through a php script?!?
Do you know about an example on the net???
I have read a lot about banning IP addresses, but in my eyes, this is something else, since it should not ban, but allow one or a few IP addresses.
Thank you for your reply.
Kj.