Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to store sensitive files
Message
From
21/06/2010 16:27:21
 
 
To
21/06/2010 14:57:47
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Security
Environment versions
Environment:
ASP.NET
Miscellaneous
Thread ID:
01469992
Message ID:
01470028
Views:
53
>I have a large ASP.NET application running on Windows 2003 web server. Parts of the system serve up static files (pdfs, csv, excel, etc) that contain sensitive data. The files are created by certain processes in the system, are uploaded by users and administrators, and are obtained by some integrations with other systems.
>
>Where is the best (most secure, practical) place to store these file. I have been storing them outside of IIS and using .NET code to serve up the file when needed. This has been working fairly well but users have posed concerns about security of these sensitive files, since they are stored on a web server.
>
>It has been suggested to store them in the database, but I would rather not do that.
>
>Any ideas out there? Thanks!

For those files, you might want to make sure they cannot be pulled from a URL. Even if they are outside the IIS root, if you use a virtual path, the user might still want to pull them directly. What I do is to have the download process to copy the file into a temporary directory, when the user needs it, into a unique name. Then, I have a process which removes those files about 60 minutes for example, which should be enough time for the user to download it, unless the file is really big.

So, basically, you are always working with a copy of the master file and only for a temporary period. Thus, all those sensitive files are not accessible massively but only on request, with a generated unique name that only the user who does the hit can download.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform