Securing HTML source code is a topic that is asked to me by many of my web developer friends. Today in this post I will be removing the curtains from this little secret and I think many of you will be disheartened to listen that HTML source code can only be encrypted or protected via HTML itself.
Lets focus on this a bit more. HTML as a language is a simple markup language that can only be understood by Web Browsers. Now if we encrypt HTML via any means, the last thing we need is that the web document must be in a readable format. Because the document must be in a readable format and you also want to encrypt it, I am confused. How come an encrypted web document may be interpreted by a web browser and still display it in a way that it remains in readable format. The only possible solution for this problem, could be an encryption algorithm that is also built in all web browsers.
Have you ever heard of any sort of encryption algorithm inbuilt in all web browsers. My knowledge says NO, but the concept says YES. The concept is absolutely correct, we need an algorithm that can encrypt HTML source code in all web browsers. Now let me tell you how exactly it is done.
The things you require are as follows:-
- HTML Source Code
- Web Browser