当前位置:网站首页>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>



边栏推荐
- [neural network] convolutional neural network CNN [including Matlab source code 1932]
- powershell cs-UTF-16LE编码上线
- Apache installation problem: configure: error: APR not found Please read the documentation
- Present pod information to the container through environment variables
- Up meta - Web3.0 world innovative meta universe financial agreement
- 数据库系统原理与应用教程(010)—— 概念模型与数据模型练习题
- 防红域名生成的3种方法介绍
- Superscalar processor design yaoyongbin Chapter 9 instruction execution excerpt
- @What happens if bean and @component are used on the same class?
- Ask about the version of flinkcdc2.2.0, which supports concurrency. Does this concurrency mean Multiple Parallelism? Now I find that mysqlcdc is full
猜你喜欢
Swiftui tutorial how to realize automatic scrolling function in 2 seconds
《通信软件开发与应用》课程结业报告
从工具升级为解决方案,有赞的新站位指向新价值
College entrance examination composition, high-frequency mention of science and Technology
zero-shot, one-shot和few-shot
百度数字人度晓晓在线回应网友喊话 应战上海高考英语作文
@What happens if bean and @component are used on the same class?
【全栈计划 —— 编程语言之C#】基础入门知识一文懂
Fleet tutorial 14 basic introduction to listtile (tutorial includes source code)
Camera calibration (1): basic principles of monocular camera calibration and Zhang Zhengyou calibration
随机推荐
MATLAB實現Huffman編碼譯碼含GUI界面
Tutorial on principles and applications of database system (009) -- conceptual model and data model
110.网络安全渗透测试—[权限提升篇8]—[Windows SqlServer xp_cmdshell存储过程提权]
数据库系统原理与应用教程(008)—— 数据库相关概念练习题
超标量处理器设计 姚永斌 第10章 指令提交 摘录
防红域名生成的3种方法介绍
Common locking table processing methods in Oracle
Will the filing free server affect the ranking and weight of the website?
Sign up now | oar hacker marathon phase III midsummer debut, waiting for you to challenge
Review and arrangement of HCIA
How to connect 5V serial port to 3.3V MCU serial port?
[extraction des caractéristiques de texture] extraction des caractéristiques de texture de l'image LBP basée sur le mode binaire local de Matlab [y compris le code source de Matlab 1931]
[filter tracking] comparison between EKF and UKF based on MATLAB extended Kalman filter [including Matlab source code 1933]
College entrance examination composition, high-frequency mention of science and Technology
【滤波跟踪】基于matlab捷联惯导仿真【含Matlab源码 1935期】
How to understand the clothing industry chain and supply chain
111.网络安全渗透测试—[权限提升篇9]—[Windows 2008 R2内核溢出提权]
Flet教程之 17 Card卡片组件 基础入门(教程含源码)
112. Network security penetration test - [privilege promotion article 10] - [Windows 2003 lpk.ddl hijacking rights lifting & MSF local rights lifting]
30. Feed shot named entity recognition with self describing networks reading notes