<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Flex / AIR, PHP and user authentication</title>
	<atom:link href="http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/</link>
	<description>Flex, AIR and Rock&#38;Roll</description>
	<lastBuildDate>Thu, 11 Mar 2010 11:49:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Eamon</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-8336</link>
		<dc:creator>Eamon</dc:creator>
		<pubDate>Mon, 11 Jan 2010 18:28:35 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-8336</guid>
		<description>Great example, thanks a bunch!</description>
		<content:encoded><![CDATA[<p>Great example, thanks a bunch!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naso
at</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-7965</link>
		<dc:creator>Naso
at</dc:creator>
		<pubDate>Tue, 15 Dec 2009 00:15:56 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-7965</guid>
		<description>@ Mihai

Thanks heaps Mihai! We run a few tests and it all worked nicelly.

Cheers,

Naso.</description>
		<content:encoded><![CDATA[<p>@ Mihai</p>
<p>Thanks heaps Mihai! We run a few tests and it all worked nicelly.</p>
<p>Cheers,</p>
<p>Naso.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-7898</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 11 Dec 2009 08:33:08 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-7898</guid>
		<description>@Naso

Once a session was started, Flash Player appends automatically the session id to any request to the server.

You can check in Flex that the user is authenticated by making a request to the server (remoting/httpservice). The requested page can send back true or false depending on the user authentication state.</description>
		<content:encoded><![CDATA[<p>@Naso</p>
<p>Once a session was started, Flash Player appends automatically the session id to any request to the server.</p>
<p>You can check in Flex that the user is authenticated by making a request to the server (remoting/httpservice). The requested page can send back true or false depending on the user authentication state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Naso</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-7881</link>
		<dc:creator>Naso</dc:creator>
		<pubDate>Thu, 10 Dec 2009 13:04:36 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-7881</guid>
		<description>Hi Mihai,

First of all, thank you very much for the useful article! It shed some light on questions I didn&#039;t have answers to.

I was wandering if you could elaborate a bit on the following scenario.

I have a website managed by a CMS (Joomla), which I use as a wrapper for a Flex application. The user logs in using the built-in login facility. This way the &#039;authenticated&#039; session is started by the browser. Now, the user starts the Flex app ... and my question is does the Flash player automatically capture the authenticated session from the browser or it starts a new session? In addition, how can I check in the Flex application if the user has logged in successfully, given the authentication happens in the browser?

I would be very grateful if you could at least give me a hint on these questions.

Cheers,

Naso.</description>
		<content:encoded><![CDATA[<p>Hi Mihai,</p>
<p>First of all, thank you very much for the useful article! It shed some light on questions I didn&#8217;t have answers to.</p>
<p>I was wandering if you could elaborate a bit on the following scenario.</p>
<p>I have a website managed by a CMS (Joomla), which I use as a wrapper for a Flex application. The user logs in using the built-in login facility. This way the &#8216;authenticated&#8217; session is started by the browser. Now, the user starts the Flex app &#8230; and my question is does the Flash player automatically capture the authenticated session from the browser or it starts a new session? In addition, how can I check in the Flex application if the user has logged in successfully, given the authentication happens in the browser?</p>
<p>I would be very grateful if you could at least give me a hint on these questions.</p>
<p>Cheers,</p>
<p>Naso.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-7614</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Fri, 27 Nov 2009 16:09:33 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-7614</guid>
		<description>I solved this by using a webservice to persist a session cookie.</description>
		<content:encoded><![CDATA[<p>I solved this by using a webservice to persist a session cookie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-7405</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Wed, 18 Nov 2009 14:21:12 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-7405</guid>
		<description>Hello,

I am trying to get an AIR app to authenticate with a form which is in aspx. I send a urlrequest for a file and it comes back with a redirect. I then send the username and password along with the correct url which was the original redirect. It is supposed to supply a cookie which authoizes the request but I never see the cookie in although docs say cookies are maintained automatically.

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I am trying to get an AIR app to authenticate with a form which is in aspx. I send a urlrequest for a file and it comes back with a redirect. I then send the username and password along with the correct url which was the original redirect. It is supposed to supply a cookie which authoizes the request but I never see the cookie in although docs say cookies are maintained automatically.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-5872</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Tue, 18 Aug 2009 06:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-5872</guid>
		<description>@Renuka

You go to Preferences &gt; General &gt; Linked Resources

and you add these two variables; PHP_WEB_URI pointing to the root URL and PHP_FLEX_SERVER_ROOT to absolute path of the web server</description>
		<content:encoded><![CDATA[<p>@Renuka</p>
<p>You go to Preferences > General > Linked Resources</p>
<p>and you add these two variables; PHP_WEB_URI pointing to the root URL and PHP_FLEX_SERVER_ROOT to absolute path of the web server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Renuka</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-5867</link>
		<dc:creator>Renuka</dc:creator>
		<pubDate>Mon, 17 Aug 2009 22:55:26 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-5867</guid>
		<description>Hi,

 How to set 

RootURL: PHP_WEB_URI
WebRoot: PHP_FLEX_SERVER_ROOT


Thank you.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p> How to set </p>
<p>RootURL: PHP_WEB_URI<br />
WebRoot: PHP_FLEX_SERVER_ROOT</p>
<p>Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-5846</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Fri, 14 Aug 2009 15:06:39 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-5846</guid>
		<description>I probably know the answer to this, but how bad is it to write the token to the html page with php? This would happen on the pages after the user has logged in that contain flash components.</description>
		<content:encoded><![CDATA[<p>I probably know the answer to this, but how bad is it to write the token to the html page with php? This would happen on the pages after the user has logged in that contain flash components.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumeet</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1807</link>
		<dc:creator>Sumeet</dc:creator>
		<pubDate>Wed, 04 Feb 2009 15:32:53 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1807</guid>
		<description>Thanks for the reply Mihai :)

&quot;Yes you can apply these to an AIR app. In fact I state this in my article.&quot;

Yes, I know you said the AMFPHP thing works in an AIR app. But your article is about a Flex-AIR combo, not Flash-AIR. So, I wanted to know if I can connect to the MySQL database on the website from my &quot;AIR desktop app made in Flash (not Flex)&quot;. Just clarifying.

&quot;if you have to do an enterprise app, or an application that manipulates a lot of data, then probably Flex is the choice to go.&quot;

My application is not data-heavy and is more tutorial-like and I want it to be more beautiful than number crunching capable. And that is precisely why I want to use Flash because I would go mad skinning in Flex and I would have to lean on big brother Flash to help me out anyway with the look of my app. So I do not want to get into Flex as it would be like learning to use a bulldozer to knock off a flowerpot.

&quot;It is not a good idea in an AIR application to rely on authentication only on the server side. If you code that way your application, then if the user doesn’t have Internet access or your server is broke, he can not use the AIR app.&quot;

So what should I do? I want it subscription based not license based. And anyways apps like SHIFD use user authentication to get into the app, so why not me? 

Would be waiting for opinion. Thanks again for the help. REALLY appreciate it.</description>
		<content:encoded><![CDATA[<p>Thanks for the reply Mihai <img src='http://corlan.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#8220;Yes you can apply these to an AIR app. In fact I state this in my article.&#8221;</p>
<p>Yes, I know you said the AMFPHP thing works in an AIR app. But your article is about a Flex-AIR combo, not Flash-AIR. So, I wanted to know if I can connect to the MySQL database on the website from my &#8220;AIR desktop app made in Flash (not Flex)&#8221;. Just clarifying.</p>
<p>&#8220;if you have to do an enterprise app, or an application that manipulates a lot of data, then probably Flex is the choice to go.&#8221;</p>
<p>My application is not data-heavy and is more tutorial-like and I want it to be more beautiful than number crunching capable. And that is precisely why I want to use Flash because I would go mad skinning in Flex and I would have to lean on big brother Flash to help me out anyway with the look of my app. So I do not want to get into Flex as it would be like learning to use a bulldozer to knock off a flowerpot.</p>
<p>&#8220;It is not a good idea in an AIR application to rely on authentication only on the server side. If you code that way your application, then if the user doesn’t have Internet access or your server is broke, he can not use the AIR app.&#8221;</p>
<p>So what should I do? I want it subscription based not license based. And anyways apps like SHIFD use user authentication to get into the app, so why not me? </p>
<p>Would be waiting for opinion. Thanks again for the help. REALLY appreciate it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1681</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Mon, 26 Jan 2009 16:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1681</guid>
		<description>@Sumeet

Yes you can apply these to an AIR app. In fact I state this in my article.

It is not a good idea in an AIR application to rely on authentication only on the server side. If you code that way your application, then if the user doesn&#039;t have Internet access or your server is broke, he can not use the AIR app.

Regarding Flash vs Flex, there is not an absolute resolution here. I prefer Flex. And in generally if you have to do an enterprise app, or an application that manipulates a lot of data, then probably Flex is the choice to go.

Good luck with your project!</description>
		<content:encoded><![CDATA[<p>@Sumeet</p>
<p>Yes you can apply these to an AIR app. In fact I state this in my article.</p>
<p>It is not a good idea in an AIR application to rely on authentication only on the server side. If you code that way your application, then if the user doesn&#8217;t have Internet access or your server is broke, he can not use the AIR app.</p>
<p>Regarding Flash vs Flex, there is not an absolute resolution here. I prefer Flex. And in generally if you have to do an enterprise app, or an application that manipulates a lot of data, then probably Flex is the choice to go.</p>
<p>Good luck with your project!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumeet</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1665</link>
		<dc:creator>Sumeet</dc:creator>
		<pubDate>Sat, 24 Jan 2009 18:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1665</guid>
		<description>I have read this page ...

http://www.amfphp.org/docs/authenticate.html 

and the example given there uses Flash. You have given an example for Flex (just like your &quot;remoting with amfphp&quot; article).

I guess the correct approach would be to put forward my specific case before asking:

I want to make a desktop AIR application which authenticates against the user&#039;s account residing on a mysql database on the website server before letting him/her use the application. Am I making sense? lol.

1. What should I use - Flex or Flash - to make the app?
2. Will it work the same either way? How different the approach/coding would be?

I have to make a choice between flex and flash. If an AIR app cannot be made to do what I want then I would have to take the flex route. I would really appreciate it if you help me out.</description>
		<content:encoded><![CDATA[<p>I have read this page &#8230;</p>
<p><a href="http://www.amfphp.org/docs/authenticate.html" rel="nofollow">http://www.amfphp.org/docs/authenticate.html</a> </p>
<p>and the example given there uses Flash. You have given an example for Flex (just like your &#8220;remoting with amfphp&#8221; article).</p>
<p>I guess the correct approach would be to put forward my specific case before asking:</p>
<p>I want to make a desktop AIR application which authenticates against the user&#8217;s account residing on a mysql database on the website server before letting him/her use the application. Am I making sense? lol.</p>
<p>1. What should I use &#8211; Flex or Flash &#8211; to make the app?<br />
2. Will it work the same either way? How different the approach/coding would be?</p>
<p>I have to make a choice between flex and flash. If an AIR app cannot be made to do what I want then I would have to take the flex route. I would really appreciate it if you help me out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sumeet</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1662</link>
		<dc:creator>Sumeet</dc:creator>
		<pubDate>Sat, 24 Jan 2009 17:20:15 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1662</guid>
		<description>Is it possible to do what you have described in a Flash/AIR desktop application too?</description>
		<content:encoded><![CDATA[<p>Is it possible to do what you have described in a Flash/AIR desktop application too?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1222</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Tue, 11 Nov 2008 14:03:14 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1222</guid>
		<description>@Dejan
I think the problem is with the certificate. If this is a certificate signed by Certificate Authority, it shouldn&#039;t ask every time. Otherwise, if you try the same thing but in the IE browser, I think will ask for permission each time.</description>
		<content:encoded><![CDATA[<p>@Dejan<br />
I think the problem is with the certificate. If this is a certificate signed by Certificate Authority, it shouldn&#8217;t ask every time. Otherwise, if you try the same thing but in the IE browser, I think will ask for permission each time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dejan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1178</link>
		<dc:creator>Dejan</dc:creator>
		<pubDate>Thu, 06 Nov 2008 15:27:23 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1178</guid>
		<description>Hello,

I&#039;ve developed Flex Air application that consumes Web services on telephony server. I&#039;ve added Authorization header to enable Basic http authentication; the problem I have is that &quot;someone&quot; (Flex Air engine?) asks for security certificate every time the Web service is invoked. I can&#039;t force the application to import the certificate (in &quot;Security Alert&quot; window it says &quot;The import was successful&quot;, but next time when the service is invoked, it is the same story). The service returns valid result.

Application written in C#, which consumes same Web service with same credentials and on same client workstation works fine. 

Any idea how to proceed?

Thx,
Dejan</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I&#8217;ve developed Flex Air application that consumes Web services on telephony server. I&#8217;ve added Authorization header to enable Basic http authentication; the problem I have is that &#8220;someone&#8221; (Flex Air engine?) asks for security certificate every time the Web service is invoked. I can&#8217;t force the application to import the certificate (in &#8220;Security Alert&#8221; window it says &#8220;The import was successful&#8221;, but next time when the service is invoked, it is the same story). The service returns valid result.</p>
<p>Application written in C#, which consumes same Web service with same credentials and on same client workstation works fine. </p>
<p>Any idea how to proceed?</p>
<p>Thx,<br />
Dejan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1156</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Mon, 03 Nov 2008 10:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1156</guid>
		<description>@avidFlex 
&gt;&gt;1) Is it necessary to use the AsyncToken for user authentication?
I am not sure I understood your question. If you use RemoteObject (with AMFPHP) you have just to register the listners for result to receive the answer from the call.

&gt;&gt;2)What kind of data does AMFPHP pass back to Actionscript?
Here is a resource to see the mapping between the ActionScript types and PHP: http://amfphp.org/docs/datatypes.html

Take a look at my article on Flex and PHP with AMFPHP http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/</description>
		<content:encoded><![CDATA[<p>@avidFlex<br />
>>1) Is it necessary to use the AsyncToken for user authentication?<br />
I am not sure I understood your question. If you use RemoteObject (with AMFPHP) you have just to register the listners for result to receive the answer from the call.</p>
<p>>>2)What kind of data does AMFPHP pass back to Actionscript?<br />
Here is a resource to see the mapping between the ActionScript types and PHP: <a href="http://amfphp.org/docs/datatypes.html" rel="nofollow">http://amfphp.org/docs/datatypes.html</a></p>
<p>Take a look at my article on Flex and PHP with AMFPHP <a href="http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/" rel="nofollow">http://corlan.org/2008/10/10/flex-and-php-remoting-with-amfphp/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avidFlex</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1155</link>
		<dc:creator>avidFlex</dc:creator>
		<pubDate>Mon, 03 Nov 2008 04:14:09 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1155</guid>
		<description>Hi there,

Been trying to create a user authentication using Flex 3 and AMFPHP. What happens in my case is that the PHP function works in the service browser, but when i try to pass variables into the PHP function (using remote object), either the variables are not being passed in or the PHP function is not returning the variable i need for other checking purposes. 

Just a few questions after reading the tutorial:
1) Is it necessary to use the AsyncToken for user authentication?
2) What kind of data does AMFPHP pass back to Actionscript?

Thanks in advance for the help.</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>Been trying to create a user authentication using Flex 3 and AMFPHP. What happens in my case is that the PHP function works in the service browser, but when i try to pass variables into the PHP function (using remote object), either the variables are not being passed in or the PHP function is not returning the variable i need for other checking purposes. </p>
<p>Just a few questions after reading the tutorial:<br />
1) Is it necessary to use the AsyncToken for user authentication?<br />
2) What kind of data does AMFPHP pass back to Actionscript?</p>
<p>Thanks in advance for the help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bookmarks about Air</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-1001</link>
		<dc:creator>Bookmarks about Air</dc:creator>
		<pubDate>Thu, 11 Sep 2008 02:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-1001</guid>
		<description>[...] - bookmarked by 4 members originally found by septembersember on 2008-08-18  Flex / AIR, PHP and user authentication  http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/ - bookmarked by 2 members [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; bookmarked by 4 members originally found by septembersember on 2008-08-18  Flex / AIR, PHP and user authentication  <a href="http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/" rel="nofollow">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/</a> &#8211; bookmarked by 2 members [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-908</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Sat, 30 Aug 2008 20:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-908</guid>
		<description>@seme1
1. To import the project you need to have Flex Builder 3

2. Usually a token is a string of 32 chars or more. Each user must have an unique token, and many people are generating using a hash function such as MD5.</description>
		<content:encoded><![CDATA[<p>@seme1<br />
1. To import the project you need to have Flex Builder 3</p>
<p>2. Usually a token is a string of 32 chars or more. Each user must have an unique token, and many people are generating using a hash function such as MD5.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seme1</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-907</link>
		<dc:creator>seme1</dc:creator>
		<pubDate>Sat, 30 Aug 2008 09:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-907</guid>
		<description>I am using only HTML/Javascript to develop my AIR application. I was unable to get your project imported in Aptana. 

I am trying to understand how to save tokens with AIR. Are they simply string variables ? In the server-side code,, does each user have a different token? What&#039;s the best approach for generating tokens ?</description>
		<content:encoded><![CDATA[<p>I am using only HTML/Javascript to develop my AIR application. I was unable to get your project imported in Aptana. </p>
<p>I am trying to understand how to save tokens with AIR. Are they simply string variables ? In the server-side code,, does each user have a different token? What&#8217;s the best approach for generating tokens ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-790</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 15 Aug 2008 19:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-790</guid>
		<description>Yes, they can decompile and see the buttons they shouldn&#039;t, but they cannot use it. As I explained in my post, when the client make a request to the server, the server knows (based on session or token) what user / credentials made the request. If the method is outside of the user rol, it is discarded.</description>
		<content:encoded><![CDATA[<p>Yes, they can decompile and see the buttons they shouldn&#8217;t, but they cannot use it. As I explained in my post, when the client make a request to the server, the server knows (based on session or token) what user / credentials made the request. If the method is outside of the user rol, it is discarded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TVPDan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-789</link>
		<dc:creator>TVPDan</dc:creator>
		<pubDate>Fri, 15 Aug 2008 15:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-789</guid>
		<description>By that method though, if someone took the SWF file and decompiled it, wouldn&#039;t they see items that they could use maliciously?</description>
		<content:encoded><![CDATA[<p>By that method though, if someone took the SWF file and decompiled it, wouldn&#8217;t they see items that they could use maliciously?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mihai Corlan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-788</link>
		<dc:creator>Mihai Corlan</dc:creator>
		<pubDate>Fri, 15 Aug 2008 08:24:17 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-788</guid>
		<description>One way is to set the visible property to &quot;false&quot; on the UI Components you want to hide.

Another way is to use mx:states to define one state for each rol.</description>
		<content:encoded><![CDATA[<p>One way is to set the visible property to &#8220;false&#8221; on the UI Components you want to hide.</p>
<p>Another way is to use mx:states to define one state for each rol.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TVPDan</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-787</link>
		<dc:creator>TVPDan</dc:creator>
		<pubDate>Fri, 15 Aug 2008 01:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-787</guid>
		<description>What would be the best method for showing certain Flex app elements based on user permissions in a DB (MySQL)? Say, admins can see a delete button and regular users cant, but can see everything else.

Thanks,
Dan</description>
		<content:encoded><![CDATA[<p>What would be the best method for showing certain Flex app elements based on user permissions in a DB (MySQL)? Say, admins can see a delete button and regular users cant, but can see everything else.</p>
<p>Thanks,<br />
Dan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex / AIR, PHP and user authentication &#171; Rich Internet Applications</title>
		<link>http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/comment-page-1/#comment-631</link>
		<dc:creator>Flex / AIR, PHP and user authentication &#171; Rich Internet Applications</dc:creator>
		<pubDate>Wed, 23 Jul 2008 10:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://corlan.org/2008/07/22/flex-air-php-and-user-authentication/#comment-631</guid>
		<description>[...] Source [...]</description>
		<content:encoded><![CDATA[<p>[...] Source [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
