content-size-limit-asgi icon indicating copy to clipboard operation
content-size-limit-asgi copied to clipboard

Is it possible to add IP exposure once it detects a malicious big uploading event?

Open Zhaoxun opened this issue 7 months ago • 0 comments

Hi Steinnes!

Thank you for your rigorous work!

In my application, the uploaded file size is limited by javascript program, so whenever a size breach occurs, I know for sure it is an attack rather than a careless flaw.

I want to ban the ip for some time to hit the hacker. Is it possible to add an feature to detect client's ip from the header, with or without nignx 'x-real-ip' tag?

Thanks in advance.

Zhaoxun avatar Jul 31 '24 06:07 Zhaoxun