为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Utility companies say to close browser at logout for security - Does close tab do the same?

more options

When closing out of my account on a utility company web page, they say that info remains on the browser as long as it is open, and that the browser should be closed for security when logged out. If I close the tab, does that do the same for security as closing the browser?

When closing out of my account on a utility company web page, they say that info remains on the browser as long as it is open, and that the browser should be closed for security when logged out. If I close the tab, does that do the same for security as closing the browser?

所有回复 (3)

more options

No, at a minimum you should close the window.

If that website knew what is was doing, it would open a new window to enter critical data within and then when the transaction was completed it would automatically close that window. Website coding can close windows that it opens, but it can't close windows the user opened.

more options

Note that you can set Firefox to clear specific data when you close Firefox.

  • Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings

You can also use "History > Clear Recent History" to clear specific data like cookies and cache from the last hour(s):

Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.


You can let all cookies expire when Firefox is closed to make them session cookies.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

Create a cookie 'allow' exception for cookies that you would like to keep.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions

If you want to prevent Firefox from storing data from specific domains like your bank website to disk then you can visit such sites in a New Private Window.

more options

It's complicated...

By default, Firefox stores up to 3 closed windows and up to 10 closed tabs per window, so whether you close a tab or a window, it's possible to re-open them using the History menu if you haven't closed a lot more windows and tabs. A site designed with high security/privacy in mind will not allow you to go back, back, back into pages viewed during a logged out session, but some sites do.

I think cor-el's suggestion to use a private window for sites you do not want in your session history is the most practical workaround. You can open a private window using Ctrl+Shift+p, or right-clicking a link or bookmark and choosing Open in New Private Window.