Yes you can.
Make sure you have advanced security turned on.
Create a Domain security context in the advanced security, and use this:
<cfauthenticate
securitycontext = "contextname"
username = "#form.username#"
password = "#form.password#">
tag.
To check, <cfoutput>#isauthenticated(contextname)#</cfoutput>
I've done this and have made it work.
This tag will also work with LDAP, NDS, AD, etc...
-----Original Message-----
From: John Wilker [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 9:09 PM
To: CF-Talk
Subject: RE: NT User authentication
I'm not sure that you can, It would kind of defeat the purpose of NT
security if CF could access the password, then in theory some one could
write a page to record everyone's password that hits their page.
J.
John Wilker
Web Applications Consultant
Macromedia Certified ColdFusion Developer
www.red-omega.com <http://www.red-omega.com>
Pepsi's "Come Alive With the Pepsi Generation" translated into "Pepsi Brings
Your Ancestors Back From the Grave" in Chinese.
-----Original Message-----
From: Neil H. [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 7:03 PM
To: CF-Talk
Subject: Re: NT User authentication
Yes,
But I want to check the password too.
Thanks
Neil
----- Original Message -----
From: "John Wilker" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 9:47 PM
Subject: RE: NT User authentication
> Assuming this will be running on an intranet where users will have to
login
> to NT, you can access their NT login name with #REMOTE_USER# it should
> return domain/username
>
> you'll need to turn anonymous access off in IIS in order to make the
> variable record.
>
> J.
>
> John Wilker
> Web Applications Consultant
> Macromedia Certified ColdFusion Developer
>
> www.red-omega.com <http://www.red-omega.com>
>
> Pepsi's "Come Alive With the Pepsi Generation" translated into "Pepsi
Brings
> Your Ancestors Back From the Grave" in Chinese.
>
>
> -----Original Message-----
> From: Neil H. [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 23, 2001 6:36 PM
> To: CF-Talk
> Subject: Re: NT User authentication
>
>
> No no, I want to have a login page that compares the username and
> password to the NT user database :)
>
> Thanks,
>
> Neil
>
> ----- Original Message -----
> From: "Garza, Jeff" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Wednesday, May 23, 2001 7:29 PM
> Subject: RE: NT User authentication
>
>
> > Turn off anonymous access, use NT/Challenge Response and or Plain
> > Text(netscape). Remove the IUSR_Machinename from the dirctory ACL.
> > And
> make
> > sure to allow system access to the directories othwise your default
> install
> > of CF can't access the scripts to run.
> >
> > HTH
> >
> > Jeff Garza
> > Web Developer/Webmaster
> > Spectrum Astro, Inc.
> > 480.892.8200
> >
> > [EMAIL PROTECTED]
> > http://www.spectrumastro.com
> >
> >
> >
> > -----Original Message-----
> > From: Neil H. [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, May 23, 2001 2:37 PM
> > To: CF-Talk
> > Subject: NT User authentication
> >
> >
> > I am looking for a method where the website can authenticate against
> > the
> NT
> > user database.
> >
> > Thanks,
> >
> > Neil
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists