Config your IIS server to use the “Content-Security-Policy” header

后端 未结 6 2276
死守一世寂寞
死守一世寂寞 2020-12-29 08:06

I need to add custom headers in IIS for \"Content-Security-Policy\", \"X-Content-Type-Options\" and \"X-XSS-Protection\".

I get the procedure to add these headers b

6条回答
  •  旧巷少年郎
    2020-12-29 08:46

    On Server 2012 R2:

    1. Open IIS Manager.
    2. Click on IIS Server Home.
    3. DoubleClick on HTTP Response Headers.
    4. Click Add under Actions on the right.
    5. Add the Name and Values.

提交回复
热议问题