G
Guest
Hi,
I am in the process of desgning a document managment program in .net and
there are gong to be two part to it
a. winforms application : user will upload the document form here.
User will select a file from this local machine and this file will be
uploaded from the client to the webserver server over a webservice.
b. Webforms : internet users will view the documents uploaded from
winforms from here.
This is the first time i am worknig on document managment or anything to do
with document handling i.e upoading document. Sql server is the database and
the uploaded files can be documents or images.
Follownig are my questions
1. Scanning the document for viruses : if the file which is being uploaded
is a document then i want to scan it for viruses, can any one tell my how i
can programatically scan this file being uploaded form the win forms
appilcation for viruses? Is there any webservice out there from Trend or
Symatec which will let me scan this document before uploading it over to the
server OR can i make use of the API on the server machine to scan this
document for viruses ?
2. Saving a document ( in Sql server or in a folder on webserver)
My application is a distriibtured application with the client sitting on
the user machine and database sitting on the webserver and webservices being
used to connect the server to the client. Sql server is being used as the
database behind the server. Question is what is the best way to store
documents on the server? the two options that i can think of
a. Should i save them to the databse : i want to show this document to
the user in the browser as well, if i am saving it to the database how will i
show it to the user in the browser? also space wise is it better to save it
in sql server or in the databse. I think security wise this option is better,
user can no way pull the document from the database with the secure procedure.
OR
b. should i uploaded them to a folder on the webserver : and give the web
users the url to access the document but if this is the case then there is no
security to the documents? also how good is this option with space?
Please suggest!
Sameer
I am in the process of desgning a document managment program in .net and
there are gong to be two part to it
a. winforms application : user will upload the document form here.
User will select a file from this local machine and this file will be
uploaded from the client to the webserver server over a webservice.
b. Webforms : internet users will view the documents uploaded from
winforms from here.
This is the first time i am worknig on document managment or anything to do
with document handling i.e upoading document. Sql server is the database and
the uploaded files can be documents or images.
Follownig are my questions
1. Scanning the document for viruses : if the file which is being uploaded
is a document then i want to scan it for viruses, can any one tell my how i
can programatically scan this file being uploaded form the win forms
appilcation for viruses? Is there any webservice out there from Trend or
Symatec which will let me scan this document before uploading it over to the
server OR can i make use of the API on the server machine to scan this
document for viruses ?
2. Saving a document ( in Sql server or in a folder on webserver)
My application is a distriibtured application with the client sitting on
the user machine and database sitting on the webserver and webservices being
used to connect the server to the client. Sql server is being used as the
database behind the server. Question is what is the best way to store
documents on the server? the two options that i can think of
a. Should i save them to the databse : i want to show this document to
the user in the browser as well, if i am saving it to the database how will i
show it to the user in the browser? also space wise is it better to save it
in sql server or in the databse. I think security wise this option is better,
user can no way pull the document from the database with the secure procedure.
OR
b. should i uploaded them to a folder on the webserver : and give the web
users the url to access the document but if this is the case then there is no
security to the documents? also how good is this option with space?
Please suggest!
Sameer