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



Download 5,76 Mb.
Pdf ko'rish
bet863/875
Sana01.01.2022
Hajmi5,76 Mb.
#293004
1   ...   859   860   861   862   863   864   865   866   ...   875
Bog'liq
3794 1008 4334

516

Chapter 14 



Exploiting Information Disclosure

70779c14.qxd:WileyRed  9/14/07  3:14 PM  Page 516



■■

In Microsoft IIS, custom error pages can be specified for different HTTP

status codes, using the Custom Errors tab of a web site’s properties tab.

A different custom page can be set for each status code, and on a per-

directory basis if required.

■■

In Apache, custom error pages can be configured using the 



ErrorDocument

directive in 

httpd.conf

. For example:

ErrorDocument 500 /generalerror.html 

Protect Sensitive Information

Wherever possible, the application should not publish information that may

be of use to an attacker, including usernames, log entries, or user profile

details. If there is a need for certain users to access this information, it should

be protected by effective access controls and made available only where

strictly necessary.

In cases where sensitive information must be disclosed to an authorized

user (for example, where users are able to update their own account informa-

tion), existing data should not be disclosed where it is not necessary. For exam-

ple, stored credit card numbers should be displayed in truncated form, and

password fields should never be prefilled, even if masked on-screen. These

defensive measures help to mitigate the impact of any serious vulnerabilities

that may exist within the application’s core security mechanisms of authenti-

cation, session management, and access control.




Download 5,76 Mb.

Do'stlaringiz bilan baham:
1   ...   859   860   861   862   863   864   865   866   ...   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