Skip to content

Infragistics Community Forum / Web / Ultimate UI for ASP.NET Web Forms / Infragistics and Content Security Policy header

Infragistics and Content Security Policy header

New Discussion
Pieterjan Vanhove
Pieterjan Vanhove asked on Nov 21, 2023 2:21 PM

Hey

Which value do I have to give the Content Security Header in order to make Infragistics ASP.NET components work e.g. the WebDatePicker.

Thanks in advance.

Sign In to post a reply

Replies

  • 0
    Tihomir Iliev
    Tihomir Iliev answered on Mar 8, 2018 10:48 AM

    Hello Pieterjan,

    Thank you for contacting us.

    Could you share with us what error do you get? Please provide as much details as possible.

    I am looking forward to hearing from you.

    Best Regards,
    Tihomir Iliev
    Software Developer
    Infragistics, Inc.

  • 0
    Tihomir Iliev
    Tihomir Iliev answered on Mar 13, 2018 10:22 AM

    Hello Pieterjan,

    I understood, I will test your scenario and I will get back to you with my findings.

    Best Regards,
    Tihomir Iliev
    Software Developer
    Infragistics, Inc.

  • 0
    Rajesh Birelly
    Rajesh Birelly answered on Mar 22, 2018 9:56 AM

    I am also facing the same problem with below content-security-policy the Infragistics controls are working fine in IE browser but when switched to Chrome browser , its not rendering correctly and not working. I want the list of values by which the Infragistics controls works correctly in Chrome browser also.

    <add name="Content-Security-Policy" value="default-src 'self'; script-src 'self' ; style-src 'self'; img-src 'self'; font-src 'self';connect-src 'self';child-src 'self';form-action 'self';block-all-mixed-content;" />

  • 0
    Tihomir Iliev
    Tihomir Iliev answered on Mar 26, 2018 8:43 AM

    Hello,

    Thank you for your patience.

    Our controls use inline script elements as well as eval(). Your CSP configuration should look like this:

    <add name="Content-Security-Policy" value="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' ; style-src 'self' 'unsafe-inline'; img-src 'self'; font-src 'self';connect-src 'self';child-src 'self';form-action 'self';block-all-mixed-content;" />

    Please let us know if you need further assistance.

  • 0
    jared tait
    jared tait answered on Nov 21, 2023 2:21 PM

    Is this problem of requiring script-src unsafe-eval only for WebForms?

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Pieterjan Vanhove
Favorites
0
Replies
5
Created On
Nov 21, 2023
Last Post
2 years, 11 months ago

Suggested Discussions

Created by

Created on

Nov 21, 2023 2:21 PM

Last activity on

Feb 24, 2026 9:42 AM