Who am I Hector Villafuerte

Slides:



Advertisements
Similar presentations
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
Advertisements

Leveraging BI in SharePoint with PowerPivot and Power View
Power BI / DataZen Microsoft’s BI Roadmap A Presentation For.
Automating Power BI Creations Angel Abundez VP Business Intelligence, DesignMind.
SQL Server 2016 Security Features Marek Chmel Microsoft MVP: Data Platform Microsoft MCT: Regional Lead MCSE: Data Platform Certified Ethical Hacker.
Agenda Integration points between Excel and Power BI How can I decide between the two technologies Do I need to chose? Q&A.
Internal Modern Data Platform Somnath Data Platform Architect.
Microsoft Training and Certification Guide
Solving Modern Day Business Problems Using Power Apps
Data Security with Power BI, SSAS, SQL Server 2016 and Active Directory June 10, 2017.
PowerBI for the common man!
Connecting Power BI to On-Premise Dynamics CRM/GP Data
Victoria Power BI User Group Meeting
SharePoint 2007 Business Intelligence
Power BI Internals Eugene
Cloud BI with Azure Analysis Services
Power BI for the Enterprise
Recommended Practices & Fundamentals
Data Platform and Analytics Foundational Training
Becky Bertram January 21, 2017 SharePoint Saturday St. Louis
Getting started with Power BI
Power BI for the Enterprise
What’s new in SQL Server 2017 for BI?
5/22/2018 1:39 AM BRK2156 Power BI Report Server: Self-service BI and enterprise reporting on-premises Christopher Finlan Senior Program Manager © Microsoft.
Connected Health Solution
Creating Enterprise Grade BI Models with Azure Analysis Services
Using a Gateway to Leverage On-Premises Data in Power BI
Cloud BI with Azure Analysis Services
Using a Gateway to Leverage On-Premises data in Power BI
Power BI in the Wild Power BI at Innovative Architects Julie Smith
6/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Data Platform and Analytics Foundational Training
Leveraging BI in SharePoint with PowerPivot and Power View
Microsoft Power BI Transforming your data into actionable insight
Microsoft Ignite /31/ :08 AM
Power BI – Exploring New Frontiers
Power BI Security Best Practices
Connected Health Solution
PowerApps and Microsoft Flow for Business Users
H*ckin Sweet Reports with Power BI
Using a Gateway to Leverage On-Premises Data in Power BI
Leverage your on-premise investments with cloud innovation
Special thanks to our sponsors!
Power BI Admin made easy(ier)
Power Apps & Flow for Microsoft Dynamics SL
Erik Svensen, CatMan Solution A/S
Power BI – Exploring New Frontiers
SQL Server Analysis Services Fundamentals
H*ckin Sweet Reports with Power BI
Welcome! Power BI User Group (PUG)
Security Enhancements in SQL Server 2016
TechEd /24/2018 6:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Power BI in the Wild Power BI at Innovative Architects Julie Smith
Cloud BI with Azure Analysis Services
Power BI for large databases
Power BI Admin made easy(ier)
Power BI Part 1: A Business User’s Perspective
Power BI – Exploring New Frontiers
Power BI Part 2: Internals
Power BI with Analysis Services
Welcome to SQLSaturday #767! Hosted by Lincoln SQL Server User Group
Hybrid Power BI With the on Premise Data Gateway
Power BI – Exploring New Frontiers
Dashboard in an Hour Using Power BI
Bob Duffy 27 years in database sector, 250+ projects
Power BI Security Fundamentals
Microsoft Virtual Academy
SQL Saturday Madison, April 8th
Data Modeling and Prototyping
Power BI Embedded for Fun and Profit
Presentation transcript:

Data Security with Power BI, SSAS, SQL Server 2016 and Active Directory

Who am I Hector Villafuerte Business Intelligence Architect at Starwood Property Trust Microsoft Certified Technology Specialist, SQL, Dynamics CRM - MCTS Works with SQL Server, Excel, Power BI, SSIS, SSAS, SSRS, SharePoint, Dynamics CRM and Azure PAAS. Microsoft Certified Professional Developer – MCPD Full-stack .NET Developer and Web Applications Architect. Reach me at: Twitter - @optimumclick http://www.hectorv.com optimumclick@gmail.com

Data Security with Power BI, SSAS, SQL Server and Active Directory Agenda SQL Server 2016 On-Premise Data Security with Active Directory SSAS Tabular/Multidimensional Security with Active Directory Azure Active Directory and On-Premise Gateway Power BI Data Security – Live Connection SSAS Tabular/Multidimensional with Active Directory Power BI Data Security – Imported DataSet and Direct Query - with Active Directory Client Apps with RLS and Power BI RLS integration with a web application.

Survey How many of you are using Active Directory in your company? How many of you are using SSAS Tabular or Multidimensional? How many of you are using PowerBI in your company?

New SQL Server 2016 security features Always Encrypted: motion Row-Level Security Dynamic Data Masking Always Encrypted enables encryption inside client applications without revealing encryption keys to SQL Server. It allows changes to encrypted data without the need to decrypt it first, as shown in Figure 3. The combination of Transparent Data Encryption and Always Encrypted ensures that data is encrypted both at rest and in motion. Row-Level Security (RLS), which Figure 4 illustrates, enables developers to centralize row-level access logic in the database and maintain a consistent data access policy to reduce the risk of accidental data leakage.  Dynamic Data Masking (DDM) lets you conceal your sensitive data or personally identifiable information (PII) such as customer information such as phone number, bank information, or Social Security number. DDM and Row-Level Security (RLS) help developers build applications that require restricted direct access to certain data as a means of preventing users from seeing specific information. Limitations during the preview: RLS is incompatible with database export using Data Tier Application Framework (DACFx). You must drop all RLS policies before exporting. Security policies cannot target views. Certain query patterns using OR logic can trigger un-optimized table scans, decreasing query performance. No syntax highlighting in SQL Server tools. Security

Row Level Security – Use Cases Oil & gas exploration app might restrict access to well production data, based on analyst’s region. Healthcare app might restrict access to patient data, based on a doctor’s staffing assignments. Multitenant app with a “shared database, shared schema” tenancy model needs to prevent tenants from accessing data that does not belong to them. Real Estate app might restrict information to the investment department until the data is allowed to be published.

Row Level Security Traditional Solutions have problems

Security across many BI Tools and many databases Different users access same database through various reporting tools, and work with different subsets of data based on their identity/role Consume interactive reports, queries Import Data, Data Refresh Databases

SQL Server 2016 - Row-Level Security Robin Alvarez Name United Kingdom Country Emily Miller houCorp. United States Cara Zhou Germany dbo.DimCustomer Policy Manager / DBA Security Policy United States User: GHowell SELECT * FROM DimCustomer SELECT * FROM DimCustomer APPLY GeographyAccessPredicate()

DEMO 2.1: SQL Server 2016 On Premise with Row-Level Security with Active Directory.

Tabular 2016 - Row-Level Security Robin Alvarez Name United Kingdom Country Emily Miller houCorp. United States Cara Zhou Germany Customer DAX Query evaluate (   ‘Customer' ) United States User: GHowell

SSAS 2016 Tabular - Row-Level Security with Active Directory – On Premise.

DEMO 3: SSAS 2016 Tabular On Premise with Row-Level Security and Active Directory.

Power BI and RLS On-Premise - Data Sources: We need these two integration components: - Azure AD Connect: Azure AD Connect will integrate your on-premises directories with Azure Active Directory. This allows you to provide a common identity for your users for Office 365, Azure, and SaaS applications integrated with Azure AD.  - On-Premise Data Gateway: The on-premises data gateway acts as a bridge, providing quick and secure data transfer between on-premises data (data that is not in the cloud) and the Power BI, Microsoft Flow, Logic Apps, and PowerApps services.

Active Directory Synch

On-Premise Data Gateway

DEMO 4: Power BI Security with Active Directory Synch and On-Premise Data Gateway

User Principal Name (UPN) Row Level Security with SSAS Tabular Live Connection in Power BI User Principal Name (UPN)

Power BI Desktop with SSAS Tabular Live Connection

Row Level Security with SSAS Tabular Live Connection in Power BI

Row Level Security with SSAS Tabular Live Connection in Power BI

DEMO 5: Power BI using SSAS Tabular with Row Level Security. Power BI using SSAS Multidimensional with Row Level Security.

Power BI Desktop with SQL Server Imported Data or Direct Query

Power BI Desktop with SQL Server - Imported Data/Direct Query

Power BI Service with Imported Data/Direct Query

Power BI Service with Imported Data/Direct Query Row-Level Security with Active Directory Groups

DEMO 6: Power BI - Imported Data with Row Level Security Power BI - Direct Query with Row Level Security

Client App (MVC, Web Forms, Web API) with SQL 2016 RLS SessionContextInterceptor Class EXEC sp_set_session_context @key=N‘LoginName', @value=@LoginName Robin Alvarez Name United Kingdom Country Emily Miller houCorp. United States Cara Zhou Germany dbo.DimCustomer App User Row-Level Security based on SESSION_CONTEXT Security Policy EF SQL generated: SELECT * FROM DimCustomer

DEMO 7.1: - Client App Security (MVC, Web Forms, Web API) with SQL 2016 RLS and Active Directory. - Integrate Power BI dashboard with a web application

Power BI Architecture

Limitations of Power BI with RLS At October, 2017: Power BI Services Q&A (Natural Language Search) is not available for Imported Dataset nor SQL Direct Query. SQL Server 2016 RLS does not work for Power BI in SQL Direct Query Mode. Publish to Web does not have Authentication, so it cannot pass down the user for Row Level Security.

Resources: www.hectorv.com - Posts on BI Data Security: Gateway, Azure AD, SQL RLS, SSAS RLS, Power BI RLS, Power BI Integration. Microsoft Power BI security: https://www.microsoft.com/en-us/trustcenter/security/powerbi-security Power BI Security: https://powerbi.microsoft.com/en-us/documentation/powerbi-admin-power-bi-security Hector Villafuerte Blog: www.hectorv.com E-mail: optimumclick@gmail.com Questions?