# Protect GameServerInfo .dat directory with Basic Auth
# 1. Generate .htpasswd (see README.txt) and place it OUTSIDE the web root or in a non-public path.
# 2. Set AuthUserFile below to the absolute path of your .htpasswd file.

AuthType Basic
AuthName "GameServer Data - Login Required"
AuthUserFile /absolute/path/to/.htpasswd
Require valid-user

# Optional: deny access to sensitive files
<FilesMatch "\.(htpasswd|ini)$">
    Require all denied
</FilesMatch>
