<?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: Convection: self-hosted secure file exchange in Rails</title>
	<atom:link href="http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/</link>
	<description>Logical Reality Design: Web Design and Software Development</description>
	<lastBuildDate>Tue, 20 Dec 2011 19:03:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Evan</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18935</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 26 Jan 2011 22:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18935</guid>
		<description>@GS:  Not that i&#039;m aware of ... that need is why we wrote Convection in the first place.  You could set up a bunch of  FTP users and give each one an FTP directory, and put the admin in a group that had access to all of those directories, but that&#039;s definitely a fiddly problem that would need to be maintained by hand.

But, new tools may have been written in the two years since we first decided Convection was necessary.   If you find any other free tools that solve this problem, please let me know.</description>
		<content:encoded><![CDATA[<p>@GS:  Not that i&#8217;m aware of &#8230; that need is why we wrote Convection in the first place.  You could set up a bunch of  FTP users and give each one an FTP directory, and put the admin in a group that had access to all of those directories, but that&#8217;s definitely a fiddly problem that would need to be maintained by hand.</p>
<p>But, new tools may have been written in the two years since we first decided Convection was necessary.   If you find any other free tools that solve this problem, please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GS</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18934</link>
		<dc:creator>GS</dc:creator>
		<pubDate>Wed, 26 Jan 2011 21:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18934</guid>
		<description>So is there any any simple software that should just allow an admin to set up users and assign them folders so that the admin should have access to all the folders while the user should have access only to his own folder where he can upload and download files?</description>
		<content:encoded><![CDATA[<p>So is there any any simple software that should just allow an admin to set up users and assign them folders so that the admin should have access to all the folders while the user should have access only to his own folder where he can upload and download files?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GS</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18933</link>
		<dc:creator>GS</dc:creator>
		<pubDate>Wed, 26 Jan 2011 21:43:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18933</guid>
		<description>Ok. Thanks a lot for you help. I will search google for more information on rails. But i think i understood the most part of it. I am so much in love with open source community for the support it provides. Thanks again.</description>
		<content:encoded><![CDATA[<p>Ok. Thanks a lot for you help. I will search google for more information on rails. But i think i understood the most part of it. I am so much in love with open source community for the support it provides. Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18932</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 26 Jan 2011 21:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18932</guid>
		<description>Another note after reading your post more carefull5y:  if Cpanel is your *only* access to the server (i.e. if you can&#039;t connect to the server with a sudo-capable shell account and edit your Apache configs), you probably cannot set up a Rails application.

Some managed, shared-hosting environments (like Dreamhost) solve this by providing a one-click &quot;enable Passenger for Rails on this domain&quot; in their control panel.   But if you are really in a controlled environment and it doesn&#039;t provide such an option, Rails applications may just not be an option for you.   If it&#039;s that sort of managed environment, I&#039;d suggest contacting the hosting provider&#039;s tech support and asking if they support Ruby on Rails.</description>
		<content:encoded><![CDATA[<p>Another note after reading your post more carefull5y:  if Cpanel is your *only* access to the server (i.e. if you can&#8217;t connect to the server with a sudo-capable shell account and edit your Apache configs), you probably cannot set up a Rails application.</p>
<p>Some managed, shared-hosting environments (like Dreamhost) solve this by providing a one-click &#8220;enable Passenger for Rails on this domain&#8221; in their control panel.   But if you are really in a controlled environment and it doesn&#8217;t provide such an option, Rails applications may just not be an option for you.   If it&#8217;s that sort of managed environment, I&#8217;d suggest contacting the hosting provider&#8217;s tech support and asking if they support Ruby on Rails.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18931</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 26 Jan 2011 21:36:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18931</guid>
		<description>@GS:  Okay, you&#039;re better off than i feared when you said &quot;newbie to web development&quot;.

Since convection is a Rails application, you will still need to do more than upload the files and run a script, however.   Rails runs within its own in-memory application, and Apache needs to be told launch that application.   The easiest way to do this is to install Phusion Passenger as a module to apache.  

If your server already has rubygems (Ruby&#039;s package manager) installed, there is a passenger gem that can walk you through this process very quickly.  The instructions are in the modrails link above.  

Then you&#039;ll want to set up an Apache virtualhost for the application.  Rails applications really want their own domain or sub-domain  (i.e. file-exchange.yourdomain.com), rather than to run in a subdirectory of your existing site (yourdomain.com/file-exchange).  It&#039;s possible to do the latter, but I promise it&#039;s not worth the hassle.    There are a few minor tricks of writing a vhost file for a rails application: the most important one is that if you upload your rails application to, say, /web/files/convection,   then you point apache&#039;s DocumentRoot not to that directory, but to /web/files/convection/public.   This is because everything outside the &#039;public&#039; directory in a Rails application is used by Rails to run the site and is not meant to be visible to the public.    This approach - relative to the one used by joomla - means you don&#039;t have to worry so much about your file permissions from a security perspective.   (Because things outside the public subdirectory are never even examined by Apache and can&#039;t be served).

Once your server is up with a domain and vhost configured, and you&#039;ve uploaded the files, you do need to create a database, and seed it with a few initial records (like the first admin account).  Documentation on doing this can be found in the convection README.  https://github.com/LRDesign/Convection

To edit the specifics of the database connection username, password, etc., edit the file config/database.yml in the uploaded copy of Convection.

It&#039;s definitely not as easy to set up and deploy a Rails application as a PHP-based one like Joomla.  This is the tradeoff we make for the much friendlier development environment of Rails.   However, there are many good guides to deploying Rails around the &#039;net, google will help you find them.</description>
		<content:encoded><![CDATA[<p>@GS:  Okay, you&#8217;re better off than i feared when you said &#8220;newbie to web development&#8221;.</p>
<p>Since convection is a Rails application, you will still need to do more than upload the files and run a script, however.   Rails runs within its own in-memory application, and Apache needs to be told launch that application.   The easiest way to do this is to install Phusion Passenger as a module to apache.  </p>
<p>If your server already has rubygems (Ruby&#8217;s package manager) installed, there is a passenger gem that can walk you through this process very quickly.  The instructions are in the modrails link above.  </p>
<p>Then you&#8217;ll want to set up an Apache virtualhost for the application.  Rails applications really want their own domain or sub-domain  (i.e. file-exchange.yourdomain.com), rather than to run in a subdirectory of your existing site (yourdomain.com/file-exchange).  It&#8217;s possible to do the latter, but I promise it&#8217;s not worth the hassle.    There are a few minor tricks of writing a vhost file for a rails application: the most important one is that if you upload your rails application to, say, /web/files/convection,   then you point apache&#8217;s DocumentRoot not to that directory, but to /web/files/convection/public.   This is because everything outside the &#8216;public&#8217; directory in a Rails application is used by Rails to run the site and is not meant to be visible to the public.    This approach &#8211; relative to the one used by joomla &#8211; means you don&#8217;t have to worry so much about your file permissions from a security perspective.   (Because things outside the public subdirectory are never even examined by Apache and can&#8217;t be served).</p>
<p>Once your server is up with a domain and vhost configured, and you&#8217;ve uploaded the files, you do need to create a database, and seed it with a few initial records (like the first admin account).  Documentation on doing this can be found in the convection README.  <a href="https://github.com/LRDesign/Convection" rel="nofollow">https://github.com/LRDesign/Convection</a></p>
<p>To edit the specifics of the database connection username, password, etc., edit the file config/database.yml in the uploaded copy of Convection.</p>
<p>It&#8217;s definitely not as easy to set up and deploy a Rails application as a PHP-based one like Joomla.  This is the tradeoff we make for the much friendlier development environment of Rails.   However, there are many good guides to deploying Rails around the &#8216;net, google will help you find them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GS</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18930</link>
		<dc:creator>GS</dc:creator>
		<pubDate>Wed, 26 Jan 2011 21:24:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18930</guid>
		<description>I have been building websites for quite sometime now using joomla and wordpress and my server does support uploading using cpanelx. apache etc is already installed on the server All I have experience of is setting up a database, adding a user to it and then setting up joomla and working on it. I am only a student and am working side by side part-time. My client needs a solution throught which he can exchange files with his clients. This  software looks good for his pupose. So is it possible to simple upload the files and run some script to install it? Something like joomla or wordpress?</description>
		<content:encoded><![CDATA[<p>I have been building websites for quite sometime now using joomla and wordpress and my server does support uploading using cpanelx. apache etc is already installed on the server All I have experience of is setting up a database, adding a user to it and then setting up joomla and working on it. I am only a student and am working side by side part-time. My client needs a solution throught which he can exchange files with his clients. This  software looks good for his pupose. So is it possible to simple upload the files and run some script to install it? Something like joomla or wordpress?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18929</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Wed, 26 Jan 2011 21:10:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18929</guid>
		<description>@GS:  To install, you will need a webserver capable of supporting a Ruby on Rails 2.x application that allows you to upload files to disk.   There are a number of options, including cheap commercial hosting like Dreamhost.   

If you are setting it up yourself, there are many options for building a Rails-capable webserver.  I personally think a standard Apache server with Phusion Passenger installed is the easiest.  

However, if you are very new to web dev, be prepared for a sharp learning curve.   Stick to it, however, and you&#039;ll get there.   Do you have experience setting up Linux environments?  If not, you may need to start there.   Here&#039;s a good guide to getting a full stack (linux -&gt; apache -&gt; passenger -&gt; Rails) running on a Ubuntu server:

https://help.ubuntu.com/community/RubyOnRails

Also, here&#039;s the Phusion Passenger install guide:   http://www.modrails.com/install.html</description>
		<content:encoded><![CDATA[<p>@GS:  To install, you will need a webserver capable of supporting a Ruby on Rails 2.x application that allows you to upload files to disk.   There are a number of options, including cheap commercial hosting like Dreamhost.   </p>
<p>If you are setting it up yourself, there are many options for building a Rails-capable webserver.  I personally think a standard Apache server with Phusion Passenger installed is the easiest.  </p>
<p>However, if you are very new to web dev, be prepared for a sharp learning curve.   Stick to it, however, and you&#8217;ll get there.   Do you have experience setting up Linux environments?  If not, you may need to start there.   Here&#8217;s a good guide to getting a full stack (linux -> apache -> passenger -> Rails) running on a Ubuntu server:</p>
<p><a href="https://help.ubuntu.com/community/RubyOnRails" rel="nofollow">https://help.ubuntu.com/community/RubyOnRails</a></p>
<p>Also, here&#8217;s the Phusion Passenger install guide:   <a href="http://www.modrails.com/install.html" rel="nofollow">http://www.modrails.com/install.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GS</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-18927</link>
		<dc:creator>GS</dc:creator>
		<pubDate>Wed, 26 Jan 2011 19:47:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-18927</guid>
		<description>I am a newbie to web development. would somebody be able to tell me what to do to install. Any help would be heartly appreciated.</description>
		<content:encoded><![CDATA[<p>I am a newbie to web development. would somebody be able to tell me what to do to install. Any help would be heartly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-15837</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Wed, 01 Sep 2010 14:24:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-15837</guid>
		<description>@Evan: Thanks. I was there several times, but I never looked at the sidebar but only at the file properties.</description>
		<content:encoded><![CDATA[<p>@Evan: Thanks. I was there several times, but I never looked at the sidebar but only at the file properties.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan</title>
		<link>http://blog.lrdesign.com/2010/06/convection-self-hosted-secure-file-exchange-in-rails/comment-page-1/#comment-15826</link>
		<dc:creator>Evan</dc:creator>
		<pubDate>Tue, 31 Aug 2010 17:25:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.lrdesign.com/?p=160#comment-15826</guid>
		<description>@Thomas:   To share a file with others, go to the file&#039;s edit page.   If you are logged in as an admin, you will see a yellow sidebar labeled &quot;Admin Tool: Permissions&quot;.    In that box, you can set which groups can view/download a file,  and which groups and edit/delete a file.    To share a file with all users, click the &quot;view/download&quot; checkbox next to &quot;All Users&quot;.      To share a file with only some users, you create a group and assign the users to that group.   Then, that group will show up in the Permissions box when you edit files, and you can give that group access to the file.

Let me know if this helps!</description>
		<content:encoded><![CDATA[<p>@Thomas:   To share a file with others, go to the file&#8217;s edit page.   If you are logged in as an admin, you will see a yellow sidebar labeled &#8220;Admin Tool: Permissions&#8221;.    In that box, you can set which groups can view/download a file,  and which groups and edit/delete a file.    To share a file with all users, click the &#8220;view/download&#8221; checkbox next to &#8220;All Users&#8221;.      To share a file with only some users, you create a group and assign the users to that group.   Then, that group will show up in the Permissions box when you edit files, and you can give that group access to the file.</p>
<p>Let me know if this helps!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

