Andreas Fink
Moderator Registered 12 years 277 days
Andreas Fink (innovaphone) Thursday, 10 November 2022, 11:17 AM in response to iqbal
Re: how can I create/configure Content Security Policy for myApps Apps from c++
Hello Iqbal,

I assume your intention is to add an HTTP header to the responce generated by your App?

If so, please take a look on the Webserver Plugin documentation:
https://sdk.innovaphone.com/13r3/sdk/common/interface/webserver_plugin.htm

Especially the last part of the Overview chapter, linking to the additional document regarding the HTTP Lib:

https://sdk.innovaphone.com/13r3/sdk/common/lib/httplib.htm#HTTPLib_HTTPHeader

As alternative way you could provide meta-tag in the html document with corresponding CSP settings.

Best Regards
Andreas Fink
← You can define your color theme preference here