logo

355 Serve files with specific extensions


Summary

The system should only serve files with extensions within a specific list.


Description

Servers usually host files that are required for their operation or that contain relevant technical information. These files should not be publicly accessible because the information they contain could be leveraged by an attacker in order to exploit other vulnerabilities. Configuring the server to serve only files with a specific extension helps prevent the unintentional disclosure of technical information.


Supported In

Advanced: True


References


Last updated

2023/09/18