How To Protect Your Post With Password in Blogger

Whenever we think about security the first words arrives in our mind is “Password Protection”. We are in 21st century the era of information technology, now days almost every thing has highest security i.e. online communities, files, documents and etc. Security plays vital role and have great significance when it comes to the personal matters and complex things. If the entire world is getting protected so why do we bloggers left behind.

An extremely powerful and useful script for blogger Blogspot blogs has been introduced by well known blog vincentcheung This script is capable of hiding what ever text you want in a form of encrypted code which can be uncovered if your users know the password to see the hidden text. Currently it is the most useful and secured method of protecting our post which I personally liked a lot. The hidden text is not easy to crack so it remains hidden from un-welcomed visitors. And according to the creator even he cannot decrypt (View) the hidden text except the person who knows the password. The whole systems works like a security lock which will only operate if we have the key to unlock so Today we will Password Protect our Bloggers Posts.

I know you would love to see the live demo that how the whole process works so before we spin our fingers over the tutorial first look at the instant preview.

Adding JavaScript To Blogger Blogs:

These steps are simple so do as directed
  • Go To >> Your Blog
  • Now Select Template >> Edit HTML
  • Now Press Proceed >> And Search For 

  • And Now just below it paste the following code 
<!--MBL POST PASSWORD PROTECT CODING --> <script type="text/javascript" src=""></script>

 How To Password Protect Our Post in Blogger

Now it is up to us whatever we wish to show images, text, videos, or any thing to only preferred visitors. So to password protect a certain content of your post simply go to >> Create Post and once you are finished do as directed

Step #1.  Now Switch to HTML mode and copy all the code that is present there as shown in the image below

Step #2.  Now we will go to Encryption PageOn this page you will be able to see four boxes

  • One with yellow color is called Key Box.
  • One with green color is called Plain Text Box 
  • One with red color is called Cipher Text Box.
  • And one with blue color is called HTML Code BoxBut we are only interested in Key box, Plain Text Box and Html Box. so do as follows.
  • Enter your desirable password in Key box.

  • And Now after Pasting the code Hit Encrypt button present below Plain Text Box
  • After Pressing Encrypt Button COPY the code from the HTML CODE box

The Html Code which you copied in the previous step is the same post that you created previously in Blogger but this time you will observe strange illogical characters so don’t worry it is the same post with same images, videos. Now you can use this HTML code in your any posts and instead of seeing the big sum of code your visitors will see a link >> Show Encrypted text.

Step #3.  Now after copying the code get back where we were working previously, Blogger >> Create Post >> Now in the Blogger Post Editor under HTML TAB paste the HTML code which your copied earlier. You can write anything instead of this text >> Show Encrypted text But make sure you do all the changes under HTML TAB

So That's how we can password protect our post in Blogger. This is a new feature which we discovered I hope you will enjoy this newly introduced function. Till then Peace, Blessings, And Happy Protecting

The Editorial Team of MyBloggerLab consists of a group of Professional Blogger geeks Led by Syed Faizan Ali (Founder of MyBloggerLab).

Comment With:
Choose Wisely!


May 4, 2012 at 10:35 PM

Cool-Nice-Rocking-Blasting-Awesome Post :)

Editorial Team MOD
May 5, 2012 at 2:00 AM

Thanks Brother For Such Kind Works. Peace Pal :)

May 6, 2012 at 9:09 AM

Thank you very much brother

can you give me Tips to improve my blog and get More visitors

Thank you we weait Your new

Editorial Team MOD
May 6, 2012 at 12:06 PM

@Michel Shôen
Thanks Pal For Liking The Post, And As Far As Traffic Is consurn We need To Improve On The Following

1. Do Frequent Posting At least 1 Post Per day
2. Try To Create Quality Content
3. Be Special And Create Unique Content
4. Promote Your Blog On Social Media
5. Always Publish Your Post at Same Time
6. Do Guest Posts To Drive More Traffic
7. Interact With Your Followers
8. Try To Improve Your Alexa Ranking

