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



Download 5,76 Mb.
Pdf ko'rish
bet49/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   45   46   47   48   49   50   51   52   ...   875
Bog'liq
3794 1008 4334

Core Defense Mechanisms

C H A P T E R

2

70779c02.qxd:WileyRed  9/14/07  3:12 PM  Page 15




applications effectively. If you are new to hacking web applications, and even

if you are not, you should be sure to take time to understand how these core

mechanisms work in each of the applications you encounter, and identify the

weak points that leave them vulnerable to attack.



Handling User Access

A central security requirement that virtually any application needs to meet is

to control users’ access to its data and functionality. In a typical situation, there

are several different categories of user; for example, anonymous users, ordi-

nary authenticated users, and administrative users. Further, in many situa-

tions different users are permitted to access a different set of data; for example,

users of a web mail application should be able to read their own email but not

other people’s. 

Most web applications handle access using a trio of interrelated security

mechanisms:

■■

Authentication



■■

Session management

■■

Access control



Each of these mechanisms represents a significant area of an application’s

attack surface, and each is absolutely fundamental to an application’s overall

security posture. Because of their interdependencies, the overall security pro-

vided by the mechanisms is only as strong as the weakest link in the chain. A

defect in any single component may enable an attacker to gain unrestricted

access to the application’s functionality and data.



Authentication

The authentication mechanism is logically the most basic dependency in an

application’s handling of user access. Authenticating a user involves estab-

lishing that the user is in fact who he claims to be. Without this facility, the

application would need to treat all users as anonymous — the lowest possible

level of trust.

The majority of today’s web applications employ the conventional authenti-

cation model in which the user submits a username and password, which the

application checks for validity. Figure 2-1 shows a typical login function. In secu-

rity-critical applications such as those used by online banks, this basic model is

usually supplemented by additional credentials and a multistage login process.

When security requirements are higher still, other authentication models may be

used, based on client certificates, smartcards, or challenge-response tokens. In


Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   45   46   47   48   49   50   51   52   ...   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