virus scan uploaded document.

G

Guest

Application details :
winforms over webservice or webforms with Vb.net
vusual studio 2003
sql sever 2000

I am working on a document managment module of the application, all the user
does is upload a document to the server which is stored in the database,
before storing it in the database i want to scan it for virus, has any body
done this before? My questions is

i have heard that some of the virus scanners that are to be installed on
the server come with a console utitlity through which i can programatically
pass my stream of document (which is in memory) and it gives me the feedback.
and i heard that trend, norton or mcafee might have it, any defnetive answer
out of personal experience which one really had such a utility? Btw this all
has to happend on the webserver and not the client machine.

thanks
Sameer
 
G

Guest

..Dont allow the Document to Come to the Server before it reach the Server
convert it to XML

Dont Store the Document as Image/Document File since it will take much
space.when ever you receive the Document convert it to XML.Since you have to
Display it on the Web it will be easy for you to read the XML and Through it
out on web.

Now we dont want to Scan the Document the Windows Application will send you
only the valid XML.Further when you want to scan the XML Insall the Virus
Scanner in the Server and Pass the XML to the Scanner as Input from the
Console Application it will take care of it

Regards
Prabakar
 
G

Guest

Prabakar,

thanks for your reply but here are my questoins
1. why do you want me to convert the documents over the XML, some of them
can be images or word, excel document or anything else. right now i am
reading the document into a filestream, converting it over to byte array and
adding it to a datatable which is part of a dataset and sending that dataset
over the webserivce which XML serializes it? and then i store it in the
database. so what is the advantage of converting it into XML and also how to
do it?

2. Ones the document is put back into a filestream on the server from the
byte array, i will save it in the temp folder and then pass it through the
console utility, so what is the problem here as well, why shoudl i conver it
over the XML?

thanks, waiting for an answer

Sameer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top