I have a site file that I need to protect by htaccess and htpasswd
https://site/test/test.txtwhen the file permission is 444 meaning , read access from web client , the file content will be open and the htaccess login prompt will not show, but when I change the file permission to 440 "no read access for web client , the htaccess login prompt will show and will accept the valid user, but then the file will be "Forbidden
You don't have permission to access this resource".
let me know if you have a fix on this.