Awea
Awea

Reputation: 3173

secured web service php/json

I'm currently creating an admin platform with a lot of website, these sites can publish and get data from the admin platform.

There is a way to secure this and only accept publish/get from these sites ?

EDIT

Actualy I use some ajax scripts with JQuery in a test website. And it's not safe at all.

Upvotes: 0

Views: 1036

Answers (1)

Tadeck
Tadeck

Reputation: 137380

Yes, use authentication (see more).

In case you have no idea what scheme you can use, you can use eg.:

  • OAuth,
  • ID + password pair,
  • authentication based on IP (" if you are connecting from IP of X, you seem to be X "),

Did it shed some light on the issue? Did it help?

Upvotes: 2

Related Questions