[opencms-dev] exporting pics folder and user rights

Thomas März thomasmaerz at gmx.de
Thu Jul 17 12:29:01 CEST 2003


Hello, 
 
> As I don't want the users the see the content of the pics-folder of the 
> counterpart, I defined the rights of both folders as follows: rwv------- 
> (only the owner has rights to read, write and see). The problem is, that if 
> the webuser has no right to read ( rwv---r--- ), the folder is not exported 
> statically when published, but if he is allowed, anybody can look into any 
> of the the pics folders.
http://www.opencms.org/bugzilla/show_bug.cgi?id=13 
 
You can use the patch I provided, you then can see also the 
sub-subfolders in the PictureBrowser; although the search doesn't look 
into the sub-subfolders. I am using a stolen method to check the access
rights: checkAccess().
 
Best Regards, 
Thomas Maerz
 




More information about the opencms-dev mailing list