3 ms·
The first thing that came to mind after reading this post's title was insecurity (e.g. .git directories accessible in the wwwroot) Isn't that what FTP is most
by sry_not4sale 14y ago
The first thing that came to mind after reading this post's title was insecurity (e.g. .git directories accessible in the wwwroot)
Isn't that what FTP is most known for - being insecure?
- samuellb 14y agoI agree the blog post should warn about it - but it can be perfectly secure if you do it correctly. I usually put all public files inside a directory inside the repo, e.g. public_html, and/or block access to dot-files altogether in the server configuration. E.g. in Apache 2: <Files ~ "^\."> Order allow,deny Deny from all </Files>