Closed (fixed)
Project:
Web File Manager
Version:
5.x-2.1
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2007 at 13:54 UTC
Updated:
15 Jan 2008 at 19:21 UTC
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
Comment #1
geoff_eagles commentedOut 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?
Comment #2
geoff_eagles commentedTo 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.
Comment #3
mhkc commentedThanks. 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.
Comment #4
geoff_eagles commentedGiving 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.
Comment #5
mhkc commentedThanks - unfortunately I'm not a programmer so I'll have to find another solution. Too bad, this was ideal in every other way.
Comment #6
robmilne commentedAs of 2.2 anonymous users can access webfm. File creation is limited with the 'webfm upload' access right.
Comment #7
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.