0

So I have Symfony project which is also in charge of database abstraction and the data layer. In short - all data requests should go through it.

Now I want to have external components that will want to query / update stuff in the database, using web service API that I expose.

Question: How do I make sure these web services are running inside a secure channel? I don't want unauthorized users to update my database, and I don't want eavesdroppers get hold of sensitive data. Is setting up client authentication using PKI a viable option? or is it overkill? What's the way this is tackled?

Thanks! -DBG

1
  • Embed an authentication token into url Commented Apr 10, 2011 at 19:54

1 Answer 1

2

First of all, you if you have a limited number of service users, and know their ips, you can restict access to ceirtain urls by ips. Next, have a look at Practical symfony, where they embed an authentication token into the url.

Sign up to request clarification or add additional context in comments.

1 Comment

Don't know the number / nature of my users - they could be spread all over the place with new ones joining etc. However the token thing looks like the right way to go, providing I put it all into an HTTPS tunnel - so thanks (again)!\

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.