Mark's Blog · May 7, 2023
Don't trust the first item in the X-Forwarded-For header
0Sign in to vote or save
This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Any security-related use of X-Forwarded-For (such as for rate limiting or IP-based access control) must only use IP addresses added by a trusted proxy. Using untrustworthy values can result in rate-limiter avoidance, access-control bypass, memory exhaustion, or other negative security or availability consequences. -- MDN's X-Forwarded-For article Short
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.