上传文档文件

发布于 2024-09-25 09:46:10 字数 158 浏览 0 评论 0原文

有谁知道允许将文档文件上传到该系统的主要站点的示例, 我正在考虑允许此上传,但我担心用户上传病毒的可能性。

我担心有人将病毒上传到该网站可能会影响其声誉。

我应该只允许 pdf 文件还是必须有某种形式的服务器病毒扫描程序(是否有基于托管的 clam-av 解决方案可用)

Does anyone know of examples of major sites that will allow uploading of docs files to there system,
I am thinking of allowing this upload but I'm worried about the posibility of users uploading viruses.

I'm worried that someone uploading a virus to the site could affect it's reputation.

Should I just allow pdf's instead or have to have some form of on server virus scanner (is there a hosting based clam-av solution available)

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

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

发布评论

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

评论(1

隔纱相望 2024-10-02 09:46:10

最著名的网站是:

例如,Google 在其服务器端确实有防病毒软件。一般来说,当您将任何文件上传到 Google 时,防病毒软件都会对其进行检查。 Google 还将文档文件转换为其内部表示形式。转换后文档不再包含宏。 Google 针对潜在危险格式(例如可执行文件 (exe))制定了自己的政策。它根本不允许您通过电子邮件发送此类文件,因为它们具有潜在危险。
我建议您像 Google 那样 - 如果用户使用原始格式 (doc) 上传文件,然后将其转换为安全格式,例如 pdf。 pdf格式在互联网上比doc更通用。
如果您有充分的理由存储 doc 文件,那么您最好选择 Microsoft Office 2010,其 docx 格式不含宏,而且 Microsoft Office 2010 对于从 Internet 接收的文档具有特殊行为。

The most famous sites are:

Google, for exmaple, do have antivirus on it's server side. Generally when you upload any file to Google it is checked by antivirus. Google also converts doc-files to it's internal representation. After this convertation document does not contain macros anymore. Google has its own policy for potentially dangerous formats, for example executable files (exe's). It simply doesn't allow you to send such files by email because they are potentially dangerous.
I would recommend you to do as Google does - upload files in original format (doc) if users work with them and than convert them to safe format, such as pdf. Pdf format is more general in the Internet than doc.
If you have strong reasons to store doc files, that you better choose Microsoft Office 2010 with it's docx format witch is macro-free, and also Microsoft Office 2010 has special behaviour for documents received from the Internet.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文