How to self-host OpenACP securely? #114
-
|
I want to self-host OpenACP on my server. What security settings should I configure to restrict access and protect my codebase? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
OpenACP runs entirely on your machine — your data never leaves your server. Security settings in ~/.openacp/config.json: allowedUserIds: Only allow specific user IDs to use the bot. Empty array = allow everyone. REST API security: API server runs at 127.0.0.1:21420 (localhost only). Authentication via Bearer token stored at ~/.openacp/api-secret. Run in daemon mode for background service: |
Beta Was this translation helpful? Give feedback.
OpenACP runs entirely on your machine — your data never leaves your server.
Security settings in ~/.openacp/config.json:
allowedUserIds: Only allow specific user IDs to use the bot. Empty array = allow everyone.
maxConcurrentSessions: Limit concurrent running sessions (default: 20). New sessions are rejected when limit is reached.
sessionTimeoutMinutes: Automatically end inactive sessions after the specified time (default: 60 minutes).
Permission Gate: Every agent action (read file, write file, run command) requires your approval via buttons on Telegr…