Forum Discussion
is column level security really available in sql server 2019
- 1 year ago
Hi stanteitelbaum ,
SQL Server does not support true Column-Level Security (OLS) natively only Row-Level Security (RLS) is supported. OLS can be simulated using views and SYSTEM_USER(), but this approach is manual and not secure for sensitive data unless combined with other controls.
Power BI does not detect SQL column restrictions via USERPRINCIPALNAME() unless you are using Direct Query.
SQL enforces security using views and SYSTEM_USER() or SUSER_SNAME().
To ensure safer, scalable security that aligns with Power BI’s behaviour, split sensitive data into separate tables and apply RLS.
Thank you!!
Hi stanteitelbaum ,
Could you please confirm if the provided response addressed your issue? If it did, kindly mark the helpful reply and accept it as the solution. This will assist other community members in resolving similar problems more quickly.
Thank you!!