Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Blocking access to some folders in Joomla 3.0
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rouven Weßling  
View profile  
 More options Sep 4 2012, 7:58 am
From: Rouven Weßling <m...@rouvenwessling.de>
Date: Tue, 4 Sep 2012 13:58:40 +0200
Local: Tues, Sep 4 2012 7:58 am
Subject: Blocking access to some folders in Joomla 3.0

Hi everyone,

we've discussed this in JSST a while ago but since this a change impacting extensions quite a bit this deserves a discussion on this list as well.

Since Joomla 1.6 (or earlier? I'm not too sure) there have been efforts to limit all client accessible files to the media directory. The patch would disallow access to certain folders that should absolutely contain nothing that should be server to the client or accessed by it. This is a sort of minimum set to not cause too many problems. Personally I'm for disallowing access to more folders but I can see that many extensions still have their assets in the same folder as their code. We could however announce that access to other folders will disappear in the future.

The second change is that it disallows directory listings. Eventually that will hopefully allow us to get rid of those damn index.html files, if not it's still a win for those that have extensions that come without index.html files.

Patch: https://github.com/realityking/joomla-cms/compare/htaccess

Your thoughts?

Best regards
Rouven

  smime.p7s
6K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Donald Gilbert  
View profile  
 More options Sep 5 2012, 1:12 am
From: Donald Gilbert <dilbert4l...@gmail.com>
Date: Tue, 4 Sep 2012 22:12:36 -0700 (PDT)
Local: Wed, Sep 5 2012 1:12 am
Subject: Re: Blocking access to some folders in Joomla 3.0

+1

Prepping the system and developers for the eventual time when the only
thing in the docroot will be the media/assets folder, .htaccess file, and
the index.php (with all code files before the root) is a good thing. I
don't see this breaking anything.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
brian teeman  
View profile  
 More options Sep 5 2012, 2:57 am
From: brian teeman <jooml...@googlemail.com>
Date: Tue, 4 Sep 2012 23:57:17 -0700 (PDT)
Local: Wed, Sep 5 2012 2:57 am
Subject: Re: Blocking access to some folders in Joomla 3.0

What about those people operating on IIS or other web servers that do not
support htaccess


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thandi Nhlapo  
View profile  
 More options Sep 5 2012, 4:26 am
From: Thandi Nhlapo <Tha...@daviesdiag.co.za>
Date: Wed, 5 Sep 2012 10:23:01 +0200
Local: Wed, Sep 5 2012 4:23 am
Subject: RE: [jcms] Re: Blocking access to some folders in Joomla 3.0

how do i remove a margin from my home page.

From: joomla-dev-cms@googlegroups.com [mailto:joomla-dev-cms@googlegroups.com] On Behalf Of Donald Gilbert
Sent: 05 September 2012 07:13 AM
To: joomla-dev-cms@googlegroups.com
Subject: [jcms] Re: Blocking access to some folders in Joomla 3.0

+1

Prepping the system and developers for the eventual time when the only thing in the docroot will be the media/assets folder, .htaccess file, and the index.php (with all code files before the root) is a good thing. I don't see this breaking anything.
--
You received this message because you are subscribed to the Google Groups "Joomla! CMS Development" group.
To view this discussion on the web, visit https://groups.google.com/d/msg/joomla-dev-cms/-/cLG0QfpQQOIJ.
To post to this group, send an email to joomla-dev-cms@googlegroups.com<mailto:joomla-dev-cms@googlegroups.com>.
To unsubscribe from this group, send email to joomla-dev-cms+unsubscribe@googlegroups.com<mailto:joomla-dev-cms+unsubscri be@googlegroups.com>.
For more options, visit this group at http://groups.google.com/group/joomla-dev-cms?hl=en-GB.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ove  
View profile  
 More options Sep 5 2012, 10:47 am
From: Ove <tobby.eriks...@gmail.com>
Date: Wed, 05 Sep 2012 16:46:49 +0200
Local: Wed, Sep 5 2012 10:46 am
Subject: Re: [jcms] Blocking access to some folders in Joomla 3.0

I agree to restrict the access to folders and to move extension assets
to a common folder. However I have problem with the naming as media. I
really miss a Media-folder to store extension restricted Media e.g
uploaded images/video/pdf .... Why not a new folder? Some extensions
store Media in the media folder. I believe assets and media should be
kept apart.

folder assets -> store extensions icons, js, css .... (hopefully less
used with bootstrap)
folder media -> store extensions media, generally not public
folder images -> store public media, e.g available through  the editors.

This means that the installer beside the media folder has to handle the
assets folder. The handling of the media folder can probably not be
removed to be backword compatible.

Regards
Ove

Rouven We�ling skrev 04.09.2012 13:58:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rouven Weßling  
View profile  
 More options Sep 5 2012, 11:45 am
From: Rouven Weßling <m...@rouvenwessling.de>
Date: Wed, 5 Sep 2012 17:44:28 +0200
Local: Wed, Sep 5 2012 11:44 am
Subject: Re: [jcms] Blocking access to some folders in Joomla 3.0

On 05.09.2012, at 16:46, Ove <tobby.eriks...@gmail.com> wrote:

> I agree to restrict the access to folders and to move extension assets to a common folder. However I have problem with the naming as media. I really miss a Media-folder to store extension restricted Media e.g uploaded       images/video/pdf .... Why not a new folder? Some extensions store Media in the media folder. I believe assets and media should be kept apart.

A folder for that use would be great but I wouldn't change the meaning of the existing media folder - too much depends on it.

On 05.09.2012, at 08:57, brian teeman <jooml...@googlemail.com> wrote:

> What about those people operating on IIS or other web servers that do not support htaccess

I don't know enough about the IIS configuration file to do it myself - actually I don't even know if that level of control exists. Since this doesn't limit the functionality of Joomla - just one precaution missing - I don't think it's a deal breaker.

As for other web servers, AFAIK we only support IIS and Apache. With other server SEF URLs probably don't even work.

Best regards
Rouven

  smime.p7s
6K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ove  
View profile  
 More options Sep 5 2012, 1:49 pm
From: Ove <tobby.eriks...@gmail.com>
Date: Wed, 05 Sep 2012 19:48:54 +0200
Local: Wed, Sep 5 2012 1:48 pm
Subject: Re: [jcms] Blocking access to some folders in Joomla 3.0
I thought you would say that. Yes it's probably to risky. But I really
need a Media folder to hook component media to. As is I by default store
them in the component folder even if it's not any preferred solution.
The user can change it in the configuration to images/xyz if he e.g. has
a single admin/editor or to any other folder. Also beeing a problem.
Using the current media folder for it, is no nice alternative since it's
about uploads also from frontend users. I could create an own folder in
the root. Good solution? No, don't think so

I suggest that Joomla with the installation adds a new mediafolder. A
future media manager could also support this path. As I'm not native
english I don't have any nice name suggestion .

Without this folder I probably get a problem with restricted access to
the components folder or a mess in other paths.

Regards
Ove

Rouven We ling skrev 05.09.2012 17:44:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rouven Weßling  
View profile  
 More options Sep 5 2012, 2:03 pm
From: Rouven Weßling <m...@rouvenwessling.de>
Date: Wed, 5 Sep 2012 20:03:22 +0200
Local: Wed, Sep 5 2012 2:03 pm
Subject: Re: [jcms] Blocking access to some folders in Joomla 3.0

On 05.09.2012, at 19:48, Ove <tobby.eriks...@gmail.com> wrote:

> Without this folder I probably get a problem with restricted access to the components folder or a mess in other paths.

Just to clarify, the proposed patch aims for minimal problems and doesn't include the components, modules or plugins folder. Sometime in the future it should be expanded, but I think we need to give devs enough time to get adjust for this. (Yes in theory they had since 1.6 but how many are even aware of this?)

Best regards
Rouven

  smime.p7s
6K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Roberto Segura  
View profile  
 More options Sep 5 2012, 6:07 pm
From: Roberto Segura <robe...@phproberto.com>
Date: Wed, 5 Sep 2012 15:07:30 -0700 (PDT)
Local: Wed, Sep 5 2012 6:07 pm
Subject: Re: Blocking access to some folders in Joomla 3.0

I think that the patch is ok.

Current media folder or working extensions aren't broken.

This will not free us from index.html files as this doesn't work on IIS.

El martes, 4 de septiembre de 2012 13:58:46 UTC+2, Rouven Weßling escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ofer Cohen  
View profile  
 More options Sep 6 2012, 12:17 pm
From: Ofer Cohen <oferc...@gmail.com>
Date: Thu, 6 Sep 2012 19:16:48 +0300
Local: Thurs, Sep 6 2012 12:16 pm
Subject: Re: [jcms] Re: Blocking access to some folders in Joomla 3.0

> What about those people operating on IIS or other web servers that do not

support htaccess
As one that used nginx I've written htaccess alternative for nginx:
http://docs.joomla.org./nginx
We can just update I can assume that others will update other servers also.

On Wed, Sep 5, 2012 at 9:57 AM, brian teeman <jooml...@googlemail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »