Hi,
I use .htaccess file to set user and pass for folder. I want when i click to link (with user and pass) to automatically log into site, without login form. How to generate that link www.site.com/?user&pass or how?
Thanks
Hi,
I use .htaccess file to set user and pass for folder. I want when i click to link (with user and pass) to automatically log into site, without login form. How to generate that link www.site.com/?user&pass or how?
Thanks
You can use the link below:
http://username:password@www.website.com/directory/file.html
I would strongly advise against it though! Passwords should not be sent as part of a GET request in plain-text ever due to the ease of stealing them.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.