PHP Security Recommendations
The following settings can be used to tighten the security of a PHP installation. To make the recommended changes, locate and open the php.ini file and edit the configuration settings as described below:
Setting | Description |
---|---|
allow_url_fopen=Off allow_url_include=Off | Disable remote URLs for file handling functions, which may cause code injection vulnerabilities. |
register_globals=Off | Disable register_globals. |
open_basedir=”c:\inetpub\” | Restrict where PHP processes can read and write on a file system. |
safe_mode=Off safe_mode_gid=Off | Disable safe mode. |
max_execution_time=30 max_input_time=60 | Limit script execution time. |
memory_limit=16M upload_max_filesize=2M post_max_size=8M max_input_nesting_levels=64 | Limit memory usage and file sizes. |
display_errors=Off log_errors=On error_log=”C:\path\of\your\choice” | Configure error messages and logging. |
fastcgi.logging=0 | The IIS FastCGI module will fail the request when PHP sends any data on stderr by using the FastCGI protocol. Disable FastCGI logging to prevent PHP from sending error information over stderr and generating 500 response codes for the client. |
expose_php=Off | Hide the presence of PHP. |
CentOS 7 NIC is “Off” after reboot
Got a surprise today! It turns out this is the default policy for the new CentOS, all you need is to modify /etc/sysconfig/network-scripts/ifcfg-eth0 and change ONBOOT=no to ONBOOT=yes. In additional Static IP setups would need to set BOOTPROTO=static.
Legend of the Legends!
這張很有創意,雖然是二次創作 (原作為1942年Edward Hopper的Nighthawks),不同年代的F1世界冠軍在一間小酒館裡碰頭,令我同時也想起了Leslie重唱的The Boulevard of Broken Dreams。
Edward Hopper的Nighthawks曾經無數次被加入新的元素,譬如以下的這個星球大戰版就很好玩。
我甚至曾經懷疑過日劇《深夜食堂》的場景也是借用了原創的Idea。
2017靜岡模型展IG的展台
在今年的模型展上,我們看到了IG將會大展拳腳,除了進軍1比12的大比例外,更首次踏足保時捷911系列。
另外在展櫃裡也發現了一系列的相配人偶。
Rocket Bunny的創辦人Miura先生
Liberty Walk (LB)的創辦人Kato先生