This content originally appeared on Bram.us and was authored by Bramus!
Good post — with accompanying code — on PHP.Watch on how to tighten the almighty curl:
- Limit Curl Protocols
- Do not enable automatic redirects unless absolutely necessary
- If redirects are enabled enabled, limit allowed protocols (if different from #1 above)
- If redirects are enabled, set a strict limit
- Set a strict time-out
- Do not disable certification validation, or enforce it
- Disable insecure SSL and TLS versions
This content originally appeared on Bram.us and was authored by Bramus!

Bramus! | Sciencx (2021-02-02T23:05:05+00:00) PHP Curl Security Hardening. Retrieved from https://www.scien.cx/2021/02/02/php-curl-security-hardening/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.