Back to compare picker

Exit this page quickly vs Security warning vs Sensitive-data reveal vs Session timeout vs Privacy settings vs Back link

Use exit this page quickly when a user viewing sensitive content may need to immediately hide the current page and move to a neutral destination; use security warning for risky sites or files, sensitive-data reveal for exposing secrets under user control, session timeout for authenticated inactivity, privacy settings for durable data controls, and back link for ordinary navigation.

Learn the decision

Match the interaction to the person's task

Use exit this page quickly when a user viewing sensitive content may need to immediately hide the current page and move to a neutral destination; use security warning for risky sites or files, sensitive-data reveal for exposing secrets under user control, session timeout for authenticated inactivity, privacy settings for durable data controls, and back link for ordinary navigation.

Exit this page quickly

Use it when: The user may be harmed if someone nearby sees them viewing or using the current sensitive service.

Make this state clear: Persistent visible exit control on sensitive pages.

Observe the result: A user hears someone enter the room, presses the visible exit button, sees sensitive content covered instantly, and lands on a neutral search page while the service avoids sending analytics first.

Study the full pattern →

Security warning

Use it when: A threat signal indicates phishing, malware, deceptive site, unsafe download, invalid certificate, insecure connection, mixed-content submission, suspicious redirect, file preview risk, or account-security danger.

Make this state clear: Safe path state with primary Back to safety, Cancel, Remove, Use trusted route, or Contact admin action.

Observe the result: A user clicks a payroll link that visually resembles the company domain, sees the suspicious-domain warning, returns to the trusted site, and reports the link to security.

Study the full pattern →

Sensitive-data reveal

Use it when: Users need to inspect, copy, verify, rotate, transcribe, or compare a sensitive value that should normally stay masked or redacted.

Make this state clear: Masked state with the field identity, safe suffix or count, and reveal eligibility.

Observe the result: A developer needs to rotate a webhook secret, reveals it after step-up verification, copies it with a visible clipboard warning, then sees it auto-hide with an audit ID.

Study the full pattern →

Session timeout

Use it when: An authenticated session has expired or been terminated while the user was on a protected task.

Make this state clear: Expired session state with private content hidden.

Observe the result: A user returns from a break, sees that their session ended, signs in again, and lands back on the same saved claim step with private fields restored only after authentication.

Study the full pattern →

Privacy settings

Use it when: Users need ongoing control over personal data collection, saved activity, visibility, app access, device permissions, connected services, data sharing, or personalization.

Make this state clear: Privacy settings overview with categories and current effective values.

Observe the result: A user pauses saved activity, clears search history for a date range, disables ad personalization, hides birthday visibility, revokes a connected app, and sees which values apply immediately versus after sync.

Study the full pattern →

Back link

Use it when: A multi-page transaction or form asks users one thing per page.

Make this state clear: Default transaction page with one Back link before main content.

Observe the result: A user goes back from Review answers to Contact details and sees the email address and phone number they already entered.

Study the full pattern →

Practice the judgment: Imagine this situation: A domestic abuse support service shows a tiny footer link called Close instead of a persistent visible Exit this page control. Write the person's goal, choose one of these patterns, and show the state that helps the person continue. Use the decision rules and source trail below to explain your choice.

Review the underlying principle →

Decision dimensions

Dimension Exit this page quicklySecurity warningSensitive-data revealSession timeoutPrivacy settingsBack link
UI or UX UI + UX - Persistent safety escape control for sensitive pages where being seen on the current content could put the user at riskUI + UX - Security-risk warning and safe interruption before unsafe navigation, download, submission, preview, or sensitive actionUI + UX - Controlled reveal and re-hiding of masked sensitive values, secrets, tokens, credentials, identifiers, or private recordsUI + UX - Expired authenticated-session state and safe return-to-task recoveryUI + UX - Durable privacy-control surface for account, product, device, app-access, activity, visibility, and sharing settingsUI + UX - Single previous-page return link for a transaction
UI guidance Place a persistent, visibly distinct Exit this page control where it is reachable before and during sensitive content, and pair it with a secondary activation link for assistive technology users.Render a security warning as a high-clarity interruption that names the detected risk, identifies the destination or object, explains the concrete threat, presents the safest action as the primary path, and separates any override behind deliberate risk detail.Render sensitive-data reveal as a masked value with an explicit reveal action, visible hide action, clear field identity, safe default state, reveal duration or hold behavior, and status feedback that explains what is visible now.Show session timeout after the authenticated session has ended, with private content hidden, a clear reason such as inactivity or policy expiry, the last safe activity reference, and a primary sign-in or reauthentication path.Render privacy settings as a returnable control surface with current effective values, privacy categories, data types, app or service access, account/device/product scope, source of truth, managed or unavailable reasons, last updated status, and save or immediate-apply feedback.Render one unobtrusive Back link near the top-left of a transaction page, before the main content, with a destination that returns to the previous service page.
UX guidance Use the pattern when sensitive content could put someone at risk if another person sees the page, such as abuse support, stalking, harassment, sexual assault, child safety, whistleblowing, or plans to escape harm.Use security warning when a product, browser, operating system, or service has evidence that proceeding could expose credentials, install harmful software, leak sensitive data, bypass trust, or weaken account protection.Use sensitive-data reveal when users need to verify, compare, copy, rotate, recover, or transcribe a sensitive value that is normally masked or redacted.Treat the timeout state as a security and continuity boundary: terminate authenticated actions, hide sensitive content, preserve allowed work references, and return users only after a fresh session is established.Use privacy settings when users need to inspect and change ongoing privacy posture for saved activity, profile visibility, app access, device permissions, data sharing, ad personalization, location, connected apps, or product privacy dashboards.Help the person reach a clear task outcome.
Good UI A support-service page keeps a red Exit this page button pinned near the top right, includes a hidden-but-focusable secondary link, and replaces the page with a neutral loading overlay as soon as it is activated.A browser interstitial says Deceptive site ahead, shows the suspicious domain, explains that attackers may steal passwords, and makes Back to safety the primary action while placing Visit unsafe site behind Details.An API key row shows sk_live_****9H2Q by default, requires Reauthenticate before Full reveal, logs the reveal event, and automatically hides after 30 seconds.A benefits form replaces private answers with Session ended after inactivity, shows reference SES-2048, says the draft was saved at 10:42, and offers Sign in to continue plus Start again.An account privacy dashboard groups Saved activity, Profile visibility, Ad personalization, Connected apps, Location history, Device permissions, and Data deletion, with current values, scope labels, last updated times, and unavailable reasons.A question page shows a single 'Back' link above the H1, before the form, and the Continue button remains the only primary action after the fields.
Bad UI A tiny Close link appears only in the footer and sends users back through sensitive previous pages.A red page says Security issue with Continue as the only visible action.A secret is visible on page load, print, export, screenshot, or shared-screen mode.A modal says Timeout while the private page remains readable behind it.A single Privacy mode switch claims to turn everything off but leaves ad personalization, public profile visibility, connected apps, and activity retention unchanged.A page shows Back, breadcrumbs, a previous button, and pagination controls at the same time.
Good UX A user hears someone enter the room, presses the visible exit button, sees sensitive content covered instantly, and lands on a neutral search page while the service avoids sending analytics first.A user clicks a payroll link that visually resembles the company domain, sees the suspicious-domain warning, returns to the trusted site, and reports the link to security.A developer needs to rotate a webhook secret, reveals it after step-up verification, copies it with a visible clipboard warning, then sees it auto-hide with an audit ID.A user returns from a break, sees that their session ended, signs in again, and lands back on the same saved claim step with private fields restored only after authentication.A user pauses saved activity, clears search history for a date range, disables ad personalization, hides birthday visibility, revokes a connected app, and sees which values apply immediately versus after sync.A user goes back from Review answers to Contact details and sees the email address and phone number they already entered.
Bad UX A user believes the exit button cleared browser history because the service overpromised safety, then the visit is later discovered through history or device monitoring.A user sees a vague warning, assumes it is routine maintenance, proceeds, and enters credentials into a phishing page.A user taps a copied state and the interface silently places a raw token on the clipboard while the token remains hidden on screen.A user comes back to a timed-out payment form, clicks Submit, and gets repeated server errors because expired controls stayed enabled.A user withdraws a consent prompt, but privacy settings still show personalization enabled because the source of truth and sync state are hidden.Clicking Back returns to the browser's previous marketing page instead of the last service page.
Best fit The user may be harmed if someone nearby sees them viewing or using the current sensitive service.A threat signal indicates phishing, malware, deceptive site, unsafe download, invalid certificate, insecure connection, mixed-content submission, suspicious redirect, file preview risk, or account-security danger.Users need to inspect, copy, verify, rotate, transcribe, or compare a sensitive value that should normally stay masked or redacted.An authenticated session has expired or been terminated while the user was on a protected task.Users need ongoing control over personal data collection, saved activity, visibility, app access, device permissions, connected services, data sharing, or personalization.A multi-page transaction or form asks users one thing per page.
Avoid when The page is ordinary low-risk content where a prominent emergency exit would create alarm or confusion.The message is only a general severe consequence before a product action; use warning text.The task is only entering a password into an authentication form; use password input.The session is still active and users can act before expiry; use session timeout warning.The task is a first-time opt-in to one optional purpose; use consent prompt.The page is an informational content page with a stable hierarchy.
Required state Persistent visible exit control on sensitive pages.Safe path state with primary Back to safety, Cancel, Remove, Use trusted route, or Contact admin action.Masked state with the field identity, safe suffix or count, and reveal eligibility.Expired session state with private content hidden.Privacy settings overview with categories and current effective values.Default transaction page with one Back link before main content.
Accessibility burden Place the control early in focus order and keep it reachable with keyboard, touch, pointer, and screen-reader navigation.Use a heading and text that name the risk before the destination or details, so screen reader users hear the warning context first.Use a labelled button or toggle whose accessible name includes the field, such as Show API key or Hide account number.Move focus to the timeout heading when protected content is replaced, and use text that says the session ended rather than relying on a lock icon.Use clear headings, labels, descriptions, and status text for each privacy category and control.Keep the Back link in a predictable reading order before main content, so skip links can bypass repeated navigation.
Common misuse Using an ordinary Back link or footer Close link as the safety exit.Making Continue the primary or only visible action.Showing sensitive values in plain text by default.Leaving the private page readable behind a timeout modal.Replacing privacy settings with a privacy policy link or legal notice.Using Back as a breadcrumb or parent-category link.

