<?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: Part 4 &#8211; Flex Cairngorm/WebORB Issue Tracker Tutorial &#8211; Invoking ActiveRecord Methods Directly From Flex</title>
	<atom:link href="http://flexonrails.net/?feed=rss2&#038;p=54" rel="self" type="application/rss+xml" />
	<link>http://flexonrails.net/?p=54</link>
	<description>-</description>
	<lastBuildDate>Tue, 22 Dec 2009 16:08:15 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Prem</title>
		<link>http://flexonrails.net/?p=54&#038;cpage=1#comment-80821</link>
		<dc:creator>Prem</dc:creator>
		<pubDate>Tue, 13 Jan 2009 19:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://flexonrails.net/?p=54#comment-80821</guid>
		<description>I really like this project and I downloaded the code and looking thorough it . I cant seem to find the UserService in any of the code. Also it would be useful to have a SQL Script to create the db if thats available. 

Thanks much again
Prem</description>
		<content:encoded><![CDATA[<p>I really like this project and I downloaded the code and looking thorough it . I cant seem to find the UserService in any of the code. Also it would be useful to have a SQL Script to create the db if thats available. </p>
<p>Thanks much again<br />
Prem</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nerdmaster</title>
		<link>http://flexonrails.net/?p=54&#038;cpage=1#comment-25537</link>
		<dc:creator>Nerdmaster</dc:creator>
		<pubDate>Sat, 09 Jun 2007 01:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://flexonrails.net/?p=54#comment-25537</guid>
		<description>I think this is a great concept, but I have to agree with Tyler.  You&#039;d have to be very careful to only open some of the methods, and be amazingly restrictive about what you returned.  Once you have access to an object, you can access almost anything related to that object.  Imagine calling service.find_by_username_and_password(&#039;valid_user&#039;, &#039;valid_password&#039;).class.find(:all) to get a full list of users and passwords.

Additionally, even if you only expose certain methods (find_by_username_and_password), if the user is able to see your internal data structure, they might now know that your DB has a field &quot;is_superuser&quot; and knows better how to attack you via other methods.

I imagine WebORB has a lot of security options, but my problem would be forgetting to secure that one, seemingly-harmless method that turns out to give a hacker exactly what he needs to totally trash my app&#039;s data.</description>
		<content:encoded><![CDATA[<p>I think this is a great concept, but I have to agree with Tyler.  You&#8217;d have to be very careful to only open some of the methods, and be amazingly restrictive about what you returned.  Once you have access to an object, you can access almost anything related to that object.  Imagine calling service.find_by_username_and_password(&#8217;valid_user&#8217;, &#8216;valid_password&#8217;).class.find(:all) to get a full list of users and passwords.</p>
<p>Additionally, even if you only expose certain methods (find_by_username_and_password), if the user is able to see your internal data structure, they might now know that your DB has a field &#8220;is_superuser&#8221; and knows better how to attack you via other methods.</p>
<p>I imagine WebORB has a lot of security options, but my problem would be forgetting to secure that one, seemingly-harmless method that turns out to give a hacker exactly what he needs to totally trash my app&#8217;s data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler Larson</title>
		<link>http://flexonrails.net/?p=54&#038;cpage=1#comment-12648</link>
		<dc:creator>Tyler Larson</dc:creator>
		<pubDate>Tue, 10 Apr 2007 01:24:29 +0000</pubDate>
		<guid isPermaLink="false">http://flexonrails.net/?p=54#comment-12648</guid>
		<description>This seems like a bad idea to open access to classes on the back end. What happens when the person decompiles the file and then writes something that calls service.find_by_username(username).delete() or some other function they shouldn&#039;t. Maybe we can set up something to prevent these things on the server but it seems like this might open up big holes in security. If there is an answer I might convert tomorrow but this could be very bad.</description>
		<content:encoded><![CDATA[<p>This seems like a bad idea to open access to classes on the back end. What happens when the person decompiles the file and then writes something that calls service.find_by_username(username).delete() or some other function they shouldn&#8217;t. Maybe we can set up something to prevent these things on the server but it seems like this might open up big holes in security. If there is an answer I might convert tomorrow but this could be very bad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Wischusen</title>
		<link>http://flexonrails.net/?p=54&#038;cpage=1#comment-2261</link>
		<dc:creator>Derek Wischusen</dc:creator>
		<pubDate>Mon, 15 Jan 2007 00:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://flexonrails.net/?p=54#comment-2261</guid>
		<description>Right you are.  Thank you for spotting the error.</description>
		<content:encoded><![CDATA[<p>Right you are.  Thank you for spotting the error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maxkar</title>
		<link>http://flexonrails.net/?p=54&#038;cpage=1#comment-2259</link>
		<dc:creator>maxkar</dc:creator>
		<pubDate>Mon, 15 Jan 2007 00:31:50 +0000</pubDate>
		<guid isPermaLink="false">http://flexonrails.net/?p=54#comment-2259</guid>
		<description>2. Open up the remote-services.xml file (located in C:\rails\rails_issue_tracker2\config\WEB-INF\flex) and map the RemoteObject directly to an ActiveRecord class. This is the mapping for the userService RemoteObject:

Correction to file name:
remote-services.xml = remoting-config.xml</description>
		<content:encoded><![CDATA[<p>2. Open up the remote-services.xml file (located in C:\rails\rails_issue_tracker2\config\WEB-INF\flex) and map the RemoteObject directly to an ActiveRecord class. This is the mapping for the userService RemoteObject:</p>
<p>Correction to file name:<br />
remote-services.xml = remoting-config.xml</p>
]]></content:encoded>
	</item>
</channel>
</rss>
