futureweb
Regular Pleskian
Hey there,
lately there was an Articel labeled "Massive security problems due to open Git repositories" (Google Translate)
I tried to open some .git/ExistingFile Files on Plesk Hostings on our Servers ... and guess what - all are openly accessible ... (i.e.: https://www.domain.tld/.git/config)
Can we Server-Wide disable accessing Files within .git Directory?
On our non-Plesk Servers I normally got
in Apache Config ... but what's the "Best Practice approach" on Plesk Servers on this?
thx
Andreas
lately there was an Articel labeled "Massive security problems due to open Git repositories" (Google Translate)
I tried to open some .git/ExistingFile Files on Plesk Hostings on our Servers ... and guess what - all are openly accessible ... (i.e.: https://www.domain.tld/.git/config)
Can we Server-Wide disable accessing Files within .git Directory?
On our non-Plesk Servers I normally got
Code:
<DirectoryMatch "^/.*/\.git/">
Require all denied
</DirectoryMatch>
in Apache Config ... but what's the "Best Practice approach" on Plesk Servers on this?
thx
Andreas
Last edited: