> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/ipxe-ws/4.0/planning/permissions.md).

# Permissions

The iPXE Anywhere Web Service installer does not connect to SQL Server. The SQL database is created by the **2Pint Software iPXE Anywhere Web Service** service the first time it starts, using the [database settings](/ipxe-ws/4.0/configuration/configuring-the-ipxe-web-service.md#database-settings) in the configuration editor. When the service starts, it checks for the iPXE Anywhere database, creates it if it does not exist, and updates it to the current version if needed.

## Installation account permissions

* Local administrator rights on the server that will host the iPXE Anywhere Web Service. These rights are also needed to run the **Configure iPXE WS** configuration editor.

## Service account permissions

The service runs as the Local System account (`NT AUTHORITY\SYSTEM`). With the default **ServerInstanceAndDB** database setting, it connects to SQL Server with Windows authentication, so:

* If SQL Server is installed on the same server as the iPXE Anywhere Web Service, grant `NT AUTHORITY\SYSTEM` the **dbcreator** role on the SQL Server instance.
* If SQL Server is installed on a remote server, grant the domain computer account of the web service server (`DOMAIN\ComputerName$`) the **dbcreator** role on the SQL Server instance.

If you create the database in advance instead, or keep using an existing iPXE Anywhere 3.x database (see [Upgrading to iPXE Anywhere Web Service 4.0](/ipxe-ws/4.0/whats-new-and-upgrades/upgrading-to-ipxe-ws-4.0.md)), grant the account **db\_owner** permissions on that database, because the service updates the database to the current version when it starts. If you use the **Advanced** database setting with your own connection string, the account in the connection string needs the same permissions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.2pintsoftware.com/ipxe-ws/4.0/planning/permissions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
