← 返回卡片

原书出处

Mastering API Architecture

06

First Edition · 核验版本的摘录快照 · 导入于 2026-11-14T06:14:52.118Z

In our case study, for example, you will want to think about implementing an HTTP header allowlist in the API gateway and removing all invalid HTTP headers. An attacker could send through additional HTTP headers to the Attendee API like X-Assert-Role=Admin or X-Impersonate=Admin. The attacker would hope that these headers will not be removed and are used internally, which may give some extra privileges.

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Mastering API Architecture/_epub-src/OEBPS/ch06.xhtml#idm45236840681552

EPUB SHA-256:5be3275a289df0138f17f72c8e9c84987cbe07a5fe28c7cbc649d6b5cd8a14dd