Symptoms
After I migration from Drupal 6 to Drupal 7, I got the following messages:
Public files directory: Not fully protected
See http://drupal.org/SA1. CORE1. 20131. 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 http://drupal.org/SA1. CORE1. 20131. 003 for information about the recommended .htaccess file which should be added to the /tmp directory to help protect against arbitrary code execution.
Solution
- Delete the .htaccess in your files directory(e.g. sites/default/files).
- Go to admin/config/media/file-system, prefix a dot to your Temporary directory (e.g. ./tmp).
- Click on Save.