Here you can edit a .htaccess file by filling a simple form. In this case, the needed Apache directives will be added to .htaccess automatically.
If needed, you can block access to your website for by requesting-browser attributes (header).