HTTP Basic Auth Exclude Single File
snippet in htaccess

HTTP Basic Auth Exclude Single File

user5802

AuthUserFile /path/to/.htpasswd
AuthName "Authorization Required"
AuthType Basic
require valid-user
<Files "thubservice.php">
    Satisfy Any
    Allow from all
</Files>