motioz
motioz

Reputation: 662

How to Block android apps to show my site?

I have found that certain android applications show my site, I think they use with webview, How do I block all applications that can show my site ?

Upvotes: 3

Views: 430

Answers (2)

CommonsWare
CommonsWare

Reputation: 1006614

How do I block all applications that can show my site ?

You have no means of conclusively determining what software is sending the HTTP request, and Web browsers are "applications". So, either take down your site, which will "block all applications that can show [your] site", or do not worry about what "applications" the user has chosen to view your site.

Upvotes: 1

Daniel
Daniel

Reputation: 3806

I don't think there is a 100% secure way of doing this. What you can do is to attach a header property to your app browser with a server-validated key. Without this key, in combination with a mobile browser detection library you'll know if the app is authorized or not.

But if a developer acquire this key there is no prevention for him to implement it. Also detecting a mobile browser is not an exact science.

Upvotes: 0

Related Questions