Hi Chad

Programmly, I would suggest build a security check function in your cfc
which check the caller's IP (in your case the caller is the Apollo app) and
caller's username and password.(to retrieve caller's IP, you can have a look
at the cgi.REMOTE_ADDR).

Then there are two ways you can use this method You can Either call this
security function inside the functions you want to secure. But that means
you have to pass in username/password for every function you call.

Or make the security check function to a web service as well
(access="remote"). After checking caller's credentials, build a login
session just like a normal login process will do. Then you can check this
session variable in the functions you want to secure.

 

Coldfusion web service also support a role base security check which you can
have a look at the Adobe live documentation for detail. But I think it's
less secure than the above method.

Hope this will help

 

 

Zhou Yu
Senior Developer

Macromedia Certified Advance Coldfusion Developer

MSc Information System Development


01273 321 081
www.greenhouse-design.co.uk <http://www.greenhouse-design.co.uk/> 

 

Greenhouse Design Ltd
41-43 Portland Road
Hove, East Sussex
BN3 5DQ

 

The information contained in this email is confidential and may be legally
priveleged. Except where expressly indicated, it may not necessarily
represent the views of Greenhouse Design Ltd. This email is intended solely
for the addressee (s) and we ask that any unauthorised recipient advise the
sender immediately. If you are not the intended recipient any disclosure,
copying, distribution or any other action taken in reliance on it, is
prohibitive and may be unlawful.

 



You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to