J
Jeff
Hi
asp.net 2.0
I'm developing a webportal, where admins will upload documents related to
users of the website.
Each document will be unique for each user. A user can have from 0 to many
documents.
An user only have access to his documents.
Documents will be in .pdf format.
Documents will not be stored in database (sqlserve2005) but instead uploaded
to a folder on the webserver. So I'm thinking should I create a folder for
each user on the webserver (make some logic that create folder, permission
problem at creating folder?) or modify document name to also hold the id of
the user, which I guess is a potential pitfall....
any suggestons? maybe there are better wasys of doing this? Upload to the
database instead (possible with pdf)? I guess changing the logic to save
file in the db is better, though not sure how to view a .pdf file stored in
the database (I know how to view images stored in database, so I guess the
procedure is the same for pdf also)
any suggestions?
asp.net 2.0
I'm developing a webportal, where admins will upload documents related to
users of the website.
Each document will be unique for each user. A user can have from 0 to many
documents.
An user only have access to his documents.
Documents will be in .pdf format.
Documents will not be stored in database (sqlserve2005) but instead uploaded
to a folder on the webserver. So I'm thinking should I create a folder for
each user on the webserver (make some logic that create folder, permission
problem at creating folder?) or modify document name to also hold the id of
the user, which I guess is a potential pitfall....
any suggestons? maybe there are better wasys of doing this? Upload to the
database instead (possible with pdf)? I guess changing the logic to save
file in the db is better, though not sure how to view a .pdf file stored in
the database (I know how to view images stored in database, so I guess the
procedure is the same for pdf also)
any suggestions?