# Artifact Server Ordering

When using the [artifact server deployment](/fundamentals/deployments/artifact-server.md), special care must be given to the ordering of the servers in the package manager's configuration.

Keep in mind the following considerations:

1. Seal Security's artifact server automatically redirects downloads of regular packages to the global servers (for example for npm packages it redirects to [https://registry.npmjs.org ](https://registry.npmjs.org)).
2. Seal Security's artifact server will not redirect downloads to any private artifact server.
3. To provide full visibility of downloaded packages, all download requests must go through Seal Security's artifact server.

### Recommended ordering

The following ordering of artifact servers is the recommended configuration:

1. Private server
2. Seal Security's server

With this configuration, the Seal platform has maximum visibility of downloaded packages. Note that the global server need not appear in the list, because downloads of regular packages are redirected there by Seal.

### Privacy-focused ordering

The following ordering of artifact servers can provide additional privacy for organizations that do not want to share with Seal Security the list of packages they depend on:

1. Private server
2. Global server
3. Seal Security's server

Note that with this configuration the Seal server is only used when pulling sealed versions, so Seal Security has **no visibility** of the regular packages downloaded by the organization. Used this way Seal must rely on a [connection to the source code](/fundamentals/readme/package-discovery.md) repository to provide vulnerability alerts.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sealsecurity.io/fundamentals/artifact-server/artifact-server-ordering.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
