June 28, 2011

Widgets

Password Protect Posts In Blogger!


Now you can password protect widgets too!


PASSOWRD-PROTECT-BLOGGERAn extremely useful and secure script for password protecting blogger blogs has been introduced by vincentcheung . The script created by him hides whatever you want in the form of an encrypted code which can be revealed only if your users know the password to see the hidden content. It is the most secure and working method that I personally liked a lot. The hidden text can not easily be cracked and your content remains hidden from the eyes of all uninvited visitors. According to its author not even he can decrypt (make visible) the encrypted code (hidden message) except the person who sets the password. It works more like a Lock and Key Mechanism. I am sure you will enjoy this new technique that will help you to maintain some privacy.


Live Demo

How To add a Password To Blogger Blogs?

The steps are as usual very simple:

  1. Go To Blogger > Design > Edit HTML
  2. Backup your template
  3. Search for this,

]]></b:skin>

    4.   And just below it paste the following JavaScript code,

<!--MBT PASSWORD PROTECT CODE --> <script type="text/javascript" src="http://www.vincentcheung.ca/jsencryption/jsencryption.js"></script>

   5.   Save your template and you are done!

How it works?

Now whenever you wish to show images, text, media or anything only to selected people then you may create and write the post as you normally do in your blogger editor or Windows Live Writer and once you are finished do this

1.     Switch to the Edit HTML mode and copy all the code that you see. As shown below,

lock-posts

2.    Go To Encryption Page

You will see 4 boxes with names: key, Plain Text, Clipher Text and HTML Code.  We are only interested in the key, plain text and HTML CODE box. Follow these steps:

  • Enter a password in the Key Box

key box

  • Next Paste the code that you copies from your Blogger Editor into the Plain Text box

Plain Text Box

 

  • Hit the Encrypt Button below Plain Text box  
  • Copy the code from the HTML CODE box
    html code box

This is the new look of the same post you created. You will see strange illogical characters but these characters contain your hidden text, images or multimedia. You can now use this HTML CODE in any of your posts and instead of seeing the big chunk of code, the visitor will see only a link that says: Show Encrypted text How? follow the next step:

3.   Now get back to your Blogger Editor. Create a New Post. Give your post a title and paste the HTML Code that you just copied inside your blogger Editor in the  Edit HTML Mode.  You can write anything in place of this text -> Show Encrypted text but make all changes in Edit HTML mode only.

encrypted text

You can also add any message below or above the HTML CODE which contains your hidden text.

I just hope you may like this new discovery and you may find it helpful. Feel free to ask any questions you may have. Peace and blessings. :>




If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you Subscribe to our regular Email Updates!

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

29 comments:

samsexy98 on Jun 29, 2011, 9:05:00 AM said... #

Doesn't store cookies or something because after reloading we need to enter the password again.

Rest works fine :)

Daus on Jun 29, 2011, 12:29:00 PM said... #

wow, never know this, thanks for sharing ahmed

Ahmad Khoirul Azmee on Jun 29, 2011, 1:00:00 PM said... #

A new thing to me.... However, perhaps I will someday need it.. Nice, it's "fresh from the oven" info, Mohammad :D

Mohammad Mustafa Ahmedzai on Jun 30, 2011, 5:38:00 PM said... #

@Sam
Come on dude, isn't that better. Cookie if stored becomes doubtful content. :p

@Daus
you welcomed brother. :)

@Ahmad
Oh you must try this. Its more like a fun. don't check to read the latest one on widget Locking too
And you are welcomed buddy. :>

samsexy98 on Jun 30, 2011, 6:04:00 PM said... #

Hehe.. Doubtful.. :D

Aditya on Jul 1, 2011, 10:00:00 PM said... #

Thank you mustafa this hack means alot to me.........

MuGiwara HaniefT Kun on Oct 2, 2011, 6:55:00 AM said... #

This Is cool

Mr. Matt a.k.a. The Kontent King on Oct 19, 2011, 1:37:00 AM said... #

I need a Content Locker Script for Blogger. One that I can force people to either share on FB, Twitter, Stumbleupon, Reddit or fill out one of my selected CPA Offers.

You can find something similar here but it doesnt work anymore. OR at least the way I have tried. Even used an old template from 04 as suggested and keep getting errors that I didnt parce my code right (<a, </a). I double checked and did though.

http://www.techystudent.com/2011/09/content-locker-code-for-blogger.html

Email me at ineedmoneyx@gmail.com if you figure out how to work this or have another solution. Thanks. This would be helpful to so many

Bel on Nov 9, 2011, 9:54:00 AM said... #

Awesome, it worked for me.

