SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to check the type of device is connected to the webservice

    hi all,
    webservice I am doing, want to check device type (phone, computer,.....) are connected to the webservice. to perform assigned access rights for each type of device,

    please help me

    Thanks all

  2. #2
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,652
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    You could try and do some browser sniffing -- they are http requests and they should have all the typical headers including user agents. Phones can also be sniffed based on IP address to some extent -- you can at least pick up on 3g users as they will be on the carrier's networks.

    All that said, you are probably better off setting up some sort of authentication scheme that takes this angle into account as sniffing is far from perfect.

  3. #3
    SitePoint Member
    Join Date
    Dec 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for helping me


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •