Solved

Anyone's used this method to encrypt and decrypt files?

Posted on 2012-04-04
1
283 Views
Last Modified: 2012-04-04
I need to upload files. These files have patient info and i need them to be encrypted.

Is this a safe way of encrypting files?

http://support.microsoft.com/kb/307010

Or should I be using this method?

http://weblogs.asp.net/aghausman/archive/2009/03/16/saving-and-retrieving-file-using-filestream-sql-server-2008.aspx
0
Comment
Question by:Camillia
1 Comment
 
LVL 12

Accepted Solution

by:
Amick earned 500 total points
ID: 37808401
I like the KB307010 method because it is clean, single purposed and auditable.
You might want to consider whether the additional speed and level of security of the System.Security.Cryptography.AesCryptoServiceProvider makes it worth utilizing as an alternative to the DESCryptoServiceProvider used in that example.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Sometimes in DotNetNuke module development you want to swap controls within the same module definition.  In doing this DNN (somewhat annoyingly) swaps the Skin and Container definitions to the default admin selections.  To get around this you need t…
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now