These Are the Basics which Helps us in increasing our Site traffic. If you want More Information About Increasing Traffic See This Page Best Traffic Tips

Thanks Pal For Liking Again, Stay In Touch Peace and Blessings. If you have any Problem Feel Free To Ask. Take Care

May 9, 2012 at 6:47 AM

this didn't work for me. what am I doing wrong?

Editorial Team MOD
May 9, 2012 at 6:55 AM

@Litha Jameson
Do you Add the Script in the Template and Do you Follow the Correct Steps Please List In Detail. Thanks

June 5, 2012 at 6:22 AM

Thank you! Very helpful post. :D

June 10, 2012 at 9:48 PM

I think this type of stratagy Will affect our search engine visibility. It is far better if we can design some methodology to make a permission based premium section just by giving label.

Editorial Team MOD
June 11, 2012 at 12:02 AM

@Hafilah Mohamed
Thanks Brother For Liking the Tutorial. Peace

@Vishal Srivastav
Well I Don't Think so, and Attaching a Label will just Make it in Order but It has nothing to do With SEO As Google Did not Index Labels. And This Can be used in a Post Where users need to subscribe in order to get the premium access. It can be use in many ways, if one have knowledge. Peace and Blessings

June 11, 2012 at 9:44 PM

thanks a lot for clearifying my long and be successful.

June 27, 2012 at 1:47 PM

thnx for ur great posts

i made a new blog and i heard about indexing blog on google and alexa ranking , I googled them but it was a waste can u tip me .

July 27, 2012 at 11:10 AM

Большое СПАСИБО)))

August 10, 2012 at 2:50 AM

nice article.I really need it.Thank you for help.I have also running a website on new technology

September 7, 2012 at 11:11 PM

nice article

September 22, 2012 at 4:46 AM

That's a nice tut, But with using it,

If I hide my post then will the hid content visible to the search engines or not?

Is it a bad practice for Search Engine Optimization?

Editorial Team MOD
October 1, 2012 at 11:27 PM

Yap, the search engines would be unable to see your content. But it is not a BAD thing for SEO because you are protecting just a piece of Paragraph Peace.

October 10, 2012 at 12:40 AM

How to use this feature in Googlesites

Editorial Team MOD
October 10, 2012 at 1:07 AM

We haven't Tried it in Google Sites but you can Try your luck follow the Same Steps. It Might Work. Peace

March 11, 2013 at 6:11 PM

thank you so much

April 2, 2013 at 3:09 AM

Helpful. Very. Thank you!

Do you have a post regarding protecting photos from getting downloaded by anyone?

April 2, 2013 at 6:29 AM

sorry, really dont know why its not working, can anyone please help...appreciate it...

Editorial Team MOD
April 2, 2013 at 6:41 AM

I Think you forgot to add this code in your Template

Just Above the </head> tag add this code.

<script type="text/javascript" src=""></script>

Editorial Team MOD
April 2, 2013 at 6:43 AM

You can simply disable the Right Click. It would prevent others from copying anything from your site.

April 2, 2013 at 9:44 AM

after doing that, the "Enter the decryption key" is now popping out. but after supplying the password, noting is happening

Editorial Team MOD
April 2, 2013 at 10:57 AM

I Think this does not works with Google Dynamics Template. Try other template.

April 7, 2013 at 2:31 AM

after doing everything the little window that says "Enter the decryption key" is not popping out... why?

please help me

Editorial Team MOD
April 7, 2013 at 10:09 AM

Make sure you are adding this code in your template

<script type="text/javascript" src=""></script>

August 29, 2013 at 4:36 AM

why do I see the whole HTML when I scroll over "show encrypted text" link? (I would like it to be just a plain link).

August 29, 2013 at 7:26 AM

