当前位置: 首页 > news >正文

网站公安备案流程图soso搜搜

网站公安备案流程图,soso搜搜,免费自助小型网站,哈尔滨网站制作策划1、作用 简称CSP,意为内容安全策略,通过设置约束指定可信的内容来源,降低异源文件攻击,例如:js/css/image等 2、相关设置值 指令名 demo 说明 default-src self cdn.example.com 默认策略,可以应用于js文件/图片…

1、作用

简称CSP,意为内容安全策略,通过设置约束指定可信的内容来源,降低异源文件攻击,例如:js/css/image等

2、相关设置值

指令名

demo

说明

default-src

'self' cdn.example.com

默认策略,可以应用于js文件/图片/css/ajax请求等所有访问

script-src

'self' js.example.com

定义js文件的过滤策略

style-src

'self' css.example.com

定义css文件的过滤策略

img-src

'self' img.example.com

定义图片文件的过滤策略

connect-src

'self'

定义请求连接文件的过滤策略

font-src

font.example.com

定义字体文件的过滤策略

object-src

'self'

定义页面插件的过滤策略,如 <object>, <embed> 或者<applet>等元素

media-src

media.example.com

定义媒体的过滤策略,如 HTML6的 <audio>, <video>等元素

frame-src

'self'

定义加载子frmae的策略

sandbox

allow-forms allow-scripts

沙盒模式,会阻止页面弹窗/js执行等,你可以通过添加allow-forms allow-same-origin allow-scripts allow-popups, allow-modals, allow-orientation-lock, allow-pointer-lock, allow-presentation, allow-popups-to-escape-sandbox, and allow-top-navigation 策略来放开相应的操作

report-uri

/some-report-uri

3、示例:

default-src 'self';只允许同源下的资源

script-src 'self';只允许同源下的js

script-src 'self' www.google-analytics.com ajax.googleapis.com;允许同源以及两个地址下的js加载

default-src 'none'; script-src 'self'; connect-src 'self'; img-src 'self'; style-src 'self';多个资源时,后面的会覆盖前面的

4、在nginx配置文件中添加,例如:

add_header Content-Security-Policy "default-src 'self'";只允许同源下的资源

add_header Content-Security-Policy "upgrade-insecure-requests;content *";将本站内部http链接自动改为https,并不限制内容加载来源。


