For security purposes, it is important to be able to encrypt files before they are committed to disk. Is it possible to use RadUpload to stream up files and encrypt them as they upload?
With large files, we can have RadUpload automatically save pieces of the file to the temp folder as they upload. However, is it possible to have them be encrypted? I think the flow would be something like:
- User clicks upload button
- File up to 2 GB IIS limit in size starts uploading
- HttpModule stores pieces of file as encrypted chunks, saving to disk
- OnUploadComplete event fires, passing an InputStream. We can now read from the InputStream (automatically decrypted) and now apply our own encryption method to store the file in its final form?
We don't want the file contents to be intercepted as they are written to disk on the server; essentially they must be encrypted at all times when not in memory.
Is it possible to achieve this effect? I saw a post on the RadUpload forum from 2007 (http://www.telerik.com/community/forums/thread/b311D-tadac.aspx
) that says you expect to have some encryption feature for RadUpload in a future version. Is this available yet?