Hi - I just need a clear answer on who can actually view/access items in WebFM.

Can content in WebFM be module be viewed/access by anonymous users?

Thanks in advance.

Comments

geoff_eagles’s picture

Out of the box webfm defines three pemissions -'access webfm', 'view webfm attachments' and 'administer webfm'. If you go into Administer>User Management on your site I see no reason why you couldn't enable access and view permissions for an anonymous user .... Though that will allow users to upload files to and download them from your server - do you REALLY want to do that?

geoff_eagles’s picture

To clarify - webfm won't stop you doing it. BUT I would imagine that your server's permissions would have to be changed - you'll need 766 permissions on the appropriate file directories (are you sure you want that?). What you could do with little effort is define a new permission 'write webfm' or something similar and work through the code restricting what 'access webfm' allows and only allowing uploads and new directories if you have 'write webfm' permissions.

mhkc’s picture

Thanks. But I don't want anonymous users to be able to upload or manage folders -- I only want them to be able to view/download whatever files are up there, in whatever folders have been defined. Only my 'editors' will be able to actually manage the content.

I'd assumed that giving anonymous users permissions to 'access webfm', and 'view webfm attachments' would have allowed them at least 'read' permissions.

geoff_eagles’s picture

Giving anonymous users permissions to 'access webfm', gives more than just 'read' permissions - that's the problem. Though it wouldn't take much extra work to add a new permission type that restricts the user to just viewing and prevents folder and file creation.

mhkc’s picture

Thanks - unfortunately I'm not a programmer so I'll have to find another solution. Too bad, this was ideal in every other way.

robmilne’s picture

Status: Active » Fixed

As of 2.2 anonymous users can access webfm. File creation is limited with the 'webfm upload' access right.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.