javascript - 不使用插件保护图像

标签 javascript html css

我想完全保护图像,而不仅仅是可以轻松阻止的右键单击保护。

我尝试在 cPanel 中编辑图形文件夹权限,但这使图像消失了。

有没有其他万无一失的方法来保护图像不被盗用。

EDIT

I cannot watermark this image so I need another way.

编辑 2

I just combined the base64 dataURL and right click protection. So I'm pretty much covered except for screenshots which I'm not that worried about. If only it was possible to keep people from taking a screenshot like using some freaky DRM tricks or something.

最佳答案

这是不可能的。您可以使用一些技巧来增加难度,但事实是,一旦您通过网络发送该图像,用户就可以保存、共享等。

为您的宝贵图像添加水印或发布它们的低分辨率版本。

关于javascript - 不使用插件保护图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43288458/

相关文章:

javascript - javascript 中空字符串是否被视为假字符串?

javascript - html 中的 html 会彼此独立工作吗?

jquery - 无法让导航菜单呈现在 div 内部

javascript - 为什么我不能在 masonry 容器中添加toggleClass?

javascript - 在 pg-promise 中使用助手时如何设置列

javascript - "this"在嵌套的异步模块函数中如何正常运行?

javascript - 如何根据输出 block 更改svg的大小?

html - 使用 Twitter Bootstrap 3.0 的内联文本字段

html - 相对于设备大小滚动

html - CSS - 更改一个属性,保留所有其他属性