创建一个自我删除的pdf [英] create a self deleting pdf

查看:114
本文介绍了创建一个自我删除的pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须找到一种方法来确保不下载发布在我们网站上的pdf文件.这是不可能的,因为用户必须阅读它们.关键是防止它们复制它们(我也知道用户权限管理也会转移到副本,但这无济于事),我唯一能想到的解决方案是使文件在给定给定的情况下简单地删除自身的方法.下载所需的时间.
一旦可以看到"它不再在其本地系统上,它将开始倒数计时,例如2个小时.对于某人阅读内容并做出决定而言,这绰绰有余.比那更长的时间,如果它们阅读起来这么慢,他们只需要重新打开它即可.
我知道,甚至要打开文件以供阅读,Adobe Reader也会将其下载到一个临时Internet文件中.因此,时钟"也将在他们开始读取后立即开始,因为实际上这会将文件从其Home系统中移除的时间足以读取.没问题,但要保留它就等于允许实际下载
打开文件已经需要密码.因此,他们必须重新开始.正如我所说,其主要目的是防止他们从字面上单击以下载文件.

解决方案

最好的方法是使用证书创建PDF并在其上设置expiration(timestamp)它. iTextSharp开源库可以帮助您.请参阅CP文章:

iSafePDF:开源PDF签名工具 [ ^ ]


现在问题更加严重了.
他们要我向网页添加代码以防止Windows
<打开保存取消>弹出框以及禁用右键单击.

我知道所有反对禁用右键单击页面的论点,并且我同意,但是该页面仅由希望我使其不起作用"的一群人使用.
相同的人希望No< >打开保存取消>酒吧.
他们只希望单击文件的人可以使用Adobe Reader(或acrobat)打开文件
而没有保存它的能力.如果我能弄清楚如何在下载证书时对证书问题进行时间戳记,则时间戳记将起作用.
这是一个很好的答复.

我什至有编码可以右键单击并停止< bar>但没有足够的技能来使其正常工作.


Ihave to find a way to make sure that pdf files posted on our website are not downloaded. This is not possible as they DO have to be read by the users. The point is to prevent them from copying them (I know the user right management transfers to the copy as well but that won’t help) the only solution I can come up with is a way to make the file simply delete itself after a given amount of time from the download.
Once it can "see" it is no longer on its home system it would begin a count-down, say 2 hours. That would be more than adequate for someone to read the content and make a decision. Longer than that, if they are that slow to read, they would just have to re-open it.
I know that to even open the file for reading it is downloaded by adobe reader into a temp internet file. So the "clock" would also start as soon as they started reading since that in effect is taking the file off of its Home system long enough to be read. That isn’t a problem but leaving it there would be just as much as allowing an actual download
Opening the file already requires a password. So they have to start over. The main intent is, as I said, to prevent them from literally clicking to download the file.
Nothing in this world is perfect but surely there is some way to come close?

解决方案

The best way would be creating a PDF with Certificate and set expiration(timestamp) on it. iTextSharp opensource lib help you with this. See a CP article:

iSafePDF: The Open Source PDF Signature Tool[^]


It is now even more problematic.
They want me to add code to the webpage to prevent the Windows
< Open Save Cancel > bar from popping up as well as disabling right click.

I know all the arguments against the disable right click on the page andI agree but the page is only used by the group of people who want me to make it "not work"
The same people want the No < open-save-cancel> bar.
They just want whoever clicks the file to have it open with adobe reader (or acrobat)
and not have the ability to save it. The timestamp would work if I can figure out how to timestamp the issue of the certificate at the time it is downloaded.
That is a good reply.

I even have the coding to do the right click and stop the <bar> but not enough skills to get it to work.

Where is a good place to find an coder for hire for remote coding assistance>?


这篇关于创建一个自我删除的pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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