Do you like sharing your code? ok.. don't tell me :)
I hate people viewsourcing [hey ! I coined a new word :)] my code, what do I do ?
People who did not understand my newly invented word even after spending 5 or more seconds, please do not bother.. read on
Lets suppose I designed a great web page which contains some cleverly designed scripts and I want to protect its source code what do I do ? There are multiple ways, one of the common way is encoding using Microsoft Script Encoder ( It's a simple command line tool)
It's all good for a simple web page, but things are not so easy when we add a few variables like: what if your page dynamic ? ( e.g. being generated using some server side code), or what if you want to protect some XML data or HTML data ? (something important like connection string)