Update panel is not working by CSP

Revathi M 1 Reputation point
2021-01-28T04:11:46.29+00:00

Update panel is not working if content security policy is self.
This is in asp.net classic please suggest.
Note:I am not prefer to put unsafe-inline or unsafe-eval

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,071 Reputation points
    2021-01-28T08:38:34.56+00:00

    Hi @Revathi M ,
    Do you have set Content-Security-Policy correctly? In fact, we need to ensure that the returned html response has a CSP Header. And then Browser (requires some version support) will execute CSP.
    More details,you could refer to below article


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best regards,
    Yijing Sun

    0 comments No comments