I used the same password for 3 different posts and now wherever I enter the password it always only opens the first post I encrypted. what should I do?

Editorial Team MOD
August 29, 2013 at 4:30 PM

You have to re-apply the steps again.

September 7, 2013 at 2:38 PM

Actually, that WILL affect SEO negatively because search engines will be indexing all this trash and it has a good chance to show up on search engine results page. There's a better way to password-protect content without exposing it's encrypted variant to the whole world.

January 17, 2014 at 1:54 PM

I really thank you for publishing this post, I was looking in a long time for some text to help me that how to set a password on a post in Blogger. I'm Iranian and will be translate your guide to Persian :-)

Editorial Team MOD
January 18, 2014 at 9:56 AM

Glad you liked it :) Cheers!

February 3, 2014 at 9:57 PM

how i want protect my video? when i put the password that video cannot play. show a blank page.

March 3, 2014 at 4:15 AM

Is this a "really good trick"??:DDDD if you install a very SIMPLE Javascript disabler extension into ANY BROWSER in 2 seconds for free, then you could not even see the pop up window which is asking the password:))) You will get the post right away, you will not need any password:)

It's called: NoScript You can install this to your browser in 2 seconds:)

I was click on the "Click Here To View The Hidden Text" in a browser which has this NoScript extension and there was no pop up window, and I got this picture, it was your post, I uploaded to Pictureshack:

WAKE UP MAN:)) you need CSS codes for password protecting a post or webpage, not a JavaScripts:))

Bye Man:)

Editorial Team MOD
March 6, 2014 at 9:55 AM

Hi, Not everyone is well aware of this feature only Developer knows it :) Thanks for tip though, would help our readers.

March 7, 2014 at 11:56 AM

THANK YOU SOOOO MUCH FOR THIS POST! you've saved me a ton of time and money. Much appreciated. :)

April 22, 2014 at 7:16 AM

i dont get the "press proceed" part? what do you mean by that ?

April 22, 2014 at 7:44 AM

i don get the "Now Press Proceed >> And Search For" part ?? please help me!! i really need help right away

Editorial Team MOD
April 22, 2014 at 8:27 AM

Go to Blogger >> Template >> Edit HTML >> And Search for ]]></b:skin>

Editorial Team MOD
April 22, 2014 at 8:27 AM

Blogger has updated its interface now its Template >> Edit HTML

June 7, 2014 at 8:12 AM

Hi. I've tried this but it seems not working. I followed all the procedures but I can still access the post and it doesn't require password. Please help.

August 6, 2014 at 9:49 AM




Editorial Team MOD
August 6, 2014 at 10:39 AM

Re-apply the same process, and setup a new password.

May 8, 2015 at 8:52 PM

it didnt work for me but i followed all the step and it showed the text, when i click it, it doesnt appeared as pop up window. it doesnt do anything!! HELP!!

February 8, 2016 at 10:17 AM

Bro I neeed other?? You have more than one blogger account but when i try to open the other account move to your 2nd account.. how i can do this with g+ account... I have posted on my blogs with different accounts.. but i am trying to them all to one account... help???

February 22, 2016 at 6:45 PM

Have you tried asking in google blogger forum? There, there are qualified people that will help you. I am not sure if you are asking me that question but I received an email about your quest.Again I am sorry I can not help. I was investigation the web and I must be all over the place. I am thinking of letting my web history go and writting to google a letter to erase me from that.

April 11, 2016 at 9:19 AM

Thank YOU! It works for me on my computer but not on my phone. Probably something to do with the popup window...

September 7, 2016 at 6:40 AM

I want my blog private, but my friend does not have a Gmail account, how can I get to to here she can read my blog?

Editorial Team MOD
September 7, 2016 at 7:17 AM

Yes, Gmail account is must.

Post a Comment

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

Helping You to do Cool Things With Blogger Since 2012™.

© Copyright 2012 - 2018. MBL Networks, All Rights are Strictly Reserved.