当前位置:网站首页>About web content security policy directive some test cases specified through meta elements
About web content security policy directive some test cases specified through meta elements
2022-07-07 12:23:00 【InfoQ】
frame-src


test 1:3000 application ( Namely embedding 3002 Applied web In the application ) increase frame-src
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="frame-src 'self'">
</head>
<h1>Parent</h1>
<iframe src="http://localhost:3002/csp"></iframe>
</html>


test 2

<html>
<head>
<meta http-equiv="Content-Security-Policy" content="frame-src 'http://localhost:3002'">
</head>
<h1>Parent</h1>
<iframe src="http://localhost:3002/csp"></iframe>
</html>

*


<html>
<head>
<meta http-equiv="Content-Security-Policy" content="frame-src http://localhost:3002/csp">
</head>
<h1>Parent</h1>
<iframe src="http://localhost:3002/csp"></iframe>
</html>
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="frame-src http://localhost:*/csp">
</head>
<h1>Parent</h1>
<iframe src="http://localhost:3002/csp"></iframe>
</html>



边栏推荐
- Baidu digital person Du Xiaoxiao responded to netizens' shouts online to meet the Shanghai college entrance examination English composition
- [filter tracking] strapdown inertial navigation pure inertial navigation solution matlab implementation
- TypeScript 接口继承
- NGUI-UILabel
- Simple network configuration for equipment management
- Flet教程之 16 Tabs 选项卡控件 基础入门(教程含源码)
- The road to success in R & D efficiency of 1000 person Internet companies
- What are the top-level domain names? How is it classified?
- Swiftui swift internal skill how to perform automatic trigonometric function calculation in swift
- 开发一个小程序商城需要多少钱?
猜你喜欢

Zero shot, one shot and few shot

Flet tutorial 17 basic introduction to card components (tutorial includes source code)

【神经网络】卷积神经网络CNN【含Matlab源码 1932期】

Nuclear boat (I): when "male mothers" come into reality, can the biotechnology revolution liberate women?

Epp+dis learning road (2) -- blink! twinkle!

Flet教程之 18 Divider 分隔符组件 基础入门(教程含源码)

VSCode的学习使用

2022 年第八届“认证杯”中国高校风险管理与控制能力挑战赛

超标量处理器设计 姚永斌 第10章 指令提交 摘录

Sonar:cognitive complexity
随机推荐
ES底层原理之倒排索引
HCIA复习整理
@Bean与@Component用在同一个类上,会怎么样?
[data clustering] realize data clustering analysis based on multiverse optimization DBSCAN with matlab code
Idea 2021 Chinese garbled code
百度数字人度晓晓在线回应网友喊话 应战上海高考英语作文
Introduction to three methods of anti red domain name generation
Superscalar processor design yaoyongbin Chapter 10 instruction submission excerpt
Problem: the string and characters are typed successively, and the results conflict
Cenos openssh upgrade to version 8.4
SwiftUI Swift 内功之 Swift 中使用不透明类型的 5 个技巧
Mise en œuvre du codage Huffman et du décodage avec interface graphique par MATLAB
NGUI-UILabel
Ask about the version of flinkcdc2.2.0, which supports concurrency. Does this concurrency mean Multiple Parallelism? Now I find that mysqlcdc is full
112. Network security penetration test - [privilege promotion article 10] - [Windows 2003 lpk.ddl hijacking rights lifting & MSF local rights lifting]
《看完就懂系列》天哪!搞懂节流与防抖竟简单如斯~
[full stack plan - programming language C] basic introductory knowledge
数据库系统原理与应用教程(010)—— 概念模型与数据模型练习题
Is it safe to open an account in Ping An Securities mobile bank?
30. Few-shot Named Entity Recognition with Self-describing Networks 阅读笔记