Hi!
I am quite new to PowerApps, but I am currently working on a PCF control that allows to connect to external service (Azure Storage), and I have few security concerns regarding the solution.
The idea behind the control is to place it on the form, so it must be able to be “context specific” (get account name to identify the container etc.), but also due to the restrictions posed by the Azure library, a Shared-Access-Signature must also be able to be retrieved.
As of now, I provide some connection information as input parameters to the control, which then connects to the desired service. Of course, this is a pretty bad solution as I can stop anytime in debugger, and change the value of the string and connect to the container that I should have no access to.
1) Is there a way to somehow encrypt these input parameters? If so, could you possibly provide me with a step-by-step guide, as I am quite new to CRM and PA.
2) How would you provide parameters that match the current context? Let's say the directory name “{prefix}-{accountName}". Can you provide that as a single input variable (usage="input") or do I need to split it into two values: prefix and contextId, which would be concatenated by me within the PCF control?
3) Is there a way to sanitize the input prior to passing to the control? Ideally, I would like to lower the value. Is this possible?
Thanks!