我想完全保护图像,而不仅仅是可以轻松阻止的右键单击保护。
我尝试在 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/