Design question!, uploading documents to webserver

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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?


.



Relevant Pages

  • Re: Hyperlinks
    ... You have never told us how you are producing your pdf file, ... that you are adding an extension when the pdf maker already adds one. ... the download folder and then went to the root folder and deleted and ... Log on to your host, delete the old file, and upload the correct file. ...
    (microsoft.public.publisher.webdesign)
  • Re: Is This Possible ... ? Yes - Upload images to an Access database
    ... It looks like your databases folder is outside the root of your web ... I created a database exactly as you said, the only change I made was to ... and underneath an 'upload' button and a 'view images' button. ... Dim con As New Data.OleDb.OleDbConnection ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Is This Possible ... ? Yes - Upload images to an Access database
    ... It looks like your databases folder is outside the root of your web ... I created a database exactly as you said, the only change I made was to ... and underneath an 'upload' button and a 'view images' button. ... Dim con As New Data.OleDb.OleDbConnection ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Is This Possible ... ? Yes - Upload images to an Access database
    ... It looks like your databases folder is outside the root of your web ... I created a database exactly as you said, the only change I made was to ... and underneath an 'upload' button and a 'view images' button. ... Dim con As New Data.OleDb.OleDbConnection ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Is This Possible ... ? Yes - Upload images to an Access database
    ... I created a database exactly as you said, the only change I made was to ... upload it into the 'databases' folder, and not a folder called 'App_Data', ... and underneath an 'upload' button and a 'view images' button. ... Dim con As New Data.OleDb.OleDbConnection ...
    (microsoft.public.dotnet.framework.aspnet)