Hi! I am trying to secure a webservice that I have created. basically I need client apps to call a authenticate() function that would verify the users and pass a token back to the client. In subsequent calls, they would then pass the token back to the webservice in the header. And in my webservice I would check for a valid token.
My problem is, I am not sure which is the best place to check for valid tokens? Should I check for valid toekns within each function? Or can I do somethign so that on every call, the component automatically cheks for the valid token? What other methods are people using for securing their apps and to maintain state in a webservice? Any ideas.... Thanks, Dharm ==> See forgotten passwords befind **** asterisks: www.SeePassword.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220123 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54