PHP Encryption
This page explains the PHP Encryption feature in GoAdmio. It uses the built-in GoAdmio Encoder to encode PHP source code, making it difficult to read or modify without authorization.
Location: Admin Panel → Security → PHP Encryption
Overview
GoAdmio includes a proprietary GoAdmio Encoder for protecting PHP source code. It is used to encode PHP files so their logic is not easily readable or modifiable by anyone with file access.
This feature serves two main purposes:
- Protecting commercial PHP applications — if you distribute or host paid PHP scripts, encoding prevents customers from reading or redistributing the source.
- Protecting GoAdmio's own security-critical utilities — some privileged command-line tools are distributed as encoded binaries rather than plain-text source, to prevent attackers from crafting exploits that bypass authentication or manipulate system-level commands.
How It Works
The GoAdmio Encoder transforms readable PHP code into an encoded form that PHP can still execute but humans cannot easily read. The encoded file runs normally on a GoAdmio server, but its source code is obfuscated.
> Note: The encoder is designed to be secure, and the encoded output is not trivially reversible. However, no obfuscation is unbreakable — determine how sensitive your code is before relying on this as a sole protection.
Syntax
The encoder is available as a CLI command:
```bash
/go/encoder <target>