Solved

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

Posted on 2012-04-04
1
284 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Hidden Field Value 10 60
error on the asp.net page 1 33
Error on Add method 1 37
Entity Framework 7 30
I recently went through the process of creating a Calendar Control of events with the basis of using a database to keep track of the dates that are selectable, one requirement was to have the selected date pop-up in a simple lightbox.  At first this…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

911 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

22 Experts available now in Live!

Get 1:1 Help Now