<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
  <title>aC forum: Stop directory access</title>
  <link>http://www.activecollab.com/forums/topic/1776/</link>
  <description>Recent posts on topic: Stop directory access</description>
  <dc:language>en-us</dc:language>
  <pubDate>Thu, 04 Dec 2008 05:02:19 UTC</pubDate>
  
  <item>
    <link>http://www.activecollab.com/forums/post/8347/#post8347</link>
    <guid>http://www.activecollab.com/forums/post/8347/#post8347</guid>
    <title>Post #6 by Joobs</title>
    <dc:creator>Joobs</dc:creator>
    <description><![CDATA[<p>Or... <br />
<br />
since my server is setup like this &quot;domain/public_html/activecollab/&quot; (public_html is the document root)<br />
<br />
Could i install the applciation, cache, config, upload etc folders a files beneath the document root at &quot;domain/activecollab/&quot;, and then have the public folder renamed to something like activecollab and have that sit at &quot;domain/public_html/activecollab&quot;.  Are there many files that i would have to update to reflect the new folder changes?</p>]]></description>
    <pubDate>Wed, 01 Aug 2007 23:40:31 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8340/#post8340</link>
    <guid>http://www.activecollab.com/forums/post/8340/#post8340</guid>
    <title>Post #5 by Joobs</title>
    <dc:creator>Joobs</dc:creator>
    <description><![CDATA[<p>Thanks for your reply.<br />
<br />
I have a standard shared hosting account with cPanel, so my subdomains are just folders in my main directory (eg activecollab.website.com = website.com/activecollab).  I imagine this to be a very average hosting setup for the normal user and small business.<br />
<br />
So it looks like I will have to mess with .htaccess.<br />
<br />
Do you have any plans on adding preconfigured .htaccess files with the next version?  This seems to be a huge security hole, as I’ve checked activecollab installations linked from these forums, and all of them had directory listings turned on by default.  So that meant I could go to their /upload directories and see all their files!<br />
<br />
I don’t know much about .htaccess but this is what I have learnt so far.<br />
<br />
Options –Indexes<br />
That should turn off indexing/directory listing, so when I go to /uploads I get a “forbidden message”.  Or even just putting a blank index.html in every directory might be sufficient.<br />
<br />
I also saw reports on “filesMatch” which can be used as an extra security step to stop people accessing files they shouldn’t be, such as config.php since it contains the passwords etc.  I know you shouldn’t be able to see the contents of php files normally, but I’ve seen many technical sites mention you should do this as an extra step.<br />
<br />
For example Drupal comes with this in it’s .htaccess file (has other stuff in it too)<br />
<br />
<div class="postQuote"><blockquote><br />
# Protect files and directories from prying eyes.<br />
&lt;FilesMatch &quot;(\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root|Tag|Template)$&quot;&gt;<br />
  Order allow,deny<br />
&lt;/FilesMatch&gt;<br />
<br />
# Don't show directory listings for URLs which map to a directory.<br />
Options –Indexes<br />
</blockquote></div><br />
<br />
So that seems to turn off directory listings, and hide all the config files specific to Drupal. <br />
<br />
Do you know if anyone on the community has made an equivalent file for activecollab?</p>]]></description>
    <pubDate>Wed, 01 Aug 2007 15:22:15 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8303/#post8303</link>
    <guid>http://www.activecollab.com/forums/post/8303/#post8303</guid>
    <title>Post #4 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>activeCollab can be installed so only content of the public folder is exposed. Some hosts have following structure when you add a domain / subdomain:<br />
<br />
my.subdomain.com/<br />
my.subdomain.com/web<br />
my.subdomain.com/web/public<br />
<br />
Where only /web/public is actually accessible through the browser. You upload activeCollab in /web. That way only files from /public are available through the browser. However, this requires a separate subdomain or a domain for your installation.<br />
<br />
Other possibility is to use .htaccess to restrict access to specific files, but I haven't played with that much. Take a look at <a href="http://httpd.apache.org/docs/" target="_blank" rel="nofollow">Apache documentation</a> for more details.</p>]]></description>
    <pubDate>Fri, 27 Jul 2007 06:40:10 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8302/#post8302</link>
    <guid>http://www.activecollab.com/forums/post/8302/#post8302</guid>
    <title>Post #3 by Joobs</title>
    <dc:creator>Joobs</dc:creator>
    <description><![CDATA[<p>I mean i can see all the files in each activeCollab directory (if i type their URL in), including the upload directory.  What's the best way to make these secure/forbidden etc, assuming these should be forbidden?</p>]]></description>
    <pubDate>Fri, 27 Jul 2007 00:55:19 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8286/#post8286</link>
    <guid>http://www.activecollab.com/forums/post/8286/#post8286</guid>
    <title>Post #2 by Ilija Studen</title>
    <dc:creator>Ilija Studen</dc:creator>
    <description><![CDATA[<p>When you say &quot;access all the directories via the web browser&quot; do you mean that you get directory listings or?</p>]]></description>
    <pubDate>Thu, 26 Jul 2007 06:20:11 UTC</pubDate>
  </item>
  <item>
    <link>http://www.activecollab.com/forums/post/8284/#post8284</link>
    <guid>http://www.activecollab.com/forums/post/8284/#post8284</guid>
    <title>Post #1 by Joobs</title>
    <dc:creator>Joobs</dc:creator>
    <description><![CDATA[<p>Hi<br />
<br />
I've just installed active collab and currently it is possible to access all the directories via the web browser.  Should this happen by default?<br />
<br />
Is there any kind of newbies guide detailing how to change the permissions (i am not very expereinced with these kind of things)?</p>]]></description>
    <pubDate>Thu, 26 Jul 2007 04:38:08 UTC</pubDate>
  </item>
</channel>
</rss>