Sat, 01/05/2010 - 17:48 — horuskol
First off, restricting access to your entire website is pretty easy.
All you need to do is put the following at the top of the .htaccess file in your website's document root:
Order deny,allow Deny from all
This will prevent anyone from seeing your website. Admittedly, not terribly useful, but it's a start.
It is important not to have a space in 'deny,allow', as this will cause an Apache server error.