Re:Please stop serving .git to the outside world
by hdra on Monday June 10, 2013 @10:42AM
(#5854697)
I'm curious, what security risk does static content could pose by serving the .git ?
[ Parent
| on HN ]
Re:Please stop serving .git to the outside world
by calpaterson on Monday June 10, 2013 @10:58AM
(#5854830)
If you don't expect your source code to be made public and don't take care to keep secrets out of it, then you will be surprised when attackers have (for example) your cookie signing key.
I know checking secrets into source code is already a bad practice, but accidental publication takes bad practice and makes it a security hole.