Title: Role Based Access Manager: Media Protector
Author: muis IT
Published: <strong>24 ביולי 2020</strong>
Last modified: 17 ביוני 2021

---

חיפוש תוספים

תוסף זה **לא נבדק ב-3 הגרסאות הראשיות האחרונות של וורדפרס**. ייתכן והתוסף כבר לא
מתוחזק או נתמך על ידי יוצריו, וייתכן שיהיו לו בעיות תאימות בגרסות וורדפרס עדכניות
יותר.

![](https://s.w.org/plugins/geopattern-icon/rbam-media.svg)

# Role Based Access Manager: Media Protector

 מאת [muis IT](https://profiles.wordpress.org/muisit/)

[הורדה](https://downloads.wordpress.org/plugin/rbam-media.zip)

 * [פרטים](https://he.wordpress.org/plugins/rbam-media/#description)
 * [סקירות](https://he.wordpress.org/plugins/rbam-media/#reviews)
 * [פיתוח](https://he.wordpress.org/plugins/rbam-media/#developers)

 [תמיכה](https://wordpress.org/support/plugin/rbam-media/)

## תיאור

Role Base Access Manager: Media Protector

WordPress plugin to assign access roles to individual files.

This simple plugin allows administrators (anyone with access to the edit-post form
for attachments/media) to set access based on roles.
 The plugin provides a 'Security'
meta-box on the right hand side where you can type in role names and select them(
much like you add tags to regular posts). Whenever a visitor wants to download or
view a file or image from the uploads directory, his/her current roles are checked
against the configured roles.

This plugin tries to look for originals of resized and rescaled images by making
a rough search in the meta data table. This allows you to
 mark the original image
of a blog entry for specific access and have all thumbnails and other derived images
be protected as well. Please note that this plugin does not clean up after you. 
If for some reason left-over thumbnails remain in the upload directory, the plugin
cannot find them in the database and will allow access.

### Roles

This plugin works based on role access management. That means it will try to match
the specified roles on the media with the available roles of a user. However, the
capabilities system of `WordPress` is cumulative: an `Administrator` has more privileges
as an `Editor`, but at least the
 same. Usually, people only have one Role in this
system. As this plugin does not check on capabilities, but on roles, you will need
to specify _all_ the roles that should have access to this file (including the '
administrator' role).

Alternatively, you can add secondary roles to a User, allowing `Administrator` to
also be a `Subscriber`. In this way, you only need to add the
 Subscriber role to
media files to allow it to be downloaded by all registered members. However, adding
secondary roles is a manual task. If you have many users and few files, it can be
easier to specifiy all roles with the media. If you have many files and few users,
you had better use secondary role assignments. If you have many files and many users,
you should look into a way to automatically assign roles to people using some sort
of on-boarding method. If you need a plugin for that, send me a message.

### Redirections

The plugin works by inserting a redirection script in your `.htaccess` file on activation.
This does not work properly for `NGinX`, in which
 case you have to insert a redirection
manually. Freely copied from the [https://wordpress.org/plugins/aam-protected-media-
files/](AAM Protected Media Files) description:

    ```
    `
    ```

location ~* ^/wp-content/uploads/ {
 rewrite (?i)^(/wp-content/uploads/.*)$ /index.
php?rbam-media=1 last; return 307; } `

The plugin will try to read the accessed file from the original request and apply
role based access management on it.

## צילומי מסך

[⌊The plugin adds an additional meta-box to the edit form of Media files⌉⌊The plugin
adds an additional meta-box to the edit form of Media files⌉[

The plugin adds an additional meta-box to the edit form of Media files

## שאלות נפוצות

### Is there a limit on the number of roles I can assign

There is no practical limit imposed by this plugin.

### Do aadministrators have access to all files

No, the plugin actively checks on the roles a user has. So if you make a file available
to 'Subscriber', but not to 'Administrator', the latter roles cannot access it.

## סקירות

There are no reviews for this plugin.

## מפתחים

"Role Based Access Manager: Media Protector" הוא תוסף קוד פתוח. האנשים הבאים תרמו
ליצירת התוסף הזה.

תורמים

 *   [ muis IT ](https://profiles.wordpress.org/muisit/)

[ניתן לתרגם את "Role Based Access Manager: Media Protector" לשפה שלך.](https://translate.wordpress.org/projects/wp-plugins/rbam-media)

### מעוניינים בפיתוח?

[עיינו בקוד](https://plugins.trac.wordpress.org/browser/rbam-media/), ראו את הקוד
ב-[SVN repository](https://plugins.svn.wordpress.org/rbam-media/), או הירשמו ל[לוג פיתוח](https://plugins.trac.wordpress.org/log/rbam-media/)
באמצעות [RSS](https://plugins.trac.wordpress.org/log/rbam-media/?limit=100&mode=stop_on_copy&format=rss).

## שינויים

#### 1.1.3

Update the 'Tested-to' value. Added support for LiteSpeed servers, which read the.
htaccess file as well.

#### 1.1.0

 * Renamed 'Security' to 'Authorization', which covers the meta-box task better

#### 1.0

 * Initial version

## מטא

 *  גרסה: **1.1.3**
 *  Last updated **לפני 5 שנים**
 *  Active installations **10+**
 *  WordPress version ** 5.4 ומעלה **
 *  Tested up to **5.7.15**
 *  PHP version ** 7.2 ומעלה **
 *  שפה
 * [English (US)](https://wordpress.org/plugins/rbam-media/)
 * Tags
 * [attachments](https://he.wordpress.org/plugins/tags/attachments/)[media](https://he.wordpress.org/plugins/tags/media/)
   [roles](https://he.wordpress.org/plugins/tags/roles/)[security](https://he.wordpress.org/plugins/tags/security/)
 *  [תצוגה מתקדמת](https://he.wordpress.org/plugins/rbam-media/advanced/)

## דרוגים

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/rbam-media/reviews/#new-post)

[הצג הכל](https://wordpress.org/support/plugin/rbam-media/reviews/)

## תורמים

 *   [ muis IT ](https://profiles.wordpress.org/muisit/)

## תמיכה

יש לך משהו לומר? זקוק לעזרה?

 [פורום תמיכה](https://wordpress.org/support/plugin/rbam-media/)