webview
A WebView embeds web content in a native application.
Use this when A native app displays remote content alongside privileged local features.
without the term
“Our app shows our web pages in a WebView and they can call native functions like reading contacts. What if it navigates to some other website? Can you lock it down?”
with the term · How do you ask a model for webview?
Constrain this WebView to its intended content and bridge. Test unexpected navigation and messages from untrusted origins.
What is webview?
An embedded browser view inside a native app. Remote pages and your own trusted pages need different permissions, and any bridge to native code has to check where messages come from.
Why does webview matter when vibe coding?
A shared bridge can expose local capabilities to an untrusted page.
How do you do webview?
Separate trusted application content from remote content and validate navigation and message origins.
What goes wrong with webview?
Disabling web security to fix a request without understanding the boundary removed.