macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

Re: secure webservice

Subject: Re: secure webservice
From: "JR "Bob" Dobbs"
Date: Thu, 17 Apr 2008 16:20:21 +0000 UTC
Newsgroups: macromedia.coldfusion.advanced_techniques

[q][i]Originally posted by: [b][b]Nick201[/b][/b][/i]
 so you mean if I pass in cfinvoke userid and password that count as basic 
authentication. I think in order to pass in cfinvoke i  have to set up into the 
linux server and create userid and password for that webservice and use it in 
cfinvoke.

 If i am wrong do you have any example of set up basic authentication and use 
it in coldfusion..

 thanks

 [/q]

 See this article for a discussion of securing web services.
 
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservices_22
.html

 To setup authentication for your web service you have two options

 1. Configure basic authentication for your web site according to your web 
server's documentation.
 This is probably your best bet for making your services available to other 
platforms such as .NET.

 2. Use cflogin in your Application.cfc, I have not used this in production, so 
I'm not sure if it is cross-platform or for ColdFusion requests only.



<Prev in Thread] Current Thread [Next in Thread>