Hiding AAS columns "...not intended to be used for data security" - why not?

Mark Mace 71 Reputation points
2022-10-06T04:28:01.307+00:00

Per this website:

https://learn.microsoft.com/en-us/analysis-services/tabular-models/hide-or-freeze-columns-ssas-tabular?view=asallproducts-allversions

The ability to hide columns is not intended to be used for data security, only to simplify and shorten the list of columns visible in the model designer or reports. To secure data, you can define security roles. Roles can limit viewable metadata and data to only those objects defined in the role. For more information, see Roles.

Perspectives I could see not being security -since one can connect to any perspective.

But say our Timesheet table - if the Employee column were hidden, then it wouldn't be personally identifiable, thus we'd achieve our security objectives (or so my initial take goes).
One could still see the column if they connected to the Cube via SSMS as an admin, but admins are fine to see everything.

Why wouldn't that be security? I could certainly add a column level security to every role, hiding that column. But what would be the difference security-wise?

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
452 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jay Tuck 126 Reputation points
    2022-10-06T14:34:05.287+00:00

    Hiding columns is just for making them not visible via the front end tools. They could still be queried in MDX or DAX with no restriction.

    Securing their use via Roles would mean they could not be accessed at all.

    3 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mark Mace 71 Reputation points
    2022-10-06T15:17:20.787+00:00

    They could still be queried in MDX or DAX with no restriction.

    But unless one has admin rights, they can't see anything in SSMS when connecting to the Cube, and can't query anything at all that way.

    What am I missing?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.