# How apps are kept apart

Several apps can share one server, in different languages. Coresmith keeps them apart without containers.

## What each app gets

- **Its own account on the server.** The app's files belong to it, and its processes run as it.
- **Its own writable folder.** An app can write only to its own folder. Everything else on the server is read-only to it, and it gets a private temporary folder.
- **Its own secrets.** The app's environment variables reach its own processes and no one else's. The app can't read the file they're kept in.
- **Its own database users.** Each database has its own user and password.
- **A memory cap.** The app's [size](/docs/reference/sizes) caps the memory each of its processes can use.

## What an app can't reach

- Other apps' files.
- Coresmith's files, secrets and settings, including on the machine Coresmith itself runs on.
- The controls that route web traffic, so an app can't send another app's visitors somewhere else.
- Anything that needs more privileges than the app started with.

Workers and cron jobs live under the same rules as the app.

## What apps still share

Apps on one server share its processor, disk and network. A size caps memory only, so a busy app can still slow its neighbours down. Put apps that must never affect each other on separate servers.
