PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

Only Allow Your IP to Access Website or Blog Admin

If you are the only owner of any website or blog and want to protect your admin directory then you can allow that admin directory for just your IP and deny from all others. Here it is how.

# just allow my computer and my IP to access admin of this site
order deny,allow
deny from all
allow from xxx.xx.x.xxx

Where xxxxx digits will contain your IP address. This example will work if you use a static IP. You can check your IP from here.

  • Share/Bookmark
Posted in: Security
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0

Related Posts




  1. 3 Trackback(s)

  2. Dec 21, 2009: Only Allow Your IP to Access Website or Blog Admin - Security … Scripts Rss
  3. Dec 21, 2009: Only Allow Your IP to Access Website or Blog Admin – Security … | Coder Online
  4. Dec 21, 2009: Only Allow Your IP to Access Website or Blog Admin – Security … | Kerja Keras Adalah Energi Kita

Post a Comment

  Subscribe Via RSS
  Subscribe Via Email