Ah... isn't that basically roles security?

It's already implemented for CF webservices and I've used it successfully
several times.

Kevin

-----Original Message-----
From: Thomas Chiverton [mailto:[EMAIL PROTECTED] 
Sent: October 5, 2005 9:03 AM
To: CF-Talk
Subject: Re: webservices authentication

On Wednesday 05 October 2005 15:44, Dharmendar Kumar wrote:
> 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?

The OO approach would be for you to check with a security manager on each 
exposed class, but in the CF world you probably want to just put your checks

in Application.cfm and be done with it.

-- 

Tom Chiverton 
Advanced ColdFusion Programmer



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:220129
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

Reply via email to