防止图像下载 - 一种可能的解决方案? [英] Preventing Image Download - a possible solution?

查看:70
本文介绍了防止图像下载 - 一种可能的解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每隔一段时间,我就会看到有人想要阻止下载的继承人图像,而且普遍的共识就是你不能。


现在有朋友让我考虑更多关于这一点,我认为我可能有一个解决方案。这有点复杂,但它可能应该工作......


忘记禁用右键菜单等,在我看来

问题在于屏幕截图。


为了解决这个问题,我认为人眼很有价值。


如果我们将图像分成小部分并将它们显示为

表怎么办? 诡计是的,我们在

棋盘格中展示每张图片。作为动画GIF的桌子 - 每个替换

平方在图片的一部分和

黑/白/透明背景之间切换?

那会有用吗?人眼会填补空白吗?并且看到一张

单一,完整的图片?


我意识到它可能看起来不太完美,但它会好

足够?


当然,当算法已知时,它可以进行逆向工程,但是b $ b锁定,你也可以相信你的房子和开车给他们。安全

只需要足够好。阻止99%的人,但永远不会完全不透水。


你怎么看?这个想法可行吗?它已经完成了吗?是

有没有任何变种可以阻止屏幕转储类型图像

捕获?

Every so often, I see someone wanting to prevent heir images being
downloaded and the general consensus is "you can''t".

Now a friend has asked me to think some more about this, and I think
that I might have a solution. It is somewhat complicated, but it
probably ought to work....

Forget disabling right click menus and the like, it seems to me that
the problem is screen capture.

To get around this, I consider the fact that the human eye is quite
versatile.

What if we dice the image into small sections and present these as a
table? The "trick" being, that we present each image in the
"checkerboard" of the table as an animated GIF - with each alternate
square toggling between part of the picture and a
black/white/transparent background?

Would that work? Would the human eye "fill in the gaps" and see a
single, complete picture?

I realise that it might not look perfect, but would it be "good
enough"?

Of course, when the algorithm is known, it could be reverse engineered,
but so can locks and you trust your house and car to them. Security
just has to be "good enough" to deter 99% of people, but can never be
totally watertight.

What do you think? Is this idea feasible? Has it already been done? Is
there any variation on it that can prevent a screen dump type image
capture?

推荐答案

Baron Samedi写道:
Baron Samedi wrote:

每隔一段时间,我都会看到有人想要阻止继承人的图像下载和b $ b普遍的共识是你不能。
Every so often, I see someone wanting to prevent heir images being
downloaded and the general consensus is "you can''t".



的确如此。

Indeed.


现在有朋友让我考虑更多关于此问题,我认为

我可能有一个解决方案。这有点复杂,但它可能应该工作......


忘记禁用右键菜单等,在我看来

问题在于屏幕截图。


为了解决这个问题,我认为人眼很有价值。


如果我们将图像分成小部分并将它们显示为

表怎么办? 诡计是的,我们在

棋盘格中展示每张图片。作为动画GIF的桌子 - 每个替换

平方在图片的一部分和

黑/白/透明背景之间切换?

那会有用吗?人眼会填补空白吗?并看到一张

的完整图片?
Now a friend has asked me to think some more about this, and I think
that I might have a solution. It is somewhat complicated, but it
probably ought to work....

Forget disabling right click menus and the like, it seems to me that
the problem is screen capture.

To get around this, I consider the fact that the human eye is quite
versatile.

What if we dice the image into small sections and present these as a
table? The "trick" being, that we present each image in the
"checkerboard" of the table as an animated GIF - with each alternate
square toggling between part of the picture and a
black/white/transparent background?

Would that work? Would the human eye "fill in the gaps" and see a
single, complete picture?



并且头疼得厉害?我几乎不认为很多动画图片

可以保持20Hz或更高。并且想一想当并非所有的图像都在其中时它会如何表现...最重要的是你无法控制它们是否在b $ b同步或不同步,这可以很好地导致非常非常奇怪的效果。

And have a terrible headache? I hardly think that many animated pictures
can keep up a 20Hz or more. And think of how it will behave when not all
images are in... On top of it all you cannot control wether they are in
sync or not, which can very well lead to very, very weird effects.


