Allow All Content Security Policy?

后端 未结 4 1236
野性不改
野性不改 2020-12-05 10:25

Is it possible to configure the Content-Security-Policy to not block anything at all? I\'m running a computer security class, and our web hacking project is running into iss

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-05 10:34

    The best way would be not applying any policy.

    But to answer your question, an "allow all policy" would probably be:

    default-src * 'unsafe-inline' 'unsafe-eval' data: blob:; 
    

    Note: untested

提交回复
热议问题