i have a basic auth protected directory with :
AuthType Basic
AuthName "restricted area"
AuthUserFile /path/to/.htpasswd
require valid-user
every thing is ok and directories are not visible , and force to login ,
but .txt files are visible directly in any browsers ,
i checked in every browser and its not some login remember problem
example :
test.com/password-dir/
is no visible but
test.com/password-dir/1.txt
is visible