Hi Mike,
Thanks, for your response, this sounds cool.

Ok, So let me understand this a bit more (sorry for my ignorance). I  
have about 10 different cfc's which all do various forms of cfldap  
quires, do you have an example on how you do this, I have not worked  
much with using a application scope other than to do session variables.

Thanks,
- Charles

On Feb 2, 2005, at 11:40 AM, Michael T. Tangorre wrote:

>> From: Charles Heizer [mailto:[EMAIL PROTECTED]
>> I have been working on a site that requires many ldap queries
>> in to AD.
>> The problem I having is not really a problem but more of a
>> security issue. Currently during my development of the site
>> I'm passing the user name and password in session variables
>> (i know passwords in session variables is bad) so What I want
>> to know is and I have not found any good docs or examples on
>> is if I can bind once using cfldap and get back a token or
>> something that I can then pass into and of my other cfldap
>> queries, thus avoiding the need to pass passwords around in
>> session variables.
>
> I have a couple CFCs I use for this. I bind to the LDAP interface of  
> AD with
> a username and password.. The object is loaded into the application  
> scope
> where I then do things like...
>
> application.oAD.getPermission()
> application.oAD.getObjectByID()
> application.oAD.getEmail()
>
> etc..
>
> I pass the username and password in when the object is created..  
> although
> you could hard code it inside your CFC.....
>
> Mike
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:192800
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to