Exit this page quickly

UI or UX
UI + UX - Persistent safety escape control for sensitive pages where being seen on the current content could put the user at risk
UI guidance
Place a persistent, visibly distinct Exit this page control where it is reachable before and during sensitive content, and pair it with a secondary activation link for assistive technology users.
UX guidance
Use the pattern when sensitive content could put someone at risk if another person sees the page, such as abuse support, stalking, harassment, sexual assault, child safety, whistleblowing, or plans to escape harm.
Good UI
A support-service page keeps a red Exit this page button pinned near the top right, includes a hidden-but-focusable secondary link, and replaces the page with a neutral loading overlay as soon as it is activated.
Bad UI
A tiny Close link appears only in the footer and sends users back through sensitive previous pages.
Good UX
A user hears someone enter the room, presses the visible exit button, sees sensitive content covered instantly, and lands on a neutral search page while the service avoids sending analytics first.
Bad UX
A user believes the exit button cleared browser history because the service overpromised safety, then the visit is later discovered through history or device monitoring.
Best fit
The user may be harmed if someone nearby sees them viewing or using the current sensitive service.
Avoid when
The page is ordinary low-risk content where a prominent emergency exit would create alarm or confusion.
Required state
Persistent visible exit control on sensitive pages.
Accessibility burden
Place the control early in focus order and keep it reachable with keyboard, touch, pointer, and screen-reader navigation.
Common misuse
Using an ordinary Back link or footer Close link as the safety exit.

Security warning

UI or UX
UI + UX - Security-risk warning and safe interruption before unsafe navigation, download, submission, preview, or sensitive action
UI guidance
Render a security warning as a high-clarity interruption that names the detected risk, identifies the destination or object, explains the concrete threat, presents the safest action as the primary path, and separates any override behind deliberate risk detail.
UX guidance
Use security warning when a product, browser, operating system, or service has evidence that proceeding could expose credentials, install harmful software, leak sensitive data, bypass trust, or weaken account protection.
Good UI
A browser interstitial says Deceptive site ahead, shows the suspicious domain, explains that attackers may steal passwords, and makes Back to safety the primary action while placing Visit unsafe site behind Details.
Bad UI
A red page says Security issue with Continue as the only visible action.
Good UX
A user clicks a payroll link that visually resembles the company domain, sees the suspicious-domain warning, returns to the trusted site, and reports the link to security.
Bad UX
A user sees a vague warning, assumes it is routine maintenance, proceeds, and enters credentials into a phishing page.
Best fit
A threat signal indicates phishing, malware, deceptive site, unsafe download, invalid certificate, insecure connection, mixed-content submission, suspicious redirect, file preview risk, or account-security danger.
Avoid when
The message is only a general severe consequence before a product action; use warning text.
Required state
Safe path state with primary Back to safety, Cancel, Remove, Use trusted route, or Contact admin action.
Accessibility burden
Use a heading and text that name the risk before the destination or details, so screen reader users hear the warning context first.
Common misuse
Making Continue the primary or only visible action.

Sensitive-data reveal

UI or UX
UI + UX - Controlled reveal and re-hiding of masked sensitive values, secrets, tokens, credentials, identifiers, or private records
UI guidance
Render sensitive-data reveal as a masked value with an explicit reveal action, visible hide action, clear field identity, safe default state, reveal duration or hold behavior, and status feedback that explains what is visible now.
UX guidance
Use sensitive-data reveal when users need to verify, compare, copy, rotate, recover, or transcribe a sensitive value that is normally masked or redacted.
Good UI
An API key row shows sk_live_****9H2Q by default, requires Reauthenticate before Full reveal, logs the reveal event, and automatically hides after 30 seconds.
Bad UI
A secret is visible on page load, print, export, screenshot, or shared-screen mode.
Good UX
A developer needs to rotate a webhook secret, reveals it after step-up verification, copies it with a visible clipboard warning, then sees it auto-hide with an audit ID.
Bad UX
A user taps a copied state and the interface silently places a raw token on the clipboard while the token remains hidden on screen.
Best fit
Users need to inspect, copy, verify, rotate, transcribe, or compare a sensitive value that should normally stay masked or redacted.
Avoid when
The task is only entering a password into an authentication form; use password input.
Required state
Masked state with the field identity, safe suffix or count, and reveal eligibility.
Accessibility burden
Use a labelled button or toggle whose accessible name includes the field, such as Show API key or Hide account number.
Common misuse
Showing sensitive values in plain text by default.

Session timeout

UI or UX
UI + UX - Expired authenticated-session state and safe return-to-task recovery
UI guidance
Show session timeout after the authenticated session has ended, with private content hidden, a clear reason such as inactivity or policy expiry, the last safe activity reference, and a primary sign-in or reauthentication path.
UX guidance
Treat the timeout state as a security and continuity boundary: terminate authenticated actions, hide sensitive content, preserve allowed work references, and return users only after a fresh session is established.
Good UI
A benefits form replaces private answers with Session ended after inactivity, shows reference SES-2048, says the draft was saved at 10:42, and offers Sign in to continue plus Start again.
Bad UI
A modal says Timeout while the private page remains readable behind it.
Good UX
A user returns from a break, sees that their session ended, signs in again, and lands back on the same saved claim step with private fields restored only after authentication.
Bad UX
A user comes back to a timed-out payment form, clicks Submit, and gets repeated server errors because expired controls stayed enabled.
Best fit
An authenticated session has expired or been terminated while the user was on a protected task.
Avoid when
The session is still active and users can act before expiry; use session timeout warning.
Required state
Expired session state with private content hidden.
Accessibility burden
Move focus to the timeout heading when protected content is replaced, and use text that says the session ended rather than relying on a lock icon.
Common misuse
Leaving the private page readable behind a timeout modal.

Privacy settings

