# Security

## Set if an app is private or public

An app can be set as **Private**. Once an app is set as private, it can only be installed by authorized users and users who have access to the project. All the configuration can be done on the App Settings/ App Overview page. The configuration can be set by an Owner of an Organization or a project admin.

1. **Public**: Per default an app is public. **No** authentication or login is needed to install the app if a user has access to the public installation link or the QR-Code of the app.
2. **Private**: Authentication or login is needed to install the application with the public installation link or the QR-Code.&#x20;

{% hint style="info" %}
1\) If an app is set as private and an unathorised user which has no access to the app project (project permissions) opens the app installation link or scans the QR-Code an error message will appear.

2\) If an app is set as private and an authorised user which has project access but is not logged in opens the app installation link, he will be redirected to the login-page. After the successfull login he will be able to install the app with his mobile-phone.

3\) If an app is set as private and an authorised user which is already logged-in opens the app installation link he will be redirected to the installation page of the app.
{% endhint %}

## Distribution

If an app is set as private, it cannot be distributed via the distribution. Apps that have already been distributed and uploaded and the corresponding installation links show an error message after being called up by a user.


---

# 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.getupdraft.com/your-projects/app-overview/security.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.
