Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Azure programming patterns for Start-ups

You're reading from   Windows Azure programming patterns for Start-ups A step-by-step guide to create easy solutions to build your business using Windows Azure services with this book and ebook.

Arrow left icon
Product type Paperback
Published in Oct 2012
Publisher Packt
ISBN-13 9781849685603
Length 292 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Riccardo Becker Riccardo Becker
Author Profile Icon Riccardo Becker
Riccardo Becker
Arrow right icon
View More author details
Toc

Best practices


This section describes best practices with respect to the use of SQL Database and contains some code snippets and walkthroughs on how to implement these best practices.

Encryption and security

Encryption within Windows Azure SQL Database is the responsibility of the application, as it does not support the data encryption mechanisms for data that resides on the SQL database.

Obviously, it is not a good security approach to store passwords in source code. Store all your secrets encrypted in configuration files.

Encryption demo

To use encryption from your web or worker roles, use Pkcs12 Protected Configuration Provider, since the standard protected configuration providers in the .NET framework, for example, RsaProtectedConfigurationProvider, is not supported on the Windows Azure platform. If you connect to your instances of Windows Azure SQL Database from applications running on your own datacenter, it is still recommended that you use the configuration providers from the .NET framework...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime