Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Can we prevent users from reusing Implicit SQL connection, or to restrice reusing it to certain people only

(0) ShareShare
ReportReport
Posted on by 3,502

We have a self-developed sql server (on-premises) and which have asp.net web application. we do not apply any custom permission to the SQL server tables rows. so the service account used to connect to the sql server has full control on the database, and we apply server-side validation using asp.net core mvc, so certain records  can only be viewed/modified by certain users. everything till this stage is working well.

Now our customer want to build a power apps to read and write data to the sql server. so for this i am planning to build a gateway to access the on-premises database >> and define an implicit connection to the sql database.

 

but i am have some concerns about the security of this approach mainly for those 2 points:-

 

1) now since we are going to define an implicit connection , so i think any users can create his own power apps and reuse the implicit connection to get all the data without any restrictions. so to fix this , can we restrict reusing this implicit connection to certain users only?

 

2) let say we manage to secure reusing the implicit connection, and we apply the business logic inside the power apps >> will users be able to modify the power apps queries using browser developer tools for example and gain access to data he/she is not allowed to view and modify? let say i have a gallery which filter items that have their created-by or their manger = login user. will user be able to benefit from the gallery query and remove the filters using browser developer tools or other tools? so they can access all the data without any restrictions?

 

Thanks

  • Kaif_Siddique Profile Picture
    2,104 Super User 2024 Season 1 on at
    Re: Can we prevent users from reusing Implicit SQL connection, or to restrice reusing it to certain people only

    Add a Trigger Conditions in SQL Server and validate with list of user whom you want provide permission. 

     

    Let me know if this works.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1