Skip to main content

Manage bulk access

Vasyl MartyniukAbout 1 min

Managing access to individual files one by one may become tedious when you have many files. In this case, you may consider grouping files into a physical directory or with a custom taxonomy. Then you can define access controls to the group, and all related files will inherit those settings. In both cases, you need the premium Complete Package installed on your website.


We have a fair pricing program if you have limited funds to buy our premium product.

Manage access by a category

The Complete Package add-on adds a new option the Media Categories to the AAM Settings. If it is enabled, you should be able to see the Categories metabox while editing any media item.

WordPress Media Category Widget

This way you can group your media items into categories and manage access to these categories with the Posts & Terms service instead of an individual item.

Media Category Access


AAM recognizes all properly registered taxonomies. You can create your custom taxonomies and register them with the WordPress core attachment post type. Then you may manage access to your media items through these custom taxonomies. For more detail, refer to the How to manage access to custom terms? Q&A.

Manage access by a directory

When you need to manage access to all files within a directory, you can utilize the URL Access service instead. Here you can define a wildcard rule and all URLs that match the pattern will be restricted from direct access.

For example, let's say you need to restrict the direct access to all files that live in the /wp-content/uploads/courses/ directory. In this case, go to the AAM page and navigate to the URI Access tab. Then select the Create New Rule button and enter URI /wp-content/uploads/courses/* as well as select Deny Access (show "Access Denied" redirect) option.

Restrict access by directory

Override bulk restriction

Disregarding if you choose to manage access to your website files with Posts & Terms or URI Access service, in both cases, you can override restriction to any file, sub-category, or sub-directory.