I am working on an application, and there is a page that I only want it to be available for users accessing from iphone devices..
As we know, user can change the user-agent from the client side or through the browser emulator, so I wanna know if there is a way to prevent it please?
Note: I managed to prevent that after user login to my website by keeping the browser user-agent in the session at the time of login.. so even if the user changes the user-agent after that, I will only consider the previous user-agent I saved in the session at the time of the login
However, what might not work is what if the user changes the user-agent to 'iphone' using emulator before calling my website and creating the session..
Can u help me with that please? Thanks,