Web and API Security, lesson 4
Requests your server makes, and files it accepts
Let the server fetch only allowed hosts, and keep uploaded files inert.
Some features make your server fetch an address a user gave, or keep a file a user sent. The fetch runs with your server's view of the network, and a file can reach a program that acts on what it reads. You'll fence the server's own requests, keep uploads inert, and swap loaders that build objects for parsers that only read data. You need lesson 01's sinks.
Part of Pro
In this lesson
- Requests your server makes
- Files it accepts
- Parsers that run code or fetch
Cybersecurity comes with Pro: every lesson in every module.
Web and API Security overviewSpotted a mistake? Tell us.