Skip to Content
avatar image
Former Member

Could I add a custom header to an HCP html5 application?

I need to add the header below to an HCP html5 application, to avoid click-jacking

  • X-Frame-Options: DENY

I already check the documentacion below:

But I didn't the header in the server response.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 06, 2017 at 07:38 PM

    Hello there,

    I thin you can achieve that during bootstrap, in some cases like integration tests, you will actually want frames.
    <scriptid='sap-ui-bootstrap'src='resources/sap-ui-core.js'

    data-sap-ui-frameOptions='deny'></script>

    Add comment
    10|10000 characters needed characters exceeded