简体   繁体   中英

Is there a to tell if someone wrote a WebView wrapper for my webapp?

I wrote a webapp and recently had someone creating an app for Android that is only a WebView wrapper. This is a security issue as whoever created this could potentially be collecting my webapp user login details. So is there a way with JavaScript or server side to tell if the application is running inside a webview?

尝试将X-Frame-Options设置为在您的服务器上拒绝,则WebView将不再起作用https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM