Safe way to support hosting files from asp.net mvc site
- by ooo
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:
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 ?
Is there any file types that i should be concerned with storing. I would basically have a file picker on the front end.