mkral
mkral

Reputation: 4085

Securely Authenticate iPhone App to Server?

What is the best/easiest way to authenticate a user from an iPhone client to a PHP/MySQL web-service? I have not set any authentication up and I want to keep track of the user so when I call my services it sends the username. I want to make sure this user is unique and if they lose their phone they will be able to re-download app and login with credentials.

Upvotes: 0

Views: 305

Answers (1)

AAV
AAV

Reputation: 3803

This is very open ended question. Can you please provide some use cases that way we can help. If you are talking about Secure Authentication then just use HTTPS:

HTTPS was designed specifically to:

1)use encryption to defend against packet-sniffing

2)use certificates signed by an authority to defend against MITM

Upvotes: 4

Related Questions