I have read this documentation : https://jfrog.com/help/r/how-to-grant-an-anonymous-user-access-to-specific-repositories/artifactory-how-to-grant-an-anonymous-user-access-to-specific-repositories
And with the screenshot you can see that you can give permission to anonymous users only at the repositories you have selected before.