I am playing with basic WWW-Authenticate tonight and I got this far:
cfif CGI.HTTP_AUTHORIZATION IS Basic Og== cfsetting
enablecfoutputonly=yes showdebugoutput=no cfheader
statuscode=401 cfheader name=WWW-Authenticate
value=Basic realm=test Authorization failed cfelse
???
/cfif
Hi Dave,
Forget about the database. So how do I use basic authentication to
authenticate a user? How do I set up my web server to do so? I am using
standalone ColdFusion web server on Windows 2003 server.
Thanks.
Johnny
I am playing with basic WWW-Authenticate tonight and I got this far:
Johnny Le wrote:
I am playing with basic WWW-Authenticate tonight and I got this far:
cfif CGI.HTTP_AUTHORIZATION IS Basic Og==
cfsetting enablecfoutputonly=yes showdebugoutput=no
cfheader statuscode=401
cfheader name=WWW-Authenticate value=Basic realm=test
Authorization failed
cfelse
Forget about the database. So how do I use basic
authentication to authenticate a user? How do I set up my
web server to do so? I am using standalone ColdFusion web
server on Windows 2003 server.
You can enable this within your web server configuration, typically.
However, I've never
Wow, that is cool. Thank you, Dave.
Forget about the database. So how do I use basic
authentication to authenticate a user? How do I set up my
web server to do so? I am using standalone ColdFusion web
server on Windows 2003 server.
You can enable this within your web server
Thank you, Jochem. Your code rocks.
Johnny Le wrote:
http://www.vandieten.net/jochem/coldfusion/customtags/login/
You should also check RFC 2617.
Jochem
~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
I am playing with basic WWW-Authenticate tonight and I got this far:
cfif CGI.HTTP_AUTHORIZATION IS Basic Og==
cfsetting enablecfoutputonly=yes showdebugoutput=no
cfheader statuscode=401
cfheader name=WWW-Authenticate value=Basic realm=test
Authorization failed
cfelse
???
/cfif
What I don't
7 matches
Mail list logo