- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Description
First logged as http://issues.umbraco.org/issue/CON-1454.
What did you do?
Create a form in Umbraco Forms 6.0.5 on Umbraco 7.7.6 with a file upload type. Fill in the form by uploading a file and clicking submit.
What did you expect to happen?
The file could contain private and confidential information or personal data, so I would expect it to be accessible only to people with permissions to view data submitted to that form.
Most likely I would expect it to upload to another IFileSystem configured in FileSystemProviders.config with a different alias.
What actually happened?
It was uploaded to the standard media folders via the IFileSystem. This location is typically available to anyone who can view the entire website, which on a public website means anyone with an Internet connection. It has a URL that's difficult to guess, but that's not sufficient protection for personal or private data.
Workaround
I've published a NuGet package, Escc.Umbraco.Forms.Security, which includes an updated FileSystemProvider which routes forms uploads to a separate folder that can be secured properly.
https://github.com/east-sussex-county-council/Escc.Umbraco.Forms
https://www.nuget.org/packages?q=Escc.Umbraco.Forms