Can anyone suggest some reference material to figure out how to make a secure connection between client and server please?
I am building an app where you need to login to see your info. I have a JSON transport between client and server. I don’t want anyone to be able to just call the JSON services.
i.e. If a user logs in, then they have a key that allows access to the secure service matching their key only.
e.g. UserId: 1 -> JSON -> returns userId 1’s data
UserId: 2 -> JSON -> cannot return userId 1’s data
Architecture
Ionic 2 --> JSON --> Spring RESTful Service Java —> Hibernate --> MySQL
Thanks