Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear sir,

I need encrypt my details when I seeing browser -> view source code,
How to write code...

Note:

I need only when i click view source in browser then only view source convert into encrypt code ok va...


by mohan
Posted

1 solution

Dear Mohankumar
this is very critical issue.
the best solution for this is to use

1)AntiXSS library with AntiXSS module.

It will encript your source code after rendering.

you can use the antixss lib in 2 ways

1)Using the Manual code change
2)Use Security runtime engine(SRE)

SRE is totally configration based.like web config file.
AntiXSS is the feture of .net 4.0 use this very useful tool it will relly helpful.

Regards
Deepak
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900