I have a password protected directory with htaccess and htpasswd.
htaccess is as follows
AuthUserFile /usr/local/you/safedir/.htpasswd
AuthGroupFile /dev/null
AuthName EnterPassword
AuthType Basic
require user myusername
htpasswd is as follows
myusername:password887
This password protected directory is called www.mydomainname.com/mystuff
Now I want to access this page iframe frame (with www.mydomain.com/mustuff/index.html as src) in index.php in my root, but I do not want users to fill in the username and password all the time, just do not let them enter the folder where src is located.
Is there a script that can automatically fill in the username and password, preventing the "users" from writing the username and password all the time?
source
share