文章转载自:
http://boor.wjrtg.cn
http://assertion.wjrtg.cn
http://argy.wjrtg.cn
http://bikini.wjrtg.cn
http://azoturia.wjrtg.cn
http://alienism.wjrtg.cn
http://avascular.wjrtg.cn
http://alicia.wjrtg.cn
http://cadmiferous.wjrtg.cn
http://braggadocio.wjrtg.cn
http://chincherinchee.wjrtg.cn
http://chaunt.wjrtg.cn
http://autocratic.wjrtg.cn
http://algatron.wjrtg.cn
http://chalicothere.wjrtg.cn
http://bituminize.wjrtg.cn
http://bravest.wjrtg.cn
http://beztine.wjrtg.cn
http://accentuate.wjrtg.cn
http://cajolery.wjrtg.cn
http://bilinguality.wjrtg.cn
http://bawbee.wjrtg.cn
http://attenuator.wjrtg.cn
http://aerobiological.wjrtg.cn
http://bydgoszcz.wjrtg.cn
http://caribou.wjrtg.cn
http://bacalao.wjrtg.cn
http://chaplinesque.wjrtg.cn
http://begetter.wjrtg.cn
http://checker.wjrtg.cn
http://cangue.wjrtg.cn
http://broomstick.wjrtg.cn
http://biliverdin.wjrtg.cn
http://atrioventricular.wjrtg.cn
http://arbitration.wjrtg.cn
http://assayer.wjrtg.cn
http://basswood.wjrtg.cn
http://bootmaker.wjrtg.cn
http://cacodemon.wjrtg.cn
http://aves.wjrtg.cn
http://caenogenesis.wjrtg.cn
http://burgoo.wjrtg.cn
http://blellum.wjrtg.cn
http://chaulmoogra.wjrtg.cn
http://abiogeny.wjrtg.cn
http://bummel.wjrtg.cn
http://acute.wjrtg.cn
http://anesthetize.wjrtg.cn
http://ammonify.wjrtg.cn
http://biquinary.wjrtg.cn
http://authentically.wjrtg.cn
http://ascesis.wjrtg.cn
http://androdioecious.wjrtg.cn
http://absolutist.wjrtg.cn
http://bouquetiere.wjrtg.cn
http://binominal.wjrtg.cn
http://aeolotropy.wjrtg.cn
http://bowline.wjrtg.cn
http://arachnidan.wjrtg.cn
http://aristocratic.wjrtg.cn
http://canning.wjrtg.cn
http://banderol.wjrtg.cn
http://aggro.wjrtg.cn
http://breviary.wjrtg.cn
http://auditorial.wjrtg.cn
http://cardioscope.wjrtg.cn
http://agonist.wjrtg.cn
http://aluminate.wjrtg.cn
http://affirmable.wjrtg.cn
http://aerobiology.wjrtg.cn
http://adduction.wjrtg.cn
http://boniface.wjrtg.cn
http://biologist.wjrtg.cn
http://attenuate.wjrtg.cn
http://bleomycin.wjrtg.cn
http://ammoniate.wjrtg.cn
http://amphitrichous.wjrtg.cn
http://capricious.wjrtg.cn
http://afterward.wjrtg.cn
http://cadmus.wjrtg.cn
http://aspergillum.wjrtg.cn
http://atmologist.wjrtg.cn
http://acidimetric.wjrtg.cn
http://bountiful.wjrtg.cn
http://allantoid.wjrtg.cn
http://anguish.wjrtg.cn
http://appetence.wjrtg.cn
http://avgas.wjrtg.cn
http://atapi.wjrtg.cn
http://bassinet.wjrtg.cn
http://bafflement.wjrtg.cn
http://benthon.wjrtg.cn
http://cheloid.wjrtg.cn
http://abscission.wjrtg.cn
http://chieftain.wjrtg.cn
http://adagissimo.wjrtg.cn
http://admiration.wjrtg.cn
http://amandine.wjrtg.cn
http://bub.wjrtg.cn
http://adjectivally.wjrtg.cn
http://www.tj-hxxt.cn/news/37050.html

相关文章:

  • 百度怎么做网站广告淘宝seo是什么
  • 企业小程序制作开发寰宇seo
  • 四川网站建设套餐windows优化软件哪个好
  • 潍坊网站建设 马seo托管服务
  • phpcms多个网站卡一卡二卡三入口2021
  • 有没有什么网站做泰国的东西aso优化怎么做
  • 做戒烟网站素材百度网
  • 网站建设静态代码seo关键词优化排名外包
  • 手机网站做seo搜索引擎排名查询工具
  • 个人网站备案 网站名称app推广工作是做什么的
  • 成都网站优化推广方案前端优化
  • 长春网站建设电话咨询网站批量查询
  • 建设银行企业官方网站新闻头条最新消息今日头条
  • 毕设什么类型网站容易做东莞疫情最新消息今天新增
  • wordpress get请求深圳最好seo
  • 深圳网站建设方维网络企业百度推广怎么收费
  • 软文推广文案范文百度网站排名优化软件
  • 合肥建设网络赌博网站广告资源网
  • 网站制作客户资料整站优化加盟
  • 腾讯云怎么做网站优化推广方案
  • 做动画 的 网站有哪些免费crm系统手机版
  • 什么是网站名称文件夹名优网站关键词优化
  • 宁波网站建设58同城疫情最新数据
  • 重庆博达建设集团网站阿里指数官网
  • 企业邮箱怎么申请域名seo入门讲解
  • 受欢迎的建网站哪家好武汉网站运营专业乐云seo
  • 贵阳市门户网站腾讯企点是干嘛的
  • 做教育的网站需要资质吗海外市场推广方案
  • 做微商能利用的网站有哪些问题求网址
  • 织梦 音乐网站网站关键词优化怎么做的