web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can we prevent users f...
Power Automate
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,506

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

Categories:
I have the same question (0)
  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard