If you have a folder which is password protected by .htaccess & .htpasswd, to login automatically from
your file and access data inside the folder, use the following format:
<a href="http://username:password@yourDomain.com
/protectedFolderName/yourFileInsideFolder.html">
Yee Haw!