上传文档文件
有谁知道允许将文档文件上传到该系统的主要站点的示例, 我正在考虑允许此上传,但我担心用户上传病毒的可能性。
我担心有人将病毒上传到该网站可能会影响其声誉。
我应该只允许 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最著名的网站是:
例如,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.