打开htaccess的密码protectected页面没有提示提示、密码、页面、htaccess

2023-09-02 09:53:53 作者:爱我的人会发光i

我有一个通过htaccess的密码保护的网站目录。我希望能够通过我的应用程序来打开这个网页,而无需用户输入密码,而是做编程。

例如,有没有一种方法,我可以嵌入在URL中的登录信息?如 http://www.mypage.com/page.html?htaccesspassword=asdasdas

谢谢!

解决方案

 方案://用户名:密码@主机/路径
 

I have a directory on a website that is password protected via htaccess. I want to be able to open this web page through my application without having the user enter the password but rather do it programatically.

如何让所有打开的页面需要密码

For instance, is there a way I can embed the login information in the URL? Such as http://www.mypage.com/page.html?htaccesspassword=asdasdas

thanks!

解决方案

scheme://username:password@host/path