# Nexus local user restriction to other repositories for artifact download

**URL:** <https://community.sonatype.com/t/nexus-local-user-restriction-to-other-repositories-for-artifact-download/3761>\
**Category:** Sonatype Nexus Repository\
**Created:** [March 27, 2020, 1:07pm UTC](https://community.sonatype.com/t/nexus-local-user-restriction-to-other-repositories-for-artifact-download/3761 "2020-03-27T13:07:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![loren.bisoi26](https://avatars.discourse-cdn.com/v4/letter/l/9d8465/32.png) [@loren.bisoi26](https://community.sonatype.com/u/loren.bisoi26)\
**Post date:** [March 27, 2020, 1:07pm UTC](https://community.sonatype.com/t/nexus-local-user-restriction-to-other-repositories-for-artifact-download/3761/1 "2020-03-27T13:07:08Z")

</div>

I have one scenario in Nexus oss where the local users are created to use it scripts to download artifacts from particular repository, Would it be possible to restrict the local user not to access (download) from other repository? We tried to restrict using roles with edit and browse privilege but did not help. what are the proper combination of privileges for this case?

---

<div class="post-metadata">

**Author:** ![jtom](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jtom/32/68_2.png) [@jtom](https://community.sonatype.com/u/jtom)\
**Post date:** [March 30, 2020, 1:24pm UTC](https://community.sonatype.com/t/nexus-local-user-restriction-to-other-repositories-for-artifact-download/3761/2 "2020-03-30T13:24:55Z")

</div>

What do you mean “download”?  
Basically, repository view read privileges give access to command line tools (like npm, mvn, etc) and browse privileges give access to the UI.  
So you can’t have either of those if you totally want to restrict access to components.  
-Joe

---

<div class="post-metadata">

**Author:** ![richm123](https://avatars.discourse-cdn.com/v4/letter/r/e19b73/32.png) [@richm123](https://community.sonatype.com/u/richm123)\
**Post date:** [April 30, 2021, 11:35pm UTC](https://community.sonatype.com/t/nexus-local-user-restriction-to-other-repositories-for-artifact-download/3761/3 "2021-04-30T23:35:12Z")

</div>

@loren.bisoi26 I have similar requirement. Were you able to find a solution ?
