如何对无法再次解码的html页面进行编码
我有一个 HTML 页面想要对其进行编码,因此无法再次对其进行解码,但希望在所有浏览器上正确显示它。
我知道有一个名为 Encrypt Web Pro 的程序可以做到这一点,但我们知道用它编码的 html 页面可以轻松再次解码。
你知道一个安全的方法吗?请帮我...
i have a HTML page that want to encode it so could not decode it again but want to show it on all browsers correctly.
i know that exists a program called Encrypt Web Pro can do it but we know encoded html page with it can decode again easily.
do you know a safe way for this? please Help Me...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
使用免费混淆 HTML 编码器,您可以将 php 输出编码为加密的 javascript。直接查看源代码将得到一行经过编码的 JavaScript。这不利于搜索引擎优化,并且仍然可以使用源调试器(例如适用于 Firefox 浏览器的 Firebug)查看源代码。
With the free obfuscating HTML encoder you can encode your php output into an encrypted javascript. Viewing the source directly will result in one encoded line of javascript. This does not benefit the search engine optimization, and the source can still be viewed using a source debugger such as Firebug for firefox browsers.
这是不可能的,因为要显示页面,浏览器需要读取 HTML 代码。
This is not possible because to display the page, the browser would need to read the HTML code.
如果网络浏览器需要呈现您的 HTML(无论如何,这就是 HTML 的全部意义),从技术上讲,它无法加密:根据定义,浏览器无法读取 HTML,除非您还包含解密密钥,这是毫无意义的,因为它违背了加密的全部目的。
我认为您正在寻找的是 HTML 混淆器:某种方式来混淆 HTML,使其难以被人类理解,但浏览器可以毫无问题地进行解码。
编辑:谷歌搜索 html 混淆器会抛出大量结果
如果您提供有关您想要实现的目标的任何进一步信息,这将会有所帮助。
If a web browser needs to render your HTML (thats the whole point of HTML anyways), technically it can not be encrypted: by definition, the browser could not read the HTML, unless you also included the decryption key, which is pointless since it defeats the whole purpose of encryption.
I think what you are looking for instead is an HTML obfuscator: some way to mess up the HTML so that it is hard to understand for a human, but that browsers can decode without trouble.
edit: googling html obfuscator throws plenty of results
It would help if you provided any further information on what you are trying to achieve.