How to secure Data IonicV1 services

Viewed 68

Hi I have implemented an app in Ionic v1 with Symfony2 as server side.

the communication between app and server is being made by post ajax request.

I want to make secure the request services data in network which is posted from app to Symfony2.

//Login services request

{role: "ROLE PARENT", user: "8557988004", password: "12872"}

//response

MessageId: 1, email: "sunilrawat@indivar.com", name: "SATNAM SINGH HANSRA", roleName: "ROLE PARENT"}

I have some other pages in my app where I need to process payment as well.So can you please guide me how can I make each service data secure so that no one can tamper it.Because by default ionic convert each services in ajax using $http.post.

Thanks advance

2 Answers
Related