打开htaccess的密码protectected页面没有提示 [英] Open htaccess password protectected page with no prompts

查看:118
本文介绍了打开htaccess的密码protectected页面没有提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个通过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

这篇关于打开htaccess的密码protectected页面没有提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