htaccess allow IP addresses
If your website is under construction, you can simply edit .htaccess file to disallow visits to your website. Here is the code :
<Limit GET POST PUT>
order deny,allow
deny from all
allow from 12.245.67.190
</Limit>
allow from 12.245.67.190 command allows access to your server only from 12.245.67.190 IP address.
You can allow more IP’s to access your website :
<Limit GET POST PUT>
order deny,allow
deny from all
allow from 12.245.67.190
allow from 12.245.67.192
</Limit>
This practice is good in case you are modifying your website (performing a new joomla installation) and don’t want others to see the process.
Original source: http://htaccessfile.com/htaccess-allow-ip-addresses