使用 asp.net 将到期日期添加到 pdf

发布于 2024-08-21 16:35:09 字数 106 浏览 3 评论 0原文

当有人下载​​文件时,是否可以使用asp.net向PDF添加到期日期?

这个想法是,当用户下载文件时,该文件将在设定的日期之前可用,届时该文件将变得无用,并且他们将不得不下载新版本。

is it possible to add an expiry date to a PDF with asp.net when someone downloads a file?

the idea is that when the user downloads a file it will be usable until a set date when it will become useless and they will have to download a fresh version.

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

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

发布评论

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

评论(1

作妖 2024-08-28 16:35:09

PDF 的过期日期涉及安全证书,因为 PDF 文件没有过期日期。

您可以使用 JS for Acrobat 但无论您做什么,都需要挂钩使用文档服务器,因为它是发送策略并检查文档验证/过期的服务器当您使用 PDF 文件时。

对于你想要的,我宁愿做一些使用所有这些技术的其他事情:

  • 有有效期真的那么重要吗?
  • 因为你没有说内容是什么......如果它与一本书相关,为什么不只是一个文件?
  • 或者如果用户想要 PDF,他/她可能会得到什么样本数据...

Expire dates on PDF involve Security Certificates as there is no Expire Date on a PDF File.

You can use JS for Acrobat but no matter what you do you need to hook up with Document Server as it's the server that sends policies and check document validation/expiration when you work with PDF Files.

for what you want, I would rather do something else that use all this technology:

  • is it so important to have expiration date?
  • because you don't say what is the content... if's its a book related, why not just a single file?
  • or a sample data of what the user might get if he/she wants the PDF...
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文