Nitin.Bagoriya on Nov 11, 2011, 11:08:00 PM said... #

It's Awesomee Thanks

Shakil Wahid on Dec 6, 2011, 5:20:00 PM said... #

Awesome, now I am using your trick on my blog. Thanks a lot.

Prince on Dec 10, 2011, 10:06:00 AM said... #

Your tricks is sooo nice. but this is simple.

http://www.zubrag.com/

Open door to everyone... on Dec 12, 2011, 9:57:00 AM said... #

Damn!!! It's so fking cool! Now my contents can be really king :)
Anyway, as we are using Windows Live Writer, is there a chance you can make a plugin where we select the text and press to encrypt?

Ebony on Feb 4, 2012, 9:45:00 PM said... #

Everything worked for me, except when I click on the link, it doesn't link to anything... nowhere to enter password... ?

acdm machines on Feb 8, 2012, 1:38:00 PM said... #

Hello,
Thank you very much Disertation writing, We appreciate your interest and suggestions.

Field Failure Relay

Haz Issac on Feb 26, 2012, 2:57:00 AM said... #

wowwwwww!! this is so amazing.. very usefull for me.. thanks bro mohammad!

james on Apr 19, 2012, 2:18:00 AM said... #

is there a way to have this got stright to decrypt password box instead of having to click show encrypted text?

arhamvhy on Apr 22, 2012, 2:52:00 PM said... #

very useful..

Shriram Gupta on May 23, 2012, 9:22:00 PM said... #

619 Loading Please Wait...............
.
.
.
.
.
.
.
.
..
.

.
..
.
.
.
..

.
.
.
.
.
..

.
.
100% complete
it works

tiha44ever on Jun 30, 2012, 2:22:00 AM said... #

I like that , but I want to show content to all visitors , My question Is still my code protected without giving code to anyone ?
thanks again

tiha44ever on Jun 30, 2012, 2:23:00 AM said... #

and how I can do that ( show content without ask for Password )

Jafar Dhada on Sep 22, 2012, 4:45:00 PM said... #

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?

Anto Ramana on Oct 8, 2012, 10:51:00 AM said... #

awesome...
I've been looking for this kind of tutorial for such a long-long time. and finally I found here..
thanks

Admin on Oct 10, 2012, 12:43:00 PM said... #

How to use this feature in google sites

rain :: on Oct 30, 2012, 11:42:00 PM said... #

I just want to say THANK YOU. I have been looking for something like this for a long time. You are a blessing.

EN ♡ on Nov 17, 2012, 6:38:00 PM said... #

Hello!
I don't understand until 'copy the code from HTML CODE box'.
Please help!

ankit agarwal on Nov 25, 2012, 4:44:00 PM said... #

wow nice blog thank you for sharing this trick
Best4Hack

T on Dec 14, 2012, 10:47:00 AM said... #

Does this work anymore? I can't seem to access any of my encrypted posts.. :/

Gaurav Sharma on Dec 27, 2012, 6:13:00 PM said... #

Hey Mohammad,
I have a problem of click bombing in my blog, Can you tell me a method to block an particular ip.
My email id is comfuge@gmail.com.

Also visit my blog for reference: Best spy software

Click Here To add Comment

Confused? Feel free to ask

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. No cheesy/spam Comments tolerated Spam comments will be deleted immediately upon our review.

Regards,
Mohammad

Support Us

If our Tutorials have helped you a little, then kindly spread our voice using the badge below:-

or try a Beautiful Banner


Widgets

 
  • MBT Icons and buttons

    Icons and Buttons

    Our resources have been successfully downloaded over 10K times and found almost every where. Get yours!

  • choosing webhost for a blog

    Why HostGator?

    Learn Why we chose HostGator as our Web Host and find discount coupons to kick start your blog today!

  • SEO Settings for blogger

    ALL IN ONE SEO PACK 2012

    Learn every single SEO tip that will boost your blog's ranking and organic traffic. We got them all!

  • Blogger widgets and plugins

    Visit MBT's Blogger LAB

    Why not take a tour of all great Blogger widgets published so far? You Name it we have it!

  • become a six figure blogger!

    Become a SIX FIGURE BLOGGER

    Learn what it takes to become a successful entrepreneur and build a living online!

About The Author

Hi! I am Mohammad, a certified SEO Consultant, Pro Blogger, Computer Engineer and an addicted Web Developer. Read More..

Recipes

SEO Affiliate Marketing Social Media

Make Money Online Web hosting

Blogging Tips Web Designing

Plugins and Widgets Blogging Ethics

Recent Comments

Popular Series

Powered by:

My Blogger Tricks © 2013. All Rights Reserved | Contact |