>

我意识到它可能看起来不太完美,但它会是什么? ;好

足够?
>
I realise that it might not look perfect, but would it be "good
enough"?



不太可能。但是,嘿,尝试一下,切片和动画一些简单的东西不应该花很长时间。一个奇怪的例子可以在没有

时间内完成。

Not very likely. But hey, try it, slicing and animating something that
simple shouldn''t take very long. A grotesque example culd be made in no
time.


当然,当算法已知时,它可能是反向的
设计,但锁也可以,你相信你的房子和汽车

他们。安全性必须足够好。为了阻止99%的人,

但是永远不会完全不透水。


你怎么看?这个想法可行吗?它已经完成了吗?

有什么变化可以阻止屏幕转储类型图像

捕获?
Of course, when the algorithm is known, it could be reverse
engineered, but so can locks and you trust your house and car to
them. Security just has to be "good enough" to deter 99% of people,
but can never be totally watertight.

What do you think? Is this idea feasible? Has it already been done? Is
there any variation on it that can prevent a screen dump type image
capture?



我看到过相互随机部分图片的奇怪叠加。

装载看起来不是很好加载后它仍然是一个丑陋的。


一如既往,如果你想保护你的材料,你不应该把它放在网上。

如果你想要展示一些人们将不得不付钱的艺术品,在网上上传

水印低分辨率图片(或两者)。

-

Rik Wasmus

I''ve seen weird overlays with random parts of pictures over each other.
Doesn''t look very good loading, and after loading it''s still a ugly.

As always, if you want to protect you material you shouldn''t put it online.
If you want to show some art that people will have to pay for, put online
either a watermarked a low resolution picture (or both) online.
--
Rik Wasmus


Baron Samedi写道:
Baron Samedi wrote:

>

如果我们将图像分成小部分并将它们显示为

表怎么办?
>
What if we dice the image into small sections and present these as a
table?



考虑到每个图像是对服务器的单独请求(加上

所有添加的表标记膨胀)下载时间可能会受到严重影响。


-

Berg

Considering that each image is a separate request to the server (plus
all the added table markup bloat) download time could be severely impacted.

--
Berg


Baron Samedi< Pa ****** ****** @gmail.com写道:
Baron Samedi <Pa************@gmail.comwrote:

每隔一段时间,我就会看到有人想要阻止继承人的图像下载和b
普遍的共识是你不能。
Every so often, I see someone wanting to prevent heir images being
downloaded and the general consensus is "you can''t".



你可以这样做。但唯一的方法就是将这张图片保存在你的本地硬盘上,而不要在你的网页上显示。


没有当你把它放在你的网页上时,防止其他人可以下载你的图像的方法。问题是浏览器必须下载图像以便能够在屏幕上显示它。因此,无论您正在做什么,即使在第一次显示

图像之前,所有情况下都会发生下载。因此,根据浏览器人们正在使用的

,他们甚至可以从

浏览器缓存中获取您的图像,或者配置他们的浏览器以便您脚本以

阻止鼠标右键单击将被停用,或禁用GIF

动画等。如果有人想要获取你的图像,他可以获得
it。


所以你所能做的只是


- 不要在网络上显示你的图像

- 仅显示图像的缩小或低质量版本

所以没有人能够使用完整质量的图像。


-

Alexander

You can do this. But the only way to do this is to keep this image on
your local harddisk and never show it on your web page.

There''s no way to prevent that other people can download your image when
you put it on your web page. The problem is that the browser has to
download the image to be able to show it on the screen. So regardless of
what you''re doing, the download has happend in all cases even before the
image is shown the very first time. So depending of the browser the
people are using, they may even be able to get your image from the
browser cache, or configure their browsers so that you''re script to
block the right mouse click will be deactivated, or to disable GIF
animations etc. If someone wants to get your image, he is able to get
it.

So all you can do is

- not to show your image at all in the web
- only show a scaled down or low quality version of your image
so nobody is able to use the full quality image.

--
Alexander


这篇关于防止图像下载 - 一种可能的解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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