Skip to main content

Notifications

Community site session details

Community site session details

Session Id : iBFG/JsjCYzZFs1aIRZNmf
Power Apps - Connector Development
Unanswered

SQL Injection: Preventing Sensitive Data Exposure in PowerApps - Masking Headers: x-ms-request-url

Like (0) ShareShare
ReportReport
Posted on 12 Nov 2024 09:59:07 by 26
I’m working on securing PowerApps connections to SQL databases but noticed sensitive information like x-ms-request-url could potentially be exposed, raising concerns about SQL injection risks. While PowerApps is known for its security, I believe there must be a way to prevent these headers from being exposed. Has anyone used Azure API Management (APIM) or Content Security Policy (CSP) for masking headers or preventing potential vulnerabilities? Any suggestions or best practices would be greatly appreciated!

  • Suggested answer
    SaiRT14 Profile Picture
    1,966 Super User 2025 Season 1 on 27 Nov 2024 at 17:17:27
    SQL Injection: Preventing Sensitive Data Exposure in PowerApps - Masking Headers: x-ms-request-url
    Here are the best practices:
     
    APIM acts as a gateway between your PowerApps and SQL databases, enabling you to control, mask, or block sensitive headers.
    Ensure that SQL queries in PowerApps, especially in custom connectors or flows, use parameterized queries:
    Instead of storing connection credentials, use Azure Managed Identity to authenticate PowerApps with SQL databases.
    Ensure SQL endpoints are only accessible from trusted IP ranges or services like APIM.
     
     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Connector Development

#1
stampcoin Profile Picture

stampcoin 4

#2
CG-07052056-0 Profile Picture

CG-07052056-0 2

Overall leaderboard

Featured topics

Loading started