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



边栏推荐
- Up meta - Web3.0 world innovative meta universe financial agreement
- 【滤波跟踪】捷联惯导纯惯导解算matlab实现
- Superscalar processor design yaoyongbin Chapter 10 instruction submission excerpt
- <No. 9> 1805. Number of different integers in the string (simple)
- 关于 Web Content-Security-Policy Directive 通过 meta 元素指定的一些测试用例
- [full stack plan - programming language C] basic introductory knowledge
- 【神经网络】卷积神经网络CNN【含Matlab源码 1932期】
- What are the technical differences in source code anti disclosure
- Upgrade from a tool to a solution, and the new site with praise points to new value
- 30. Few-shot Named Entity Recognition with Self-describing Networks 阅读笔记
猜你喜欢

全球首堆“玲龙一号”反应堆厂房钢制安全壳上部筒体吊装成功

Inverted index of ES underlying principle

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

即刻报名|飞桨黑客马拉松第三期盛夏登场,等你挑战

Flet教程之 18 Divider 分隔符组件 基础入门(教程含源码)
![111. Network security penetration test - [privilege escalation 9] - [windows 2008 R2 kernel overflow privilege escalation]](/img/2e/da45198bb6fb73749809ba0c4c1fc5.png)
111. Network security penetration test - [privilege escalation 9] - [windows 2008 R2 kernel overflow privilege escalation]

Swiftui swift internal skill how to perform automatic trigonometric function calculation in swift

Superscalar processor design yaoyongbin Chapter 9 instruction execution excerpt

Xiaohongshu microservice framework and governance and other cloud native business architecture evolution cases

EPP+DIS学习之路(2)——Blink!闪烁!
随机推荐
[filter tracking] comparison between EKF and UKF based on MATLAB extended Kalman filter [including Matlab source code 1933]
110.网络安全渗透测试—[权限提升篇8]—[Windows SqlServer xp_cmdshell存储过程提权]
[neural network] convolutional neural network CNN [including Matlab source code 1932]
Mise en œuvre du codage Huffman et du décodage avec interface graphique par MATLAB
Tutorial on the principle and application of database system (011) -- relational database
跨域问题解决方案
College entrance examination composition, high-frequency mention of science and Technology
An error occurred when vscade tried to create a file in the target directory: access denied [resolved]
@What happens if bean and @component are used on the same class?
关于 Web Content-Security-Policy Directive 通过 meta 元素指定的一些测试用例
软件内部的定时炸弹:0-Day Log4Shell只是冰山一角
C#中在路径前加@的作用
Visual Studio 2019 (LocalDB)\MSSQLLocalDB SQL Server 2014 数据库版本为852无法打开,此服务器支持782版及更低版本
从工具升级为解决方案,有赞的新站位指向新价值
SwiftUI 教程之如何在 2 秒内实现自动滚动功能
Idea 2021 Chinese garbled code
【全栈计划 —— 编程语言之C#】基础入门知识一文懂
《通信软件开发与应用》课程结业报告
Hi3516 full system type burning tutorial
Fleet tutorial 19 introduction to verticaldivider separator component Foundation (tutorial includes source code)