The plugin Htaccess allows controlling access to your website using the directives Allow and Deny.