TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How am I supposed to verify the origin of a sign-in page in a web view?

2 点作者 3ds超过 9 年前
I just had to sign in into my google account in an iPhone app (ingress). The familiar google sign in page appeared in what is known as a &quot;web view&quot;, that is a browser that is embedded into the application. The problem I am seeing here is that I don&#x27;t see the URL that is being loaded into the web view. It could be a page on a completely different domain that just looks like the google sign in page. Even if it did show a URL, I couldn&#x27;t be sure that it actually is what it claims to be, because you could just make it look like it loads google.com even if it didn&#x27;t.<p>Should the sign in page not be loaded in the actual system browser, which I do trust and where I can see the URL and the certificate, and then somehow redirect back to the app?<p>The only way I can think of is by installing MITMProxy on my computer and watch the traffic as I sign in to confirm that my password is really only transmitted to google.<p>Is there a better practice than the sign-in via web view for (iPhone) apps?

1 comment

silviogutierrez超过 9 年前
I&#x27;m also interested in this. Seems like a very easy way to phish for credentials.