Protect your posts. No Javascript required.

by Chris, Sat 26th Apr, 2008, in categories: Using Blogsome

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.

Password box.

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

Protected post.

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.

2 Comments »

  1. tanakwagu said,

    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.

  2. chris at itsallbeta said,

    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.

Leave a comment

Line and paragraph breaks automatic, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> . Your email address is required but is never displayed.

Comments must be approved before publication. Please note: it may take some time before your comment appears.



Anti-spam measure: please retype the above text into the box provided.