I am just about to put a Magento site live and wondered what the best method is to protecting Magento's directories.
At the moment I have simply stuck in the following into my htaccess
RewriteRule ^(var) - [F,L]
This only protects the /var folder should I protect any others and is this the best way?