保护网页上的图像不被复制/保存?

发布于 2024-09-27 22:17:28 字数 184 浏览 4 评论 0原文

我正在为一个非常保守的群体运营一个小众网站,他们的一个要求是我们需要让用户尽可能难以保存其他用户的图像。我知道没有办法 100% 满足这个要求,但至少我可以让人们很难从网站上保存图像。

到目前为止我所做的唯一一件事是禁用右键单击图像(通过 jquery),我还放入了用于热链接的块。对于这个要求我能做些什么吗?

提前致谢。

i'm running a niche website for a very conservative group and one request they have is that we need to make it as difficult as possible for users to save images of other users. i know there is no way to satisfy this requirement 100% but at least i can make it difficult for people to save images off the site.

The only thing i've done so far is disable right-clicking on images (via jquery), I've also put in blocks for hotlinking. Is there anything I could do towards this requirement ?

thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

原来是傀儡 2024-10-04 22:17:28

您无法禁用复制/保存,因为人们可以查看您的源代码,这将导致图像目录。用户还可以简单地打印您的网站屏幕,从而保存您的图像。如果您不希望用户保存您的图像,请不要在线添加它。

You cannot disable copying/saved since people could view your source which would lead onto the image directory. Also users can be able to simply print screen your website, therefore saving your image. If you do not want users to save your images, then don't add it online.

葬花如无物 2024-10-04 22:17:28

你不能。我认为无需右键单击即可保存图像的人们不会再被任何事情所困扰。

You can't. I think people that can save the image without right click won't be bothered by anything further.

流星番茄 2024-10-04 22:17:28

这是邪恶的,但您可以继续清除剪贴板

http://www.webdeveloper。 com/forum/showthread.php?t=21431

可能会导致计算机在页面上时无法使用。

另一个想法是在图像上放置元数据或水印,以识别哪个用户获取了副本。然后,如果您在野外找到该图像,您就可以找出是谁制作的。如果有限制复制的服务条款,您就会知道向谁投诉。

This is evil, but you can keep clearing the clipboard

http://www.webdeveloper.com/forum/showthread.php?t=21431

Might make the computer unusable while they are on the page.

Another idea is to put meta-data or water-marking on the image that identifies which user took the copy. Then if you find the image in the wild, you can figure out who did it. If there's a Terms of Service that restricts copying, you will know who to complain to.

﹂绝世的画 2024-10-04 22:17:28

如果您创建一个 Flash 文件并在 Flash 中显示图像,则可能会变得更加困难。如果您想按原样显示图像,并使用普通的 img 标签,那么 Justin 的评论指出了不下载图像并同时显示它的悖论。

You could make it even harder if you create a flash file and display the image in the flash. If you want to display the image as it is, with a plain img-tag then the comment made by Justin states the paradox of not downloading the image and displaying it at the same time.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文