Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
10 years ago
Solved

SQL direct query credentials

scienario

 

"A" has access to SQL DB

"A" creates a report/dashbaord using direct query. uses SQL admin credntials in the gateway

"B" does not have access to the SQL DB

"A" shares the report/dasboard with "B"

Since for SQL only the admin credentials are passed to the gateway,  and not the user credentials- will "B" be able to view the report content?

  • Anonymous's avatar
    Anonymous
    10 years ago

    Anonymous "B" will see whatever "A" can in this scenerio. There are no additional perms needed on the database for Direct Query. 

  • Anonymous's avatar
    Anonymous
    10 years ago

    Anonymous

    Is this also true for Azure SQl, where no gateway is required?

     As long as you haven't applied RLS, the same should apply. The author passes on their creds with the report.

    In effect for all datasources expect SSAS- if any dashboard is shared  with another user (B), B can see the content even if B dosnt not have acess to the database? Direct Query, is not "Live Connection" - SSAS uses Live connection, and it requires that all end users have read access on the tabular model. If they don't, they won't be able to see the visualizations - they will just show as gray boxes.

13 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    Anonymous "B" will see whatever "A" can in this scenerio. There are no additional perms needed on the database for Direct Query. 

    • Anonymous's avatar
      Anonymous
      Not applicable

      Is this also true for Azure SQl, where no gateway is required?

       

      In effect for all datasources expect SSAS- if any dashboard is shared  with another user (B), B can see the content even if B dosnt not have acess to the database?

      • Anonymous's avatar
        Anonymous
        Not applicable

        Anonymous

        Is this also true for Azure SQl, where no gateway is required?

         As long as you haven't applied RLS, the same should apply. The author passes on their creds with the report.

        In effect for all datasources expect SSAS- if any dashboard is shared  with another user (B), B can see the content even if B dosnt not have acess to the database? Direct Query, is not "Live Connection" - SSAS uses Live connection, and it requires that all end users have read access on the tabular model. If they don't, they won't be able to see the visualizations - they will just show as gray boxes.

  • Eric_Zhang's avatar
    Eric_Zhang
    Microsoft Employee

    Anonymous wrote:

    scienario

     

    "A" has access to SQL DB

    "A" creates a report/dashbaord using direct query. uses SQL admin credntials in the gateway

    "B" does not have access to the SQL DB

    "A" shares the report/dasboard with "B"

    Since for SQL only the admin credentials are passed to the gateway,  and not the user credentials- will "B" be able to view the report content?


    Anonymous

     

    The SQL admin credential determines that gateway can access the database.

    Whoever you share your dashboard with can access the shared dashboard,report and data.