Skip to content

Conversation

rileymcdowell
Copy link
Contributor

One feature blocking the ODBC driver from working on the Power BI Gateway server was that System DSNs were usable by anyone on the system, but the client secret decryption was only possible by the user who created the DSN. This meant that when the Power BI Gateway Server tried to use the DSN via its service account, the client secret could not be decrypted.

This PR modifies system DSN secret encryption/decryption to happen in the system scope, so all users of the system can leverage system DSNs. User DSNs use the original user scope, and cannot be leveraged by other users on the system. This solves the problem and is closer to the original vision of User vs System DSNs.

This makes progress on #21 and probably also on #11 (though that has not yet been confirmed as I don't have access to a report server to test).

@cla-bot cla-bot bot added the cla-signed label Sep 3, 2025
@rileymcdowell rileymcdowell changed the title BUG: System DSNs decryptable by system users BUG: System DSNs not decryptable by system users Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants