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

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

AuthorFullName__c
Batel Tova
articleNumber
000001491
ft:sourceType
Salesforce
FirstPublishedDate
2016-10-06T13:35:49Z
lastModifiedDate
2024-03-10T07:49:10Z
VersionNumber
10

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:

User-added image

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):

User-added image

  • 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):

User-added image

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):

User-added image

  • 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):

User-added image

Keywords: anonymous access, permission targets