ARTIFACTORY: How to Grant an Anonymous User Access to Specific Repositories

Batel Tova
2021-03-16 08:57

When Allow Anonymous Access is turned off it disables all access to Artifactory unless valid user-credentials are provided. By default, anonymous user permissions look like this:

To allow anonymous access to specific resources/repositories, use Artifactory's Permission Targets to define unique permissions. 

Further, for Artifactory version 7.x, to fine tune and/or allow limited anonymous access follow these steps:

  • Through the UI, navigate to Administration > Security settings, and tick the box to Allow Anonymous Access (see screenshot below):

  • Navigate Identify and Access > Permissions.
  • Edit the Anything and Any Remote permission targets, removing all permissions for your anonymous user.
  • Create new Permission Targets that set forth only those repositories to which you want to grant your anonymous user access, establishing desired permissions for this user on each new target (as in the following example):

For Artifactory version 6.x and below, follow these steps:

  • Through the UI, navigate to Admin > Security > Security Configuration, and tick the box to Allow Anonymous Access (see screenshot below):

  • Navigate Identify and Admin > Security > Permissions.
  • Edit the Anything and Any Remote permission targets, removing all permissions for your anonymous user.
  • Create new Permission Targets that set forth only those repositories to which you want to grant your anonymous user access, establishing desired permissions for this user on each new target (as in the following example):

 

Published: June 23, 2020

Last updated: Mar. 14, 2021

 

Keywords: anonymous access, permission targets