Protect your posts. No Javascript required.
Caleb left a comment last month. He was having problems creating protected blog posts (posts that can be read only by certain people who have the right password to access the posts). He had tried some Javascript but it hadn’t worked. So I decided to look into the problem.
As far as Blogsome is concerned, it’s easy to protect your posts. There’s no need to use any Javascript at all. When you write a post, there is a password box on the right hand side of the dashboard. Here’s one I filled in earlier over on a test blog. Notice the password field has been completed with the password ‘roger_rabbit’. If you decided to protect a post, do try to pick a better password than that.

Next time someone comes to your blog, this is what they will see.

I tried putting the wrong password in, as if I was a nosy visitor who was trying to guess it, but I was only allowed to read the post when I put the correct password in the box.
I tested this in Firefox 2.0 and Internet Explorer 6 and it worked ok in both browsers.
Updates: Password protection does seem to stop anyone from reading your protected post in an RSS feed reader. Have checked this in Google Reader and Bloglines. All you see for the protected entry is the line “There is no excerpt because this is a protected post”.
There is also a way to make your entire Blogsome blog private. No Javascript required. Matt Schinckel has the solution.
why we need to protect post? if you don’t want to share and don’t post into internet. put into your dairy book.
thanks.
May 7, 2008
Good question, tanakwagu. Well, sometimes you might want to share a post (or an entire blog) only with some of your relatives or friends. If those people live in other countries, it’s no good putting things in your ‘dairy’ book, where nobody can seen them. Instead, just put them on your password protected blog and let your friends have the link to your blog along with the secret password.
By the way, you could use email instead of a password protected blog. However, a blog allows you to present posts with a better layout than email. There are also fewer problems with things like attachments, audio files etc.
May 8, 2008