~/talk

Controlling Safe Browsing to Protect WebView

TalkinJapaneseat DroidKaigi 2019 · 2019-02-07..02-08· [security, web-platform]
links:none on file
slides:none on file

Android WebView includes Google Safe Browsing by default on v66 and newer to block phishing, malware, and unwanted software. Apps can call startSafeBrowsing and handle a SafeBrowsingResponse with three possible actions (show an interstitial, navigate back to safety, or proceed), set per‑WebView enablement and a host whitelist, and should use compatibility helpers for behavior around API level 26. Chrome shows a red interstitial only when the WebView fills the root width and at least 70% of height, and SafetyNet Safe Browsing depends on Play Services 8.1+ (so it won’t work on devices without Play Services).

AI-written summary · about

  1. 0:00Start
  2. 5:34Unsafe websites
  3. 14:07WebViewCompat#startSafeBrowsing
  4. 16:52WebViewClientCompat#onSafeBrowsingHit
  5. 22:37WebViewCompat#setSafeBrowsingWhitelist
  6. 23:35When to use disable/exclusion settings
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.