如何在ASP.NET中的浏览器中查看源代码中的数据 [英] How to hide data in view source code in browser in ASP.NET

查看:198
本文介绍了如何在ASP.NET中的浏览器中查看源代码中的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮助我



i希望在我的网络应用程序中查看源代码中的数据



我尝试了什么:



当我们选择下拉列表然后所有数据显示在视图源代码中

please help me

i want to hide data in view source code in my web application

What I have tried:

when we select drop down then all data show in view source code

推荐答案

这是不可能的。



您的浏览器需要页面源来正确呈现页面。如果浏览器可以访问它,任何人都可以。如果要隐藏源,则无法通过网络将其传递给浏览器,这意味着您的页面无法按预期呈现。
That's impossible.

Your browser needs the page source to render the page correctly. If a browser can access it, any person can. If you want to hide the source, then you cannot pass it over the network to the browser, which means that your page wouldn't render as expected.


这篇关于如何在ASP.NET中的浏览器中查看源代码中的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