PHP Curl Security Hardening

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 […]


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:

  1. Limit Curl Protocols
  2. Do not enable automatic redirects unless absolutely necessary
  3. If redirects are enabled enabled, limit allowed protocols (if different from #1 above)
  4. If redirects are enabled, set a strict limit
  5. Set a strict time-out
  6. Do not disable certification validation, or enforce it
  7. Disable insecure SSL and TLS versions

PHP Curl Security Hardening →


This content originally appeared on Bram.us and was authored by Bramus!


Print Share Comment Cite Upload Translate
APA
Bramus! | Sciencx (2023-12-05T16:07:01+00:00) » PHP Curl Security Hardening. Retrieved from https://www.scien.cx/2021/02/02/php-curl-security-hardening/.
MLA
" » PHP Curl Security Hardening." Bramus! | Sciencx - Tuesday February 2, 2021, https://www.scien.cx/2021/02/02/php-curl-security-hardening/
HARVARD
Bramus! | Sciencx Tuesday February 2, 2021 » PHP Curl Security Hardening., viewed 2023-12-05T16:07:01+00:00,<https://www.scien.cx/2021/02/02/php-curl-security-hardening/>
VANCOUVER
Bramus! | Sciencx - » PHP Curl Security Hardening. [Internet]. [Accessed 2023-12-05T16:07:01+00:00]. Available from: https://www.scien.cx/2021/02/02/php-curl-security-hardening/
CHICAGO
" » PHP Curl Security Hardening." Bramus! | Sciencx - Accessed 2023-12-05T16:07:01+00:00. https://www.scien.cx/2021/02/02/php-curl-security-hardening/
IEEE
" » PHP Curl Security Hardening." Bramus! | Sciencx [Online]. Available: https://www.scien.cx/2021/02/02/php-curl-security-hardening/. [Accessed: 2023-12-05T16:07:01+00:00]
rf:citation
» PHP Curl Security Hardening | Bramus! | Sciencx | https://www.scien.cx/2021/02/02/php-curl-security-hardening/ | 2023-12-05T16:07:01+00:00
https://github.com/addpipe/simple-recorderjs-demo