Locking down website access by IP is a piece of cake using apache and .htaccess file
 
First you have to navigate to the directory /if you want to lock the whole website navigate to the home directory of the website) and find .htaccess file (if it doesn't exist create it)
 
Open the .htaccess file with your favorite editor and add the following:
 

  

# -FrontPage-
deny from all
allow from 192.168.1.1

then save and upload the file. You are done.

In this example you have to change 192.168.1.1 with your IP address or the IP address you are willing to be able to visit the site. You can find out what is your IP from here

P.S. .htaccess is recursive! That means all rules will apply for all subfolders!

  • we accept:

African Casting https://pornlux.com/channel/african-casting. Library zlib Free ebooks Library zlibrary project z-library zlib project zlibrary z-lib login page books on z-lib official