SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Limiting access to images in the Image Manager

5 years 7 months ago #123448 by savethefrogs
I just added a Create Article menu link to the right sidebar of www.savethefrogs2.com
It is visible to Special users once they log in. I tested it by creating an article. I added an image and had access to all the site's images and media folders. It seems like it is probably safest if I only let users access a folder of their own name. Is that too restrictive or is that a good safety idea? And how would I do that (limit the user's media folder access to the folder that bears their name)?
Thanks!

Please Log in to join the conversation.

5 years 7 months ago #123462 by Nick
Hi Kerry,

It seems like it is probably safest if I only let users access a folder of their own name.

That depends on who you're going to give Special access to. But, yes, if you don't want certain users to have access to all the images, that would be best.

As to how to accomplish that, please give www.ostraining.com/support-forum/joomla-...la-folder-permssion/ a read, then post any follow-up questions that you have in here.

Thanks Kerry!

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123499 by savethefrogs
Replied by savethefrogs on topic Limiting access to images in the Image Manager
Hi Nick,
I read the page you linked to. It was very detailed but looked a bit more complex than I wanted to deal with. I did a Google search and ended up at the extension ACL Manager site. i emailed them. They referred me to this JCE page:
www.joomlacontenteditor.net/support/tuto...-file-directory-path
Which seems to have a solution I will test out...

>>>>
Restricting users to a specific folder
Users can have their access restricted to a specific folder, allowing them to access, upload and edit (rename, delete, etc) files and folders only in this folder and folders within it.

This is done by including the variables $username or $usergroup in the File Directory Path (for all relevant add-ons or an individual add-on). For example, the File Directory Path images/$username would restrict the user to the folder images/joeblogs (where the user's username is joeblogs). Similarly, a path of images/$usergroup/$username would restrict the user to images/author/joeblogs (where the user is part of the Author user group)

The path can contain any variation of available variables (see above), eg: images/$usergroup/$username/$year, but must always begin with an existing, static path.
<<<<<<<

Kerry

Please Log in to join the conversation.

5 years 7 months ago #123508 by Valentin
Replied by Valentin on topic Limiting access to images in the Image Manager
Hi Kerry,
That documentation will help you to restrict each user to a unique folder path.

Let us know if we can be of any help

Kind regards,
valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!