mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-17 07:45:52 +01:00
7b2125d157
* New translations auth.md (Italian) docs(website): new translations * New translations auth.md (Italian) docs(website): new translations * New translations auth.md (Italian) docs(website): new translations * New translations build.md (Italian) docs(website): new translations * New translations auth.md (Italian) docs(website): new translations * New translations build.md (Italian) docs(website): new translations * New translations build.md (Italian) docs(website): new translations * New translations chef.md (Italian) docs(website): new translations * New translations ci.md (Italian) docs(website): new translations * New translations chef.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Spanish) docs(website): new translations * New translations ci.md (Italian) docs(website): new translations * New translations ci.md (Italian) docs(website): new translations * New translations cli.md (Italian) docs(website): new translations * New translations ci.md (Italian) docs(website): new translations * New translations build.md (Italian) docs(website): new translations * New translations cli.md (Italian) docs(website): new translations * New translations cli.md (Italian) docs(website): new translations * New translations cli.md (Italian) docs(website): new translations * New translations cli.md (Italian) docs(website): new translations * New translations cli.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Korean) docs(website): new translations * New translations config.md (Vietnamese) docs(website): new translations * New translations config.md (Hindi) docs(website): new translations * New translations config.md (Portuguese) docs(website): new translations * New translations config.md (Russian) docs(website): new translations * New translations config.md (Spanish) docs(website): new translations * New translations config.md (Arabic) docs(website): new translations * New translations config.md (Chinese Simplified) docs(website): new translations * New translations config.md (Portuguese, Brazilian) docs(website): new translations * New translations config.md (Japanese) docs(website): new translations * New translations config.md (Polish) docs(website): new translations * New translations config.md (French) docs(website): new translations * New translations config.md (German) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations ci.md (Italian) docs(website): new translations * New translations chef.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations iis-server.md (Vietnamese) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations docker.md (Portuguese, Brazilian) docs(website): new translations * New translations config.md (Portuguese, Brazilian) docs(website): new translations * New translations docker.md (Portuguese, Brazilian) docs(website): new translations * New translations config.md (Portuguese, Brazilian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations en.json (Italian) docs(website): new translations * New translations web.md (Italian) docs(website): new translations * New translations web.md (Italian) docs(website): new translations * New translations web.md (Italian) docs(website): new translations * New translations web.md (Italian) docs(website): new translations * New translations config.md (Spanish) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations web.md (Italian) docs(website): new translations * New translations what-is-verdaccio.md (Italian) docs(website): new translations * New translations use-cases.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations ssl.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations ssl.md (Italian) docs(website): new translations * New translations ssl.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations ssl.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations auth.md (Italian) docs(website): new translations * New translations cli.md (Italian) docs(website): new translations * New translations ci.md (Italian) docs(website): new translations * New translations config.md (Italian) docs(website): new translations * New translations config.md (Chinese Simplified) docs(website): new translations * New translations web.md (Chinese Simplified) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations config.md (Chinese Simplified) docs(website): new translations * New translations contributing.md (Chinese Simplified) docs(website): new translations * New translations web.md (Chinese Simplified) docs(website): new translations * New translations contributing.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations contributing.md (Chinese Simplified) docs(website): new translations * New translations contributing.md (Chinese Simplified) docs(website): new translations * New translations install.md (Chinese Simplified) docs(website): new translations * New translations windows.md (Italian) docs(website): new translations * New translations install.md (Chinese Simplified) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Italian) docs(website): new translations * New translations repositories.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Italian) docs(website): new translations * New translations puppet.md (Italian) docs(website): new translations * New translations puppet.md (Italian) docs(website): new translations * New translations puppet.md (Italian) docs(website): new translations * New translations puppet.md (Italian) docs(website): new translations * New translations puppet.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Italian) docs(website): new translations * New translations puppet.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Italian) docs(website): new translations * New translations logo.md (Chinese Simplified) docs(website): new translations * New translations en.json (Chinese Simplified) docs(website): new translations * New translations logo.md (Chinese Simplified) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations uplinks.md (Italian) docs(website): new translations * New translations ssl.md (Italian) docs(website): new translations * New translations ssl.md (Italian) docs(website): new translations * New translations repositories.md (Italian) docs(website): new translations * New translations server.md (Italian) docs(website): new translations * New translations puppet.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Italian) docs(website): new translations * New translations plugins.md (Italian) docs(website): new translations * New translations test.md (Italian) docs(website): new translations * New translations en.json (Arabic) docs(website): new translations * New translations ci.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Italian) docs(website): new translations * New translations protect-your-dependencies.md (Italian) docs(website): new translations * New translations reverse-proxy.md (Korean) docs(website): new translations * New translations protect-your-dependencies.md (Korean) docs(website): new translations * New translations reverse-proxy.md (Polish) docs(website): new translations * New translations protect-your-dependencies.md (Polish) docs(website): new translations * New translations reverse-proxy.md (Vietnamese) docs(website): new translations * New translations protect-your-dependencies.md (Vietnamese) docs(website): new translations * New translations reverse-proxy.md (Hindi) docs(website): new translations * New translations protect-your-dependencies.md (Hindi) docs(website): new translations * New translations reverse-proxy.md (Portuguese) docs(website): new translations * New translations protect-your-dependencies.md (Portuguese) docs(website): new translations * New translations reverse-proxy.md (Russian) docs(website): new translations * New translations protect-your-dependencies.md (Russian) docs(website): new translations * New translations reverse-proxy.md (Spanish) docs(website): new translations * New translations protect-your-dependencies.md (Spanish) docs(website): new translations * New translations reverse-proxy.md (Arabic) docs(website): new translations * New translations protect-your-dependencies.md (Arabic) docs(website): new translations * New translations reverse-proxy.md (Chinese Simplified) docs(website): new translations * New translations protect-your-dependencies.md (Chinese Simplified) docs(website): new translations * New translations reverse-proxy.md (Portuguese, Brazilian) docs(website): new translations * New translations protect-your-dependencies.md (Portuguese, Brazilian) docs(website): new translations * New translations protect-your-dependencies.md (Japanese) docs(website): new translations * New translations reverse-proxy.md (Japanese) docs(website): new translations * New translations reverse-proxy.md (French) docs(website): new translations * New translations protect-your-dependencies.md (French) docs(website): new translations * New translations protect-your-dependencies.md (German) docs(website): new translations * New translations reverse-proxy.md (German) docs(website): new translations
45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
---
|
|
id: protect-your-dependencies
|
|
title: "Protecting packages"
|
|
---
|
|
`verdaccio` allows you protect publish, to achieve that you will need to set up correctly your [packages acces](packages).
|
|
|
|
### Package configuration
|
|
|
|
Let's see for instance the following set up. You have a set of dependencies what are prefixed with `my-company-*` and you need to protect them from anonymous or another logged user without right credentials.
|
|
|
|
```yaml
|
|
'my-company-*':
|
|
access: admin teamA teamB teamC
|
|
publish: admin teamA
|
|
proxy: npmjs
|
|
```
|
|
|
|
With this configuration, basically we allow to groups **admin** and **teamA** to *publish* and **teamA** **teamB** **teamC** *access* to such dependencies.
|
|
|
|
### Use case: teamD try to access the dependency
|
|
|
|
So, if I am logged as **teamD**. I shouldn't be able to access all dependencies that match with `my-company-*` pattern.
|
|
|
|
```bash
|
|
➜ npm whoami
|
|
teamD
|
|
```
|
|
|
|
I won't have access to such dependencies and also won't be visible via web for user **teamD**. If I try to access the following will happen.
|
|
|
|
```bash
|
|
➜ npm install my-company-core
|
|
npm ERR! code E403
|
|
npm ERR! 403 Forbidden: webpack-1@latest
|
|
```
|
|
|
|
or with `yarn`
|
|
|
|
```bash
|
|
➜ yarn add my-company-core
|
|
yarn add v0.24.6
|
|
info No lockfile found.
|
|
[1/4]
|
|
error An unexpected error occurred: "http://localhost:5555/webpack-1: unregistered users are not allowed to access package my-company-core".
|
|
``` |