Search.setIndex({docnames:["contents","contributing","index","middleware","models","quickstart","settings"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["contents.rst","contributing.rst","index.rst","middleware.rst","models.rst","quickstart.rst","settings.rst"],objects:{"security_headers.middleware":{extra_security_headers_middleware:[3,1,1,""]},"security_headers.models":{FramingAllowedFrom:[4,2,1,""]},"security_headers.models.FramingAllowedFrom":{DoesNotExist:[4,3,1,""],MultipleObjectsReturned:[4,3,1,""]},security_headers:{middleware:[3,0,0,"-"],models:[4,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","exception","Python exception"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:exception"},terms:{"break":6,"class":4,"default":[0,2],"function":5,"import":5,"new":6,"true":[5,6],For:[2,5],LTS:2,Not:5,The:2,__host:6,access:5,achiev:2,activ:6,add:[2,5],admin:5,advic:6,against:5,all:[2,3,5],allow:4,alreadi:6,also:[2,5],app:2,appli:5,arg:4,argv:5,autoplai:6,avail:6,base:[],basic:2,bitbucket:[],both:[],build:1,camera:6,can:5,captur:6,code:[],com:[2,5],commit:1,configur:[0,2,6],connect:6,content:[0,2],contribut:[0,2],cooki:[2,6],cookiessamesit:5,csp:[0,2,5],csp_default_src:[],csp_font_src:[],csp_frame_src:[],csp_img_src:[],csp_include_nonce_in:[],csp_media_src:[],csp_report_percentag:[],csp_script_src:[],csp_style_src:[],cspmiddlewar:5,csrf:2,csrf_cookie_nam:[],csrf_cookie_secur:5,csrftoken:6,data:6,debug:5,detail:6,determin:5,dev:[1,5],develop:[0,1,2],discuss:6,displai:6,django:[0,5],django_cookies_samesit:5,doc:[1,6],document:6,doesnotexist:4,domain:[4,5,6],dure:5,egg:5,els:5,enabl:1,encrypt:6,end:5,excel:2,except:4,expos:5,extra_security_head:[],extra_security_headers_middlewar:[3,5],fals:5,featur:6,feautr:[],file:5,first:6,flag:2,follow:5,frame:4,framework:2,framingallowedfrom:4,from:[1,2,4,5],full:6,fullscreen:6,geoloc:6,get:1,get_respons:3,git:5,github:5,goal:2,good:5,grade:2,header:[3,5,6],helm:[2,6],hook:1,hst:6,html:1,http:[1,2,5,6],httpob:5,i18n_pattern:5,idea:5,improperli:6,includ:5,inspir:2,instal:[1,5],installed_app:5,interfac:5,irrevers:6,jsumnerphd:5,kwarg:4,lax:6,link:5,local:[1,5],localhost:1,localserv:1,mai:6,maintain:[],make:1,manag:5,media:6,microphon:6,middlewar:[0,2,5],midi:6,model:[0,2],mozilla:[2,6],multipleobjectsreturn:4,must:5,name:[1,5],navig:1,need:5,newer:5,none:6,note:5,observatori:[1,2,5,6],option:[0,2],org:[],origin:[2,6],overwrit:5,packag:[2,6],parallel:[2,5],path:5,payment:6,permit:[],pip:[1,5],polici:6,pre:1,process:[],project:5,provid:[2,5],pytest:1,python:1,quick:[0,2],recommend:6,reduc:5,referr:6,regard:6,reli:2,repo:[],report:1,repositori:[],request:5,requir:[1,5,6],respons:[2,3,5],revers:5,review:6,run:[1,5],runserv:1,runsslserv:[1,5],safe:5,same:6,samesit:[2,5,6],scan:[1,5],scan_url:5,scivero:[],scott:[2,6],script:6,secur:[1,3,5],secure_browser_xss_filt:[],secure_content_type_nosniff:[],secure_hsts_include_subdomain:[],secure_hsts_preload:[],secure_hsts_second:5,secure_ssl_redirect:5,security_head:[1,3,4,5],securityhead:2,securitymiddlewar:5,see:6,self:[2,6],separ:1,server:5,session:2,session_cookie_httponli:[],session_cookie_secur:5,set:[0,2,3],simpl:[2,5],site:6,slug:5,some:[2,5],specifi:[3,5],src:6,ssl:5,ssl_context:5,sslserver:5,staff_member_requir:[],start:[0,1,2],step:5,style:6,suit:1,syntax:5,sys:5,tag:5,templat:5,test:[1,2],thi:[2,5,6],through:[5,6],time:5,tox:1,txt:1,url:[1,5],url_nam:5,urlpattern:5,use:5,using:[2,5],veri:5,via:[],view:5,warn:[],well:6,when:[],where:5,which:4,whitelist:[],work:2,you:5,your:[5,6]},titles:["&lt;no title&gt;","Contributing","Welcome to Django Security Headers\u2019s documentation!","Middleware","Models","Quick start","Default settings"],titleterms:{"default":[5,6],configur:5,contribut:1,csp:6,csp_default_src:6,csp_font_src:6,csp_frame_src:6,csp_img_src:6,csp_include_nonce_in:6,csp_media_src:6,csp_report_percentag:6,csp_script_src:6,csp_style_src:6,csrf_cookie_nam:6,csrf_cookie_samesit:6,csrf_cookie_secur:6,develop:5,django:[2,6],document:2,feature_polici:6,header:2,introduct:2,middlewar:[3,6],model:4,option:5,quick:5,referrer_polici:6,secur:2,secure_browser_xss_filt:6,secure_content_type_nosniff:6,secure_hsts_include_subdomain:6,secure_hsts_preload:6,secure_hsts_second:6,session_cookie_httponli:6,session_cookie_samesit:6,session_cookie_secur:6,set:[5,6],start:5,welcom:2}})