The Web Application Hacker’s Handbook Discovering and Exploiting Security Flaws



Download 5,76 Mb.
Pdf ko'rish
bet363/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   359   360   361   362   363   364   365   366   ...   875
Bog'liq
3794 1008 4334

Cookie Domain Restrictions

When the application residing at 

foo.wahh-app.com

sets a cookie, the browser

will by default resubmit the cookie in all subsequent requests to 

foo.wahh-

app.com

, and also to any subdomains, such as 

admin.foo.wahh-app.com

. It will

not submit the cookie to any other domains, including the parent domain 

wahh-


app.com

and any other subdomains of the parent, such as 

bar.wahh-app.com

.

A server can override this default behavior by including a 



domain

attribute

in the 

Set-cookie

instruction. For example, suppose that the application at

foo.wahh-app.com

returns the following HTTP header:

Set-cookie: sessionId=19284710; domain=wahh-app.com;

The browser will then resubmit this cookie to all subdomains of 

wahh-app.com

,

including 



bar.wahh-app.com

.

N OT E




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   359   360   361   362   363   364   365   366   ...   875




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish