operations icon indicating copy to clipboard operation
operations copied to clipboard

Ensure .git folders are not accessiable via web server

Open Firefishy opened this issue 3 years ago • 0 comments

A few of our site are checked out from git and and the .git folder is publicly accessiable.

While all sites git repos code is likely public and the exposed .git folder would not be private data, it would be best practice to lock down access:

  1. To reduce chance of accidentially exposing data which is checked into git working copies.
  2. To stop false positive alerts from security scanning which find the .git folder exposed.

Firefishy avatar Jul 05 '20 23:07 Firefishy