為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

I'm trying to log into my site that requires authentication but I get a popup that says it doesn't require authentication and then I get a 403

  • 4 回覆
  • 2 有這個問題
  • 4 次檢視
  • 最近回覆由 cor-el

more options

I have a site that requires authentication. In the past i have logged in using firefox with the following format

http://username:password@sitename:siteport/specificsiteurlinfo

and gotten in just fine. I just set up a new computer with a new instance of firefox and try the same thing but I now get the following popup-

"You are about to log in to the site "sitename" with the username "username", but the website does not require authentication. This may be an attempt to trick you.

Is "sitename" the site you want to visit?"

When I click "yes" Firefox appears to try to go to the site without any authentication and I of course get a 403 Forbidden error.

I have tried reverting back to old versions of Firefox with no luck.

Any advice would be greatly appreciated.

Thank you.

I have a site that requires authentication. In the past i have logged in using firefox with the following format http://username:password@sitename:siteport/specificsiteurlinfo and gotten in just fine. I just set up a new computer with a new instance of firefox and try the same thing but I now get the following popup- "You are about to log in to the site "sitename" with the username "username", but the website does not require authentication. This may be an attempt to trick you. Is "sitename" the site you want to visit?" When I click "yes" Firefox appears to try to go to the site without any authentication and I of course get a 403 Forbidden error. I have tried reverting back to old versions of Firefox with no luck. Any advice would be greatly appreciated. Thank you.

所有回覆 (4)

more options

The purpose of that warning is to alert you to the possibility of being fooled by a link with login credentials at the beginning. On your old computer you might have tweaked this setting to limit when the warning appears:

http://kb.mozillazine.org/Network.http.phishy-userpass-length

This article discusses the steps to adjust that setting to fit your needs: http://fix.lazyjeff.com/2011/04/disable-firefox-login-prompt.html.

more options

Of course, the above doesn't address why the login doesn't work when you click Yes. Something might be broken there.

more options

Setting the network.http.phishy-userpass-length property to 100 did suppress the warning but unfortunately it did not solve the problem. Other computers are able to log in to this site. This one just seems to think that it doesn't need to.

Is there a way to force Firefox to use authentication even if it thinks authentication is not required?

more options

Does it work if you only provide the user name?