473,397 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

File Upload / Virus Risk

I am working on an application and the customer would like the ability for
users to attach / upload a Word document. This document will be stored on
the web server directly into SQL and later be viewed by the customer after
being replicated across a SQL Server.

I am not too worried about virus risks on the web server since the upload
will be saved directly to SQL but what are my risks on the desktop machines
that are used to later view the document? They do have up to date AV
software but am wounding if there are any best practies that can allow this
kind of thing to be done in a safe(r) way? Uploads will be limited to Word
(.doc) files.
Jul 11 '06 #1
2 5145
Hello Andrew,

Thank you for posting in the ASP.NET newsgroup.

From your description, I understand you're developing an ASP.NET web
application which will let the user upload and download(and view) some word
documents. Currently you're wondering how to properly perform anti-virus
protection on those word documents downloaded by the client users, correct?

Based on my experience, as for ASP.NET web application, it is web page
based, so after the server-side application flush the word document( or
other binary content) out, the control is completely passed to the client
machine(web browser) and our server-side code can not do any thing further
upon the outputed document. Therefore, to provide anti-virus protection,
the most reasonable and doable means is use anti-virus component to perform
virus scan upon the word document(checking macro virus attack) before flush
it to client response stream. You can find that most web mail system such
as Hotmail, Yahoo... is using virus scan component to verify email
attachments' security before let the client user download them. As far as
I know, those famous anti-virus software vendor like Macfee, Trend ...
provide such components

Please feel free to post here if you have any other concerns or questions
on this.

Thanks & Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Jul 12 '06 #2
Hello Andrew,

Have you got any further ideas on this issue or does the suggestion in my
last reply helps you some? If there is any further things we can help,
please feel free to post here.

Regards,

Steven Cheng
Microsoft MSDN Online Support Lead
==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Jul 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: OneSolution | last post by:
Hi All, Here's one thing that I don't know much about - file uploading. As part of my project, I will have to build a file manager of sorts - perhaps a document manager. Anyhow, this involves...
3
by: Atz | last post by:
Hi to all ! This is the working, completed PHP script for file upload. The only problem is: wenn i send file and when the file is upload on the server, the file name ( orginal file name is...
1
by: Viktor Popov | last post by:
How could I upload files which are less than 100K only? Thanks, Viktor --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version:...
1
by: Tuan | last post by:
Hi, I already have a function upload file into a folder in asp.net and it is working. However, I want to alert or warning users if they upload a file that have the same name or it is already...
1
by: Jerry Camel | last post by:
It seems there is no way for the file upload control to retain its value after a post back. I have a fom with several buttons and if they populate the file and then click any button on the form,...
2
by: Manny Chohan | last post by:
Guys, I am giving users to upload files on my server. i have Symantec virus scan on my server running in the background. Now would a user be able to upload document with virus inside it or not...
4
by: Matt Jensen | last post by:
Howdy I've got a rather strange issue occuring. I used forms based .NET authentication, although I'm also setting some session variables when people login. However, I've found when people use...
12
by: GuangXiN | last post by:
I want the file upload element disappear, instead of it, I place a text box and a button with my own css defination. but it doesn't work on IE7. What should I do now? <form action="upload.php"...
2
by: jeddiki | last post by:
Hello, Hopefully I can do this with php I want to allow my clients to upload their pdf or video files to my server without giving them ftp login details. Lets look at PDF's first: This...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.