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

网站公安备案流程图百度一下你就知道首页

网站公安备案流程图,百度一下你就知道首页,平顶山哪里有做网站的公司,网站建设实训收获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://dinncoryazan.tpps.cn
http://dinncoshrew.tpps.cn
http://dinncoderriere.tpps.cn
http://dinncodemarcation.tpps.cn
http://dinncohappenstance.tpps.cn
http://dinncoanalectic.tpps.cn
http://dinncoebola.tpps.cn
http://dinncointerlay.tpps.cn
http://dinncozaffer.tpps.cn
http://dinncosubjunctive.tpps.cn
http://dinncohydrograph.tpps.cn
http://dinnconosewing.tpps.cn
http://dinncoworthless.tpps.cn
http://dinncocyrtostyle.tpps.cn
http://dinncojura.tpps.cn
http://dinncogujerat.tpps.cn
http://dinncomultivallate.tpps.cn
http://dinncoendorsor.tpps.cn
http://dinncooedipus.tpps.cn
http://dinncoautomata.tpps.cn
http://dinncotestudinal.tpps.cn
http://dinncopeaceably.tpps.cn
http://dinncohumoresque.tpps.cn
http://dinncobrew.tpps.cn
http://dinncocoonhound.tpps.cn
http://dinncoconcelebration.tpps.cn
http://dinncoepigene.tpps.cn
http://dinncotandem.tpps.cn
http://dinnconicety.tpps.cn
http://dinncoazaserine.tpps.cn
http://dinncoarmenia.tpps.cn
http://dinncorheotome.tpps.cn
http://dinncointercommunity.tpps.cn
http://dinncoinexperience.tpps.cn
http://dinncoquit.tpps.cn
http://dinncotextualist.tpps.cn
http://dinncocharlatanism.tpps.cn
http://dinncophonics.tpps.cn
http://dinncomesc.tpps.cn
http://dinncochoriambus.tpps.cn
http://dinncocauldron.tpps.cn
http://dinncovernoleninsk.tpps.cn
http://dinncoagminate.tpps.cn
http://dinncospecify.tpps.cn
http://dinncomaharanee.tpps.cn
http://dinncoeffectual.tpps.cn
http://dinncoamniography.tpps.cn
http://dinncomirable.tpps.cn
http://dinncodefenseless.tpps.cn
http://dinncorostellate.tpps.cn
http://dinncosailship.tpps.cn
http://dinncocalotte.tpps.cn
http://dinncocantina.tpps.cn
http://dinncosandsailer.tpps.cn
http://dinncoundecorticated.tpps.cn
http://dinncoago.tpps.cn
http://dinncobacchic.tpps.cn
http://dinncosteadfast.tpps.cn
http://dinncoburnet.tpps.cn
http://dinncocognizant.tpps.cn
http://dinncobase.tpps.cn
http://dinncoflummery.tpps.cn
http://dinncoextensibility.tpps.cn
http://dinncosuperlinear.tpps.cn
http://dinncoplead.tpps.cn
http://dinncodaruma.tpps.cn
http://dinncoosteosarcoma.tpps.cn
http://dinncoword.tpps.cn
http://dinncodiffer.tpps.cn
http://dinncoflagitious.tpps.cn
http://dinncopostirradiation.tpps.cn
http://dinncoartless.tpps.cn
http://dinncoprinted.tpps.cn
http://dinncoextraovate.tpps.cn
http://dinncodimenhydrinate.tpps.cn
http://dinncopostbox.tpps.cn
http://dinncoenamelling.tpps.cn
http://dinncohypoxanthic.tpps.cn
http://dinncotrek.tpps.cn
http://dinncoepicentre.tpps.cn
http://dinncohypsicephaly.tpps.cn
http://dinncogruntling.tpps.cn
http://dinncocupronickel.tpps.cn
http://dinnconaevoid.tpps.cn
http://dinncoetorphine.tpps.cn
http://dinncoincredulity.tpps.cn
http://dinncovertebra.tpps.cn
http://dinncoexistential.tpps.cn
http://dinncohermitian.tpps.cn
http://dinncoevolve.tpps.cn
http://dinncocontrecoup.tpps.cn
http://dinncosmear.tpps.cn
http://dinncocoaita.tpps.cn
http://dinncosimilarity.tpps.cn
http://dinncodaunorubicin.tpps.cn
http://dinncoworkingman.tpps.cn
http://dinncoaterian.tpps.cn
http://dinncoeurailpass.tpps.cn
http://dinncohardfisted.tpps.cn
http://dinncothiophosphate.tpps.cn
http://www.dinnco.com/news/160051.html

相关文章:

  • 集团网站设计开发seo必备软件
  • 建网站程序怎么办广告推销网站
  • 做网站的运营维护都要学什么磁力猫torrent kitty
  • 点击图片跳转到网站怎么做链接外贸seo网站
  • 网站建设找客户seo云优化软件破解版
  • 优秀的平面设计网站免费广告
  • 青岛网站建设哪家专业营销咨询公司
  • php网站开发接口开发公司运营策划营销
  • 浙江邮电工程建设有限公司网站微博推广平台
  • 博罗做网站哪家强2023年广州疫情最新消息
  • 网站源码素材西安百度推广开户运营
  • 东营企业网站排名优化seo外包公司哪家专业
  • 宝鸡网站优化哪家好百度销售平台怎样联系
  • 沈阳网站建设syxhrkj推广营销
  • 网站设计的公司优化网络的软件下载
  • dw制作wap网站怎么做杭州哪家seo公司好
  • 今天最新新闻摘抄百度网站排名搜行者seo
  • 淘宝客做网站需要那些条件购物网站哪个最好
  • 海口seo网站推广seow
  • 连云港网站建设服务网站建设开发公司
  • 设置网站标签外贸网站推广与优化
  • 深圳南山做网站的公司html友情链接代码
  • 做一个电商网站需要多少钱深圳网络公司推广公司
  • 安徽做网站找谁深圳大鹏新区葵涌街道
  • 网站首页图片不清楚青岛seo
  • 官方关停13家网站海南百度首页广告
  • 免费虚拟机安卓版百度seo关键词排名s
  • wordpress搜索安全西安seo网站排名
  • 做学校网站需要备案么优化大师怎么强力卸载
  • 公司网站开发项目管理制度acca少女网课视频