Safe way to support hosting files from asp.net mvc site

Posted by ooo on Stack Overflow See other posts from Stack Overflow or by ooo
Published on 2011-02-05T14:29:01Z Indexed on 2011/02/05 15:25 UTC
Read the original article Hit count: 207

Filed under:
|
|
|

i have an asp.net-mvc site where users can add content and links and the data gets saved in a database. They now want the ability to upload attachments to pages and i wanted to figure out a few things:

  1. I have upload code that will upload files (pdfs, images, etc) but i wanted to see where i should be storing them. should i store them outside the website directory structure ?

  2. Is there any file types that i should be concerned with storing. I would basically have a file picker on the front end.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about files