Forums / Setup & design / Rights to download files in ez

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Rights to download files in ez

Author Message

Siw Helen Thorslund

Wednesday 18 May 2005 6:01:47 am

I have a site where I want to open for all users to download zip-files without login.

The code I have used is this:

{"/content/download/270/1191/file/filename.zip"|ezurl}

How do I setup the rights for the Anonymous rolle to manage this?

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Łukasz Serwatka

Thursday 19 May 2005 12:25:24 am

Hi Siw Helen,

File kernel/content/download.php checks "read" access to file, so you will have to get 'content/read' access to the objects (of class File) for all users.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog