Události
31. 3. 23 - 2. 4. 23
Největší událost učení Fabric, Power BI a SQL. 31. března – 2. dubna. Pomocí kódu FABINSIDER uložte $400.
Zaregistrovat se ještě dnesTento prohlížeč se už nepodporuje.
Upgradujte na Microsoft Edge, abyste mohli využívat nejnovější funkce, aktualizace zabezpečení a technickou podporu.
Applies to:
SQL Server Analysis Services
Azure Analysis Services
Fabric/Power BI Premium
Data model security starts with effectively implementing roles and row-level filters to define user permissions on data model objects and data. For tabular 1400 and higher models, you can also define object-level security (OLS), which includes table-level security and column-level security in the Roles object. When configured, table and column data are secured, along with metadata to help prevent a malicious user from discovering that such an object exists.
OLS can be configured by using the open-source Tabular Editor, Tabular Model Scripting Language (TMSL), or Tabular Object Model (TOM).
With table-level security, you can not only restrict access to table data, but also sensitive table name metadata. Set the metadataPermission property of the tablePermissions class in the Roles object to none.
In this example, the metadataPermission property of the tablePermissions class for the Product table is set to none:
"roles": [
{
"name": "Users",
"description": "All allowed users to query the model",
"modelPermission": "read",
"tablePermissions": [
{
"name": "Product",
"metadataPermission": "none"
}
]
}
Similar to table-level security, with column-level security you can not only restrict access to column data, but also sensitive column name metadata. Set the metadataPermission property of the columnPermissions class in the Roles object to none.
In this example, the metadataPermission property of the columnPermissions class for the Base Rate column in the Employees table is set to none:
"roles": [
{
"name": "Users",
"description": "All allowed users to query the model",
"modelPermission": "read",
"tablePermissions": [
{
"name": "Employee",
"columnPermissions": [
{
"name": "Base Rate",
"metadataPermission": "none"
}
]
}
]
}
Table-level security cannot be set for a model if it breaks a relationship chain. An error is generated at design time. For example, if there are relationships between tables A and B, and B and C, you cannot secure table B. If table B is secured, a query on table A cannot transit the relationships between table A and B, and B and C. In this case, a separate relationship could be configured between tables A and C.
Row-level security and object-level security cannot be combined from different roles because it could introduce unintended access to secured data. An error is generated at query time for users who are members of such a combination of roles.
Dynamic calculations (measures, KPIs, DetailRows) are automatically restricted if they reference a secured table or column. While there is no mechanism to explicitly secure a measure, it is possible to implicitly secure a measure by updating the expression to refer to a secured table or column.
Relationships that reference a secured column work provided the table the column is in is not secured.
Visualizations referencing a semantic model object with OLS configured display the same message as for a deleted or non-existing object.
Models with OLS configured for one or more table or column objects are not supported with these Power BI features:
Roles
Roles object (TMSL)
Tabular Model Scripting Language (TMSL)
Tabular Object Model (TOM).
Události
31. 3. 23 - 2. 4. 23
Největší událost učení Fabric, Power BI a SQL. 31. března – 2. dubna. Pomocí kódu FABINSIDER uložte $400.
Zaregistrovat se ještě dnesŠkolení
Modul
Vynucení zabezpečení modelu Power BI - Training
Vynucujte zabezpečení modelu v Power BI pomocí zabezpečení na úrovni řádků a zabezpečení na úrovni objektů.
Certifikace
Microsoft Certified: Power BI Data Analyst Associate - Certifications
Předveďte metody a osvědčené postupy, které odpovídají obchodním a technickým požadavkům pro modelování, vizualizaci a analýzu dat pomocí Microsoft Power BI.
Dokumentace
Zabezpečení na úrovni objektů (OLS) v Power BI - Microsoft Fabric
Postup konfigurace zabezpečení na úrovni objektu pro importované sémantické modely v rámci služba Power BI
Sémantické připojení a správa modelu pomocí koncového bodu XMLA v Power BI - Power BI
Popisuje připojení sémantického modelu Power BI Premium a Premium na uživatele z klientských aplikací a nástrojů pomocí koncového bodu XMLA.
Zabezpečení na úrovni řádků s využitím Power BI - Microsoft Fabric
Konfigurace zabezpečení na úrovni řádků pro importované sémantické modely a DirectQuery v rámci služba Power BI