[opencms-dev] OpenCms 10.5.2: files get statically exported, even though permissions are set
Alexander Kandzior
alex at opencms.org
Tue Dec 3 16:23:43 CET 2019
Kai,
as long as the „Export“ user has read permissions on a folder contents can get statically exported.
In order to prevent exporting you must remove read permissions for „Guests“.
This has not changed since forever.
However, instead of removing permissions for the „Guest“ user you should remove the permissions for the „Guests“ group to get the desired effect.
The „Export“ user is part of the „Guests“ group.
Kind regards,
Alex.
-------------------
Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
> Am 03.12.2019 um 16:18 schrieb Schliemann, Kai <K.Schliemann at comundus.com>:
>
> Hi Alex,
>
> thanks a lot for your quick answer.
> What I did not mention explicitly is, that there are set other permissions for custom user groups.
> My understanding up to now was, that as soon as there is only just one permission set on a folder, files in this folder will never get exported. This makes sense to me because how will OpenCms check the permission of a file in the filesystem?
> Is it possible, that what I was saying was true for older versions, but isn’t any longer?
> Sorry, for asking the same question again, but I would really like to understand it.
>
> Best regards
> Kai
>
>
> Von: opencms-dev-bounces at opencms.org <mailto:opencms-dev-bounces at opencms.org> <opencms-dev-bounces at opencms.org <mailto:opencms-dev-bounces at opencms.org>> Im Auftrag von Alexander Kandzior
> Gesendet: Dienstag, 3. Dezember 2019 16:09
> An: The OpenCms mailing list <opencms-dev at opencms.org <mailto:opencms-dev at opencms.org>>
> Betreff: Re: [opencms-dev] OpenCms 10.5.2: files get statically exported, even though permissions are set
>
> Kai,
>
> The static export operates with permissions of the „Export“ user, not the „Guest“ user.
>
> Kind regards,
> Alex.
>
> -------------------
> Alexander Kandzior
>
> Alkacon Software - The OpenCms Experts
> http://www.alkacon.com <http://www.alkacon.com/> - http://www.opencms.org <http://www.opencms.org/>
>
>
>
> Am 03.12.2019 um 14:31 schrieb Schliemann, Kai <K.Schliemann at comundus.com <mailto:K.Schliemann at comundus.com>>:
>
> Hi list,
>
> I have a download folder in the vfs with lots of binary files like PDF and Office files. On that download folder the property „export“ is set to „true“ AND some permissions are set. One permission is „no read and no view permission for guest users“.
> If I have a look in to the export folder, I can see the files from the download folder which has the above mentioned permission settings.
> I always thought, that such folders never get statically exported.
>
> Am I wrong?
>
> Thanks fo your help in advance.
>
> Best regards
> Kai
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20191203/358820dd/attachment.htm>
More information about the opencms-dev
mailing list