Practical Apache, PHP-FPM & Nginx Reverse Proxy: How to Build a Secure, Fast and Powerful Webserver from scratch (Practical Guide Series Book 3) by Adrian Ling
Author:Adrian Ling [Ling, Adrian]
Language: eng
Format: epub
Tags: PHP-FPM, Apache, Nginx Reverse Proxy
Published: 2015-05-03T04:00:00+00:00
That simple 1-liner will display the entire content of the password file! Take a look:
NOTE: This is the DEFAULT settings in PHP in 90% of all the web-servers!
To prevent this from happening, we need to lock down our PHP settings by editing the main configuration file - /etc/php.ini
1. Disable System Functions
The most important step is to disable all the 'dangerous' system functions. Open the php.ini file and look for: disable_functions =
The default value is empty, meaning, PHP can run any commands that a normal system user can. Replace that line with:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7810)
Grails in Action by Glen Smith Peter Ledbrook(7719)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6860)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6859)
Running Windows Containers on AWS by Marcio Morales(6385)
Kotlin in Action by Dmitry Jemerov(5092)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(5079)
Combating Crime on the Dark Web by Nearchos Nearchou(4656)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4637)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4438)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4343)
The Age of Surveillance Capitalism by Shoshana Zuboff(3983)
Python for Security and Networking - Third Edition by José Manuel Ortega(3901)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3565)
Learn Wireshark by Lisa Bock(3548)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3530)
Mastering Python for Networking and Security by José Manuel Ortega(3376)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3356)
Blockchain Basics by Daniel Drescher(3329)
