如何加密HTML源代码? [英] How to encrypt HTML source code?

查看:245
本文介绍了如何加密HTML源代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

如何使用PHP加密HTML源代码输出

我建立了我的静态网站,现在我已经完成了如何加密我的源代码?我可以隐藏我的页面的HTML源代码,以便没有人可以看到它吗?

I built my static website and I am finished now how to encrypt my source code? Can I hide HTML source code of my page so that nobody can see it?

我已经使用jquery,iframe,CSS和HTML。

I have used jquery, iframes, CSS and HTML.

我想保护我的网站免受注射。

I want protect my website from injection.

推荐答案

这个文章涵盖了许多技术包括:

This article covers a number of techniques including:


  • 源代码填充

  • 没有右键脚本

  • JavaScript加密

  • HTML保护软件

  • Source Code Padding
  • No Right Click Scripts
  • "JavaScript Encryption"
  • HTML Protection Software

但是文章总结: / p>

However the article concludes:


不幸的是,这个问题的简短答案是,你不能[隐藏你的源代码]。已经提出了各种方法,但都容易绕过这些方法。最后,唯一可靠的防火方式是确保没有人可以窃取你的源代码,绝对不要把它放在互联网上。

Unfortunately, the short answer to this question is, you can't [hide your source code]. There have been various methods put forth, but all of these are easily circumvented. In the end, the only sure fire way to make sure no one can steal your source code is to never put it on the Internet at all.

这篇关于如何加密HTML源代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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