RE: Document managment in .NET
- From: Halcyon <Halcyon@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 17 Oct 2006 07:36:02 -0700
I agree Deepak, I designed a 'mini' doc management module for my helpdesk
application and chose to save to folder. i used the newguid() command for
the filename (with a quick if exists check) to save the filename and used
fields in a db to store the file info (in case there were files with the same
name, but different content.
I left the antivirus check to the file level scanner on the server, to scan
the file, with a wait (for 10 seconds) en then another if exists check to see
if the file was still there(i.e. would be deleted or quarantined by AV), then
notification of success or failure.
--
The walls between art and engineering exist only in our minds
"Deepak" wrote:
Hello Sameer,.
I think the best way is to store the documents on a folder.You can set the
security on the folder to the way you want it so that only the users who are
authorized will use the files.
You can set the permissions through web.config file or at the folder level.
Regarding the first question on scanning for virus, Even I am looking for
information on this.Let me know if you find any information on how to
implement virus scan.
Thanks
Deepak
"sameer" wrote:
Hi all,
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 application 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 a folder on webserver or in Sql server)
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
- References:
- RE: Document managment in .NET
- From: Deepak
- RE: Document managment in .NET
- Prev by Date: Re: ClickOnce hot fix
- Next by Date: Re: Another Remoting Security Error
- Previous by thread: RE: Document managment in .NET
- Next by thread: RE: Document managment in .net
- Index(es):
Relevant Pages
|