We are planning a PowerPlatform to SAP connection and are wondering about the security of user authentication and credential / user information handover.
The goal is to request information from an onpremise SAP database in the context of the user of the PowerApp.
The BTP is accessed with administrative user credentials.
We have the following scenario planned:
Handling the green "ZToken" is done with a separate flow "BTP Token request flow", so we do not have to store basic authentication information with in the "Main Flow" that requests the data from SAP.
Obviously the setup with the "BTP Token request Flow" and storage in AKV is not 100% optimal, but we are fine with that.
The main challenge we are facing / have questions about is the yellow text. How do we safely hand over the user information, of the user that is using the PowerApp, to the BTP, that can then use that user information within an RFC?
We have identified the following security risks - please add-on if you think there are others:
- Can a user, that is using the PowerApp within a browser, somehow intercept the handover of user data from the PowerApp to the "Main Flow"?
Important note: we are not passing the user information from PowerApp to Main Flow with variable but use the default "PowerApps"-Trigger, that gets the triggering user information via Request Header. - Assuming the handover / connection of data from step 1 is secure - Can a user then somehow intercept the traffic from the Main Flow to the BTP, to inject false user information, that would then be used in the RFC?
I think those are the two main concerns and we would appreciate any opinions.

Report
All responses (
Answers (