Hiding Data from Prying eyes: Using SQL Server 2016 Always Encrypted

Slides:



Advertisements
Similar presentations
Gavin Payne Transparent Data Encryption The Hows, Whys and Whens.
Advertisements

Securing Data Storage Protecting Data at Rest Advanced Systems Group Dell Computer Asia Ltd.
Jeremy Boyd Director – Mindscape MSDN Regional Director
Jim McLeod MyDBA  SQL Server Performance Tuning Consultant with MyDBA  Microsoft Certified Trainer with SQLskills Australia 
#SQLSAT454 SQL Server 2016 New Security Features Gianluca
SQL SATURDAY #444 – Kansas City, MO. A LOOK AT ALWAYS ENCRYPTED SQL SATURDAY #444 – KANSAS CITY, MO DAVE WALDEN PRINCIPAL SOLUTIONS ARCHITECT DB BEST.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 19/09/2015David Postlethwaite.
Secure SQL Database with TDE Thomas Chan SQL Saturday Raleigh.
End to End Always Encrypted in SQL Server 2016 Steve Jones SQLServerCentral Redgate Software.
SQL Server 2016 Security Features Marek Chmel Microsoft MVP: Data Platform Microsoft MCT: Regional Lead MCSE: Data Platform Certified Ethical Hacker.
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
ORACLE's Approach ORALCE uses a proprietary mechanism for security. They user OLS.... ORACLE Labeling Security. They do data confidentiality They do adjudication.
Course 2389B: Programming with Microsoft® ADO.NET
AUDIT & ACCOUNTING + CONSULTING + TAX SERVICES + TECHNOLOGY I Postlethwaite & Netterville, A Professional Accounting Corporation Organizing.
Azure SQL Database Updates
Securing Your Data With SQL 2016 (An overview of Always Encrypted)
SQL Server on Linux CTP 1.1 Florian
Recommended Practices & Fundamentals
DevOps for Your Mobile App
SQL Server 2016 Security and Privacy Features
آشنایی با نرم افزار Microsoft Access
Thanks for Attending SQL Saturday Baton Rouge 2016!
Curacao SQL Saturday June 11, 2016
Crash course on Better SQL Development
Securing Data with SQL Server 2016
Who am I Hector Villafuerte
Planning an Effective Upgrade from SQL Server 2008
Encryption in SQL Server
Visual Studio 2010 Database Projects
Database Management  .
Always Encrypted, Data Masking, Row Level Security
SQL Server 2016 Security Features
Always Encrypted in the Real World
Exploring Your SQL Server Databases with T-SQL
Download Microsoft Exam Dumps - Valid Microsoft Question Answers - Realexamdumps.com
By Saru Radhakrishnan Member - Sacramento SQL Server Group 07/28/2018
Security enhancements in SQL Server 2016
Encrypting Data within SQL Server
SQL Server Master Data Services
Transparent Data Encryption (TDE)
Migrating a Disk-based Table to a Memory-optimized one in SQL Server
DATA MASKING SOLUTIONS Microsoft and not so much
Populating a Data Warehouse
Please support our sponsors
Encryption Not just for the NSA anymore
Crash course on Better SQL Development
Beginners 101 Guide To Always Encrypted
Migrating your SQL Server Instance
BRK2279 Real-World Data Movement and Orchestration Patterns using Azure Data Factory Jason Horner, Attunix Cathrine Wilhelmsen, Inmeta -
Meet JSON In SQL Server 2016 Russ Loski Preparations:
Security Enhancements in SQL Server 2016
Populating a Data Warehouse
Populating a Data Warehouse
Microsoft Ignite NZ October 2016 SKYCITY, Auckland
Row Level Security in SQL Azure and in On Premise
End to End Security and Encryption in SQL Server
Crash course on Better SQL Development
Transact SQL Performance Tips
Crash course on Better SQL Development
Stretch Database - Historical data storage in SQL Server 2016
Unleashing Stretched Databases
Secure/Encrypt SQL Server Database With TDE
SQL Server 2016 Security Features
Crash course on Better SQL Development
SQL Server 2019: What’s new? Eugene Meidinger
Azure SQL Database Lessons Learned From the Trenches Best practices, Tips and Tricks on monitoring and improving performance. Fernando Cobo.
9/8/ :03 PM © 2006 Microsoft Corporation. All rights reserved.
Sql Server 2019: what’s new?.
SQL Server Indexing for the Client Developer
Presentation transcript:

Hiding Data from Prying eyes: Using SQL Server 2016 Always Encrypted By Mel Lusk

About mel lusk SQL DBA Manager at GCR, Inc. since 2014 Working in IT for 20 years Started with SQL Server 7.0 Certifications/Education Microsoft MCSA, MCDBA, MCITP, MCP, MCTS Oracle 11g, MySQL 5.0 ITIL, ATMAE/NAIT B.S., Southeastern Louisiana University, 2001

Why encrypt? Security Regulatory Compliance PII (Personally Identifiable Information)

Hiding PII About PII NIST Special Publication 800-122 Credit Card Numbers Social Security Numbers Names, Address, Biometrics, etc. “People with the proper authority can view my data, but how do I keep the DBA from viewing it?”

SQL Server 2016 Can Make it Happen! Today we’ll learn how…

Encryption? Network Encryption Transparent Data Encryption Mutliprotocol/SSL Encryption Dates back to SQL Server 7.0 Only hides data being transferred between client/server Transparent Data Encryption Started with SQL Server 2008 Encrypts “Data-At-Rest” MDF/LDF Files Backups

Symmetric/Asymmetric Key Encryption Available since SQL Server 2005 Encrypt entire database, rows, or columns BUT…. You have to code for it: OPEN SYMMETRIC KEY [MySSLCertificate] DECRYPTION BY CERTIFICATE [MySSLCertificate] SELECT FirstName, LastName, convert( NVARCHAR(100), decryptbykey( SSN )) as 'Social Security Number' FROM [dbo].[People]

Homegrown & Third-Party Solutions Performance Encryption/Decryption performed by the SQL Server Engine Does not stop DBA .NET Encryption System.Security.Cryptography Homegrown & Third-Party Solutions

SQL Server 2016 Dynamic Data Masking AlwaysEncrypted New with SQL Server 2016 Useful for App Development 123-45-6789 = XXX-XX-6789 Nice for displaying data….But still insecure The DBA or other privileged users can still see the data AlwaysEncrypted

Always encrypted Transparent to the application Performance Works with existing T-SQL* Performance Encryption/Decryption performed by client/middle-tier

Always Encrypted Security Data can only be viewed with a certificate

Requirements SQL Server 2016 .NET 4.6 or Higher Certificate Store Enterprise/Developer Editions only Azure .NET 4.6 or Higher Must use ADO.NET Certificate Store Used to store the Master Key String data must use binary2 collation Latin1_General_BIN2

Not supported Replication Distributed Queries (Linked Servers) Transactional or Merge Distributed Queries (Linked Servers) Certain Datatypes XML, timestamp/rowversion, image, ntext, text, sql_variant, hierachyid, geography, geometry, alias, user-defined FOR XML, FOR JSON, Check Constraints Change Data Capture/Change Tracking SQL Server Data Tools (SSIS) A few others…. https://msdn.microsoft.com/en-us/library/mt163865.aspx

Types Randomized Deterministic Same data values will have different encrypted values (225) 555-1234 = 0x0003456 (225) 555-1234 = 0x00078910 More secure Can’t allow comparisons (no JOINS) No Indexes Deterministic Same data values will have same encrypted values Less secure Allows comparisons (JOINS)

Demo

Questions?

Thank you! LinkedIn https://www.linkedin.com/in/mel-lusk-2356888

Thanks for Attending SQL Saturday Baton Rouge 2016! Speaker evaluations: Use the small square cards at the front of the classroom, give directly to speaker Speaker: Please give out 1 book ticket Book Ticket Winner: Bring your ticket to the user group booth in the main atrium to redeem (supplies limited)