Drush create .htaccess
Security covered
This module provides a Drush command to automatically create missing `.htaccess` files in your Drupal site's files directories.
This module provides a very simple Drush command that can be used to create missing .htaccess files in Drupal files directories:
drush htaccess:create