There are Some scripts and blog you dont want to make public . There are always Dba around looking to steal your scripts and notes :)
In Blogger.com we can password protect your Blog using below
We also have similar option in wordpress
To protect entire Blogger, you can:
Sign in to Blogger
Select a blog in the top left
Click Settings from the left menu
Under Permissions, click Reader access
Select Private to authors so that only the blog's authors can access it
Password protect single Blog
You can also password protect specific content in a blog post. To do this, you can:
Edit Blog in html format and paste below code at top of blog
Change the password for the page
Update the page
<script type="text/javascript">
/* Password Protection Script by www.bloggerspice.com*/
var password = 'BloggerSpice'
password=prompt('Please enter the password to enter this page:','');
if (password != 'BloggerSpice') {
location.href='PAGE URL HERE';
}
</script>