See https://drupal.org/SA-CORE-2013-003 for information about the recommended .htaccess file which should be added to the sites/default/files directory to help protect against arbitrary code execution.
Temporary files directory Not fully protected
See https://drupal.org/SA-CORE-2013-003 for information about the recommended .htaccess file which should be added to the sites/temp directory to help protect against arbitrary code execution.
英語だよ。面倒くさい・・・
以下、●の【解決策】が解決策を書いた部分です。
●『Files directory Not fully protected』のエラー
最初の『Files directory Not fully protected』に関しては簡単に修正できた。
【解決策】 sites/default/filesに以下の内容で.htaccessを作成してUP
# Turn off all options we don't need. Options None Options +FollowSymLinks
# Set the catch-all handler to prevent scripts from being executed. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 # Override the handler again if we're run later in the evaluation list. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely. php_flag engine off
# PHP 4, Apache 1. php_flag engine off
# PHP 4, Apache 2. php_flag engine off
●Temporary files directory Not fully protected』のエラー
次の『Temporary files directory Not fully protected』がリンク先通りにやってもうまく行かなかったです。
# Turn off all options we don't need. Options None Options +FollowSymLinks
# Set the catch-all handler to prevent scripts from being executed. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006 # Override the handler again if we're run later in the evaluation list. SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
# If we know how to do it safely, disable the PHP engine entirely. php_flag engine off
# PHP 4, Apache 1. php_flag engine off
# PHP 4, Apache 2. php_flag engine off
以上でエラー表示がなくなりました。
2つの.htaccessの違いですが
最初のFiles directory用の.htaccessの1番上の行に 『Deny from all』を追記したのが 2つ目のTemporary files directory用の.htaccessです。