> There's some way to identify that the user is using a mobile device, not a
> desktop?
> Like, I have an application, which communicates with a web service, but
> anyone could access it through a desktop, and simulates that is using a
> mobile device.
> 

I was thinking check the width, set viewport check again. 

What do you class a tablet as? desktop or mobile. The main difference is
usually a small screen. Resolution may be going crazy like
megapixels due to marketers, just like megapixels have no effect with
small lenses, resolution has no effect with the media both a phone and
it's connection can handle for the foreseeable future, causing
unnecessary problems.

> I don't think that "user-agents", "css" and things like that will help,
> since they can be forged.

You could try taking a picture and seeing the reflection in the users
eye, but even that could be fed false data. The user is generally King.

-- 
_______________________________________________________________________

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
_______________________________________________________________________

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to