<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: File Storage in aC 1.0</title>
  <link>http://www.activecollab.com/forums/topic/1890/</link>
  <description>Recent posts on topic: File Storage in aC 1.0</description>
  <dc:language>en-us</dc:language>
  <pubDate>Mon, 01 Dec 2008 23:33:39 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/8959/#post8959</link>
    <guid>http://www.activecollab.com/forums/post/8959/#post8959</guid>
    <title>Post #7 by llbbl</title>
    <dc:creator>llbbl</dc:creator>
    <description><![CDATA[<p>please read this article on file uploads in php. it explains all the problems and outlines the only secure way to do it. <br />
<br />
<a href="http://www.scanit.be/uploads/php-file-upload.pdf" target="_blank" rel="nofollow">http://www.scanit.be/uploads/php-file-upload.pdf</a><br />
<br />
I think this will also help people understand why it isn't as simple as it sounds. </p>]]></description>
    <pubDate>Tue, 25 Sep 2007 20:33:24 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8885/#post8885</link>
    <guid>http://www.activecollab.com/forums/post/8885/#post8885</guid>
    <title>Post #6 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Thanks. We'll see what we can do about this :)</p>]]></description>
    <pubDate>Fri, 21 Sep 2007 12:51:36 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8884/#post8884</link>
    <guid>http://www.activecollab.com/forums/post/8884/#post8884</guid>
    <title>Post #5 by awolff</title>
    <dc:creator>awolff</dc:creator>
    <description><![CDATA[<p>1. If password protecting a folder is too much hassle, then at least give the administrator more options, eg. to select a folder, or even a server path for uploads, then the administrator/webmaster can secure the folder on the server himself.<br />
<br />
2. A simple sequential number added to the end of the filename can solve this problem, eg. screenshot_001.jpg; screenshot_002.jpg. If a sequential number is too difficult to do, then a random generated string on the filename will work as well. This means the administrator can go into the server, and immediately locate the file he is looking for, or at least the latest version of the file, based on the name and date.<br />
<br />
3. Yes, I am all for that as well... but that partly even possible now, at least in BQ by simply creating a separate project open to all, or shared by companies.<br />
<br />
And a one click project backup (with the choice of selecting files, messages, tasks etc.) would of course be the createst improvement. As you say on the front page of your site, &quot;Keep it, save it, backup it.&quot;<br />
<br />
Thanks!!<br />
</p>]]></description>
    <pubDate>Fri, 21 Sep 2007 12:38:02 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8880/#post8880</link>
    <guid>http://www.activecollab.com/forums/post/8880/#post8880</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>1. To password protect a folder you need allow override permissions in case of Apache. We would also need to test it on IIS to see if it works properly. And who knows what else can go wrong on all the platforms we need to support. Way too much hassle...<br />
<br />
2. First time someone uploads a specific name it becomes reserved across all projects so you need to handle a situation when someone uploads a new file with the same name. Just as an example I attached hundreds of screenshot.jpg files in the past few months :)<br />
<br />
3. We want to support general upload, not just on project level. For instance, we could add a plugin that enables you to attach files to companies, users or even globally available documents, attached to nothing - just uploaded and available in Documents section on the Dashboard (just an example).<br />
<br />
I am not saying that this design decision is the best one or that things could not be solved differently, I'm just explaining why we did it this way and that we wont be able to change it until 1.0 launch. This is how activeCollab 1.0 will most probably ship.<br />
<br />
Of course, we are open for suggesting and requests. Just tell us how you would improve this solution or what you would like to achieve (one click project backup for instance) and we'll see what we can do.</p>]]></description>
    <pubDate>Fri, 21 Sep 2007 10:04:06 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8879/#post8879</link>
    <guid>http://www.activecollab.com/forums/post/8879/#post8879</guid>
    <title>Post #3 by awolff</title>
    <dc:creator>awolff</dc:creator>
    <description><![CDATA[<p>Thanks Ilija, you are quick!<br />
<br />
I am a bit disappointed now. <br />
<br />
I was hoping there might be a better solution for file storage, but I understand the security risks. It would of course be possible to password protect the Upload folder and make it only accessible only from within aC, and for a webmaster, using SFTP.  Is that a solution?<br />
<br />
Why can aC simply not use the upload filename?</p>]]></description>
    <pubDate>Fri, 21 Sep 2007 09:43:41 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8877/#post8877</link>
    <guid>http://www.activecollab.com/forums/post/8877/#post8877</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>Thanks for bringing this up. We haven't been playing with backup / export with activeCollab 1.0 (if you need to extract data from the system you can use API). For now activeCollab 1.0 handles files pretty much the same way activeCollab 0.7.1 did (except there is no database storage engine - just file system), but we considering various options for future releases.<br />
<br />
<div class="postQuote"><blockquote><div class="quoteAuthor">awolff:</div>Can files retain their original name and extention?</blockquote></div><br />
<br />
Having original file names within /upload folder would be a great security risk because many people still have /upload accessible through the web. Somebody could easily upload .php file and that is just not acceptable.<br />
<br />
<div class="postQuote"><blockquote><div class="quoteAuthor">awolff:</div>Can files possibly go into a folder that can easily be identified with the relevant project?</blockquote></div><br />
<br />
Creating folders from PHP in specific setups can be a real pain so we haven't used it. There is no subfolders in /upload folder.</p>]]></description>
    <pubDate>Fri, 21 Sep 2007 09:30:36 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8876/#post8876</link>
    <guid>http://www.activecollab.com/forums/post/8876/#post8876</guid>
    <title>Post #1 by awolff</title>
    <dc:creator>awolff</dc:creator>
    <description><![CDATA[<p>I noticed that aC allows the user to choose where to store files. In the database, or in the /upload folder. <br />
<br />
My question concerns the naming of the files if I choose the /upload folder option. I noticed that in v. 0.7.1 the files are saved in the &quot;upload&quot; folder with encrypted file names, and without extentions. How will files be treated in version 1?<br />
<br />
Can files retain their original name and extention?<br />
Can files possibly go into a folder that can easily be identified with the relevant project?<br />
<br />
This will make backup of files so much easier.<br />
</p>]]></description>
    <pubDate>Fri, 21 Sep 2007 09:18:04 UTC</pubDate>
  </item>
</channel>
</rss>