UI or UX
UI + UX - Durable privacy-control surface for account, product, device, app-access, activity, visibility, and sharing settings
UI guidance
Render privacy settings as a returnable control surface with current effective values, privacy categories, data types, app or service access, account/device/product scope, source of truth, managed or unavailable reasons, last updated status, and save or immediate-apply feedback.
UX guidance
Use privacy settings when users need to inspect and change ongoing privacy posture for saved activity, profile visibility, app access, device permissions, data sharing, ad personalization, location, connected apps, or product privacy dashboards.
Good UI
An account privacy dashboard groups Saved activity, Profile visibility, Ad personalization, Connected apps, Location history, Device permissions, and Data deletion, with current values, scope labels, last updated times, and unavailable reasons.
Bad UI
A single Privacy mode switch claims to turn everything off but leaves ad personalization, public profile visibility, connected apps, and activity retention unchanged.
Good UX
A user pauses saved activity, clears search history for a date range, disables ad personalization, hides birthday visibility, revokes a connected app, and sees which values apply immediately versus after sync.
Bad UX
A user withdraws a consent prompt, but privacy settings still show personalization enabled because the source of truth and sync state are hidden.
Best fit
Users need ongoing control over personal data collection, saved activity, visibility, app access, device permissions, connected services, data sharing, or personalization.
Avoid when
The task is a first-time opt-in to one optional purpose; use consent prompt.
Required state
Privacy settings overview with categories and current effective values.
Accessibility burden
Use clear headings, labels, descriptions, and status text for each privacy category and control.
Common misuse
Replacing privacy settings with a privacy policy link or legal notice.

Back link

UI or UX
UI + UX - Single previous-page return link for a transaction
UI guidance
Render one unobtrusive Back link near the top-left of a transaction page, before the main content, with a destination that returns to the previous service page.
UX guidance
Help the person reach a clear task outcome.
Good UI
A question page shows a single 'Back' link above the H1, before the form, and the Continue button remains the only primary action after the fields.
Bad UI
A page shows Back, breadcrumbs, a previous button, and pagination controls at the same time.
Good UX
A user goes back from Review answers to Contact details and sees the email address and phone number they already entered.
Bad UX
Clicking Back returns to the browser's previous marketing page instead of the last service page.
Best fit
A multi-page transaction or form asks users one thing per page.
Avoid when
The page is an informational content page with a stable hierarchy.
Required state
Default transaction page with one Back link before main content.
Accessibility burden
Keep the Back link in a predictable reading order before main content, so skip links can bypass repeated navigation.
Common misuse
Using Back as a breadcrumb or parent-category link.
Decision rules
  • Choose exit this page quickly when the sensitive service could put someone at risk of abuse, retaliation, stalking, harassment, whistleblowing exposure, or discovery of plans to leave harm, and the user needs a visible immediate route to a neutral website.
  • Choose security warning when the system is warning about malware, phishing, unsafe downloads, mixed content, dangerous links, or certificate risk; a security warning informs or blocks a risky destination rather than hiding the current sensitive page.
  • Choose sensitive-data reveal when the user intentionally shows a password, token, recovery code, bank value, or other secret for a short time; it controls disclosure inside the product, not emergency navigation away from the product.
  • Choose session timeout when the main risk is an authenticated session left open after inactivity; timeout can sign the user out or preserve work, but it does not replace a user-initiated quick exit from a sensitive page.
  • Choose privacy settings when users need durable controls over data use, visibility, sharing, tracking, or retention; privacy settings are deliberate management surfaces, not urgent escape controls.
  • Choose back link for ordinary navigation or ordinary step-by-step navigation to the previous page; back link must not be used as a safety exit because it may expose more sensitive pages in history.
  • An exit-this-page-quickly flow should keep a persistent visible control on sensitive pages, provide an alternate activation route for assistive technology, immediately cover or replace sensitive content, redirect to a neutral destination, and explain the behavior before first use.
  • Do not claim quick exit protects browser history, network logs, device monitoring, malicious software, screenshots, downloaded files, or account records; pair it with safety content that explains those limits.
  • Do not bind the primary safety exit to fragile shortcuts that may conflict with browser behavior, cancel navigation, or be unavailable to assistive technology users; test keyboard order, focus, loading overlay, and no-JavaScript fallback.
  • Use an interruption page or pre-service explanation when the user will encounter the quick exit control in a transactional journey, and include safety content that explains what happens when activated, where it goes, and how to manage history or monitored devices.
Inspect live examples
Failure modes
  • A domestic abuse support service shows a tiny footer link called Close instead of a persistent visible Exit this page control.
  • The quick exit button waits for analytics, confirmation, or animation before covering sensitive content.
  • The exit opens an obvious related site or a blank page that still reveals the sensitive service in the tab title or browser history.
  • Assistive technology users receive no secondary link or explanation for activating the exit control.
  • The page implies the exit button clears browser history, stops spyware, or protects a monitored device.
  • A Back link is presented as the safe exit even though it returns the user through prior sensitive pages.
  • The safety explanation appears only after the user has already entered a sensitive service.

Saved items