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


Review the HTML source code for any forms that contain text fields in



Download 5,76 Mb.
Pdf ko'rish
bet788/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   784   785   786   787   788   789   790   791   ...   875
Bog'liq
3794 1008 4334

Review the HTML source code for any forms that contain text fields in

which sensitive data is captured.



If the attribute 

autocomplete=off

is not set, either within the form tag

or the tag for the individual input field, then data entered will be stored

within browsers where autocomplete is enabled. 

Preventing Local Privacy Attacks

Applications should avoid storing anything sensitive in a persistent cookie.

Even if this data is encrypted, it can be resubmitted by an attacker who cap-

tures it.

Applications should use suitable cache directives to prevent sensitive data

from being stored by browsers. In ASP applications, the following instructions

will cause the server to include the required directives:

<% Response.CacheControl = “no-cache” %>

<% Response.AddHeader “Pragma”, “no-cache” %>

<% Response.Expires = 0 %>

In Java applications, the following commands should achieve the same

result:

<%

response.setHeader(“Cache-Control”,”no-cache”);

response.setHeader(“Pragma”,”no-cache”);

response.setDateHeader (“Expires”, 0);

%>

Applications should never use URLs to transmit sensitive data, as these are



liable to be logged in numerous locations. All such data should be transmitted

using HTML forms that are submitted using the 

POST

method.



Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   784   785   786   787   788   789   790   791   ...   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