Hello All,
Plz, anybody tell me How to encrypt the view souce of an .aspx page ????
If not the entire page then at least part of it like HTML of a drop-down which contain confidential entries.
Thanks in advance!!.
Hello All,
Plz, anybody tell me How to encrypt the view souce of an .aspx page ????
If not the entire page then at least part of it like HTML of a drop-down which contain confidential entries.
Thanks in advance!!.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
mayank nagar45 reputationPosted Mar 18, 2009, 6:52 AM EDT
Vyankatesh Suryawanshi22 reputationPosted Mar 18, 2009, 8:24 PM EDT
Hi Mayank,
Thanks for replying.
Will you plz provide me with some sample code of EncyptHTML. DecryptHTML functions you are talking about.
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Mar 19, 2009, 1:44 AM EDT
Please check out the following link:
http://forums.asp.net/t/1364466.aspx
Vyankatesh Suryawanshi22 reputationPosted Mar 19, 2009, 3:09 AM EDT
Hi Niradhip,
Thanks for ur reply,
I went thru the link but it shows like it is not possible to encrypt or scramble the HTML rendered at the client.
But i want to encrypt the HTML of my drop-down rendered on page, which shows all the content in the view source encrypted atleast.
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Mar 19, 2009, 4:34 AM EDT
If you want to hide it from the end user who is viewing your site from a browser? If so, there's no way to do it. Your browser *has* to have that sent in clear-text, otherwise it cannot render it.
There are ways you can make it harder to obtain, but in the end, a smart or persistent person can get to the source no matter what you do.
For example, if you use the "disable right click" trick to make it so people can't view your source, all they'd have to do is disable javaScript and they could access it. Another option is to simply look at the temporary internet files to see what source the browser used to render the page. In short, there's nothing you can do to keep your HTML/JavaScript/CSS safe from peering eyes.
If you want to disable right click,check the following link
http://rainbow.arch.scriptmania.com/scripts/no_right_click.html
Vyankatesh Suryawanshi22 reputationPosted Mar 19, 2009, 4:43 AM EDT
Hi,
I do agree with you that a persistent nd smart person can get the HTML but at least can we make his task a bit tougher???
Forget about entire HTML, Can we scramble HTML of a single control ?
Disabling right click is not a smarter solution as user can easily view source thru menu itself.
Thanking you,
VyankateshS.
Niradhip ChakrabortyRank #429 · 5.8K reputationPosted Mar 19, 2009, 5:26 AM EDT
You can do it with the help of tool. But I am afraid may be u have to pay for it.
http://encrypt-html-source.lastdownload.com/
Vyankatesh Suryawanshi22 reputationPosted Mar 19, 2009, 5:33 AM EDT