Picture of iqbal
Registered 5 years 81 days
iqbal Monday, 7 November 2022, 11:22 AM
how can I create/configure Content Security Policy for myApps Apps from c++
Hi
I want to configure Content Security Policy for myApps Apps from C++.

BR
Iqbal
Andreas Fink
Moderator Registered 12 years 277 days
Andreas Fink (innovaphone) Thursday, 10 November 2022, 11:17 AM
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