Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > How to scan the uploaded file for virus.

Reply
Thread Tools

How to scan the uploaded file for virus.

 
 
Raj Dhrolia
Guest
Posts: n/a
 
      02-12-2004
Hi,
In my ASP.NET application, I want to scan the files uploaded by users
for virus.
The only option i have right now is to use the command-line exe of my
local antivirus. The exe generates a html file on which i do string
processing. But this does not seems to be an ideal solution.
Is there any third party components which provides API thru which i can
check for virus? Is there any other aulternate alltogather?
Thanks in advance,
Raj.



 
Reply With Quote
 
 
 
 
Janaka
Guest
Posts: n/a
 
      02-12-2004
Have you taken a look at what you can strip out before using an anti-virus?
For example do you know the file types the uploader requires? You can stop
all other files being uploaded by checking the ContentType of the file.
This would stop you from saving a .exe for example if all your program uses
are .xls or .doc files.

"Raj Dhrolia" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
> In my ASP.NET application, I want to scan the files uploaded by users
> for virus.
> The only option i have right now is to use the command-line exe of my
> local antivirus. The exe generates a html file on which i do string
> processing. But this does not seems to be an ideal solution.
> Is there any third party components which provides API thru which i

can
> check for virus? Is there any other aulternate alltogather?
> Thanks in advance,
> Raj.
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scan files uploaded =?Utf-8?B?Q2hyaXM=?= ASP .Net 0 07-12-2005 09:00 AM
scan files uploaded via asp.net =?Utf-8?B?Q2hyaXM=?= ASP .Net 1 06-17-2005 07:25 AM
Virus Scan for uploaded documents? Manish Jain ASP .Net Security 1 02-23-2005 02:04 PM
Progressive scan dvd's on a non-progressive scan tv jack lift DVD Video 7 12-09-2003 06:01 PM
Virus-Scanning uploaded files uploaded? Matt G ASP .Net 1 08-22-2003 05:44 AM



Advertisments