Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dataflow
· 1mo ago · 0 comments
If I have a PHP site that doesn't require uploads, how exactly do I disable enough of multipart/form-data POST handling in PHP to mitigate this?
Comments
[–]
bulatb
1mo ago
Block it at your web server before it reaches PHP. Ctrl+F "nginx" or ".htaccess" in this thread for configs.
[–]
dataflow
OP
1mo ago
Got it, thank you!