<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6 - Developing_ColdFusion_MX_Applications_with_CFML - appSecurity5.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T23:39:47</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#18266" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#4392" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#862" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#794" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#795" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#752" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#746" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#694" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#687" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#643" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#468" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#421" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#420" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#18266">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#18266</link>
		<description>I had to do this to make the idleTimeout work properly... &lt;br /&gt;&lt;br /&gt;&lt;cfapplication name=&quot;EXAMPLE&quot; loginStorage=&quot;session&quot; sessionmanagement=&quot;Yes&quot; setclientcookies=&quot;Yes&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--- fixes CFLOGIN idleTimeout bug ---&gt;&lt;br /&gt;&lt;cfif isDefined(&quot;session.cfauthorization&quot;)&gt;&lt;br /&gt;&lt;cfset cookie.CFAUTHORIZATION_EXAMPLE=session.CFAUTHORIZATION&gt;&lt;br /&gt;&lt;/cfif&gt;</description>
		<dc:creator></dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2004-07-09T12:04:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#4392">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#4392</link>
		<description>I noticed my application wasn't logging out after the idletimeout which I thought was weird as I based my code on the MM cflogin example. Found this in the forums which solves it and explains the problem:&lt;br /&gt;&lt;br /&gt;http://webforums.macromedia.com/coldfusion/messageview.cfm?catid=12&amp;threadid=647844&amp;highlight_key=y&amp;keyword1=cflogin&lt;br /&gt;&lt;br /&gt;Seems like the &lt;cfif NOT IsDefined(&quot;cflogin&quot;)&gt; breaks the idletimeout state for some reason (bug?)&lt;br /&gt;&lt;br /&gt;Anyway thought this would be helpful for anyone who is looking at cflogin.</description>
		<dc:creator>Doug Cain</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-12-08T19:24:44</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#862">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#862</link>
		<description>wow i looked all over the place wondering what i was doing wrong with my app and here i find out its IIS ... bah .. im glad i finally found the info .. but you should SAY THAT ....</description>
		<dc:creator>Slam</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-05-10T08:13:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#794">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#794</link>
		<description>Tom, that fix does not solve the problem I raised, which is that the example of find statuscode 401 authentication (code above on this page) simply fails to work if IIS integration is implemented. It works find on the built-in web server. &lt;br&gt;&lt;br&gt;I don't know if you were referring to that problem in your note above, but changing the authentication settings for the directory in IIS made no difference to the code. My testing has shown that CF is simply not setting the CFLOGIN scope if the user is coming in through IIS. &lt;br&gt;&lt;br&gt;This is on both the base version and the updater 1.</description>
		<dc:creator>carehart@systemanage</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-12-05T04:09:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#795">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#795</link>
		<description>The problem is in the default IIS settings. To get the cflogin tags to work properly -- allowing the setCredentials() method to work in Flash Remoting -- you need to open up IIS admin interface and right-click on your Web application and choose Properties &gt; Directory Security &gt; Anonymous Access &gt; Edit. Here you will have to uncheck the Integrated Windows Authentication. Using integrated authentication only allows users that are set up under Windows to access pages in a directory protected by a cflogin system. The system works perfectly with the built-in CFMX web server. Screenshot of the admin interface of IIS at http://www.flash-remoting.com/notablog/images/iis_auth.jpg&lt;br&gt;</description>
		<dc:creator>tommuck</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-11-30T22:29:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#752">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#752</link>
		<description>More on that statuscode 401 approach to authentication, I found something interesting in Chapter 11 that may be useful for readers to note. (It's not related at all to the issue I just brought up about it failing on IIS.)&lt;br&gt;&lt;br&gt;Chapter 11 has this statement about how the &quot;realm&quot; feature of this approach can be used which ought to be present on this page as well:&lt;br&gt;&lt;br&gt;&quot;The security realm name can be used to bind multiple directories together. If Application.cfm files located in those directories use the same realm name, only a single login is required to access resources in those directories. However, each Application.cfm file can establish different roles for a user. &quot;&lt;br&gt;&lt;br&gt;If it does indeed work, that's cool to know (and a potential explanation for when people find that use of the approach in one directory causes users to login without an authentication prompt in another directory.)&lt;br&gt;&lt;br&gt;/charlie</description>
		<dc:creator>carehart@systemanage</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-11-29T23:11:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#746">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#746</link>
		<description>Regarding the feature described in the section &quot;Using application-based security with a browser's login dialog&quot;, of using using the status code 401 access denied approach to authentication, I (and others) have found that it fails with web server integration using IIS. It does work against the built-in web server. I've found no other references to this in the forums, the knowledge base, nor these livedocs comments.&lt;br&gt;&lt;br&gt;When run under IIS, you can never authenticate (using the sample admin/p1 combination for username/password that's offered in the code example).&lt;br&gt;&lt;br&gt;This is really annoying, if for no other reason that the docs don't say it shouldn't work. Has anyone else experienced or explored this?</description>
		<dc:creator>carehart@systemanage</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-11-29T23:06:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#694">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#694</link>
		<description>If you have a problem with CF MX caching login information upon logout, try moving the cflogout tag below the cflogin tag.</description>
		<dc:creator>jochemd</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-10-21T20:31:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#687">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#687</link>
		<description>This page's &quot;Application-based user security example&quot; must be changed to clarify that the &quot;cflogin&quot; scope will exist &lt;b&gt;**only**&lt;/b&gt; if the form being used for the login uses j_username and j_password for the input fields. &lt;br&gt;&lt;br&gt;If the user doesn't notice this and just uses &quot;username&quot; and &quot;password&quot; on their own (rather than cutting and pasting the form offered in the code later in the page), they'll find that the code doesn't work at all--because the first test for isdefined(&quot;cflogin&quot;) is never true.&lt;br&gt;&lt;br&gt;This isn't at all obvious.</description>
		<dc:creator>carehart@systemanage</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-09-14T20:38:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#643">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#643</link>
		<description>URL is a reserved word. I have entered this as doc bug number 47944.</description>
		<dc:creator>rnielsen</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-09-10T20:09:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#468">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#468</link>
		<description>Here is how I solved that error...&lt;br&gt;&lt;br&gt;&lt;cfset URLTMP=&quot;http://&quot; &amp;&quot;#CGI.Server_name#&quot; &amp; &quot;:&quot; &amp; &quot;#cgi.SERVER_PORT#&quot; &amp; &quot;#CGI.Script_name#&quot;&gt;&lt;br&gt;&lt;cfif CGI.QUERY_STRING is not &quot;&quot;&gt;&lt;br&gt;	&lt;CFset URLFIN=URLTMP &amp; &quot;?#CGI.QUERY_STRING#&quot;&gt;&lt;br&gt;&lt;cfelse&gt;&lt;br&gt;    &lt;CFset URLFIN=URLTMP&gt;&lt;br&gt;&lt;/cfif&gt;   &lt;br&gt;&lt;H2&gt;Please Log In&lt;/H2&gt;&lt;br&gt;&lt;cfoutput&gt;&lt;br&gt;  &lt;form action=&quot;#urlfin#&quot; method=&quot;Post&quot;&gt;&lt;br&gt;&lt;br&gt;</description>
		<dc:creator>sgilson102</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-06-24T17:20:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#421">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#421</link>
		<description>In the following code (used in a couple of places)&lt;br&gt;&lt;cfif GetAuthUser() NEQ &quot;&quot;&gt;&lt;br&gt;  &lt;cfoutput&gt;&lt;br&gt;     &lt;form action=MyApp/index.cfm&quot; method=&quot;Post&quot;&gt;&lt;br&gt;      &lt;input type=&quot;submit&quot; Name=&quot;Logout&quot; value=&quot;Logout&quot;&gt;&lt;br&gt;    &lt;/form&gt;&lt;br&gt;  &lt;/cfoutput&gt;&lt;br&gt;&lt;/cfif&gt;&lt;br&gt;there is a double quote missing from the front of MyApp/index.cfm&quot;</description>
		<dc:creator>cfmxdave</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-05-13T13:32:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#420">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/appSecurity5.htm#420</link>
		<description>In the section ?Application-based user security example? there is a code example for loginform.cfm.&lt;br&gt;The first line creates a variable called url that is used as the action page for the form. I found that this throws an error when the page gets to the form declaration. The error says something about this being a complex variable when it should be a simple variable. I was able to remedy the situation by changing the variable name ?url? to ?newurl? (or anything else for that matter) in all instances.&lt;br&gt;</description>
		<dc:creator>cfmxdave</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-05-13T13:14:00</dc:date>
	</item>
	</rdf:RDF>

