我想为移动用户开发一个Web App,它将为用户提供文档供用户查看。我想确保一旦用户关闭窗口,就需要删除下载到临时文件夹的文档。 HTML 5 中有这个选项吗?
当浏览器显示特定的 pdf 文档或 MS Office 文档时,是否有任何规定可以禁用复制/粘贴选项?
更新1:
如果可能的话,我需要知道两件事:
- 能够通过 API 删除文件
- 通过文档浏览器禁用复制、粘贴选项。 (可能看起来像一个幻想)
I want to develop a Web App for Mobile users, which will provide users with documents for users to view. I want to ensure that the documents once downloaded to temp folder needs to be deleted once user closes the window. Is there any option for this in HTML 5?
Is there any provision to disable copy/paste options for when browser shows the specific pdf documents or MS office documents?
UPDATE1:
Two things I need to know if possible:
- Ability to delete files through an API
- Disable copy, paste option through Browser for Documents. (might seem like a fantasy)
发布评论
评论(2)
我不相信您可以通过网络删除用户缓存/临时文件夹,但您可以使用密码保护您的 pdf 和 doc 文件并禁用复制/粘贴和打印功能。
I don't believe you can delete user cache/temp folder via web, but you can protect your pdf and doc files with password and disable copy/paste and print function.
您可以将您的文档制作为 flash .swf,然后使用 google swiify 将其转换为 html5!
you can make your document flash .swf then use google swiify to convert it to html5 !