01 Security notes

- plugin.js runs unsandboxed in the device's web UI. It can call every endpoint above, including deleting files. Users should install only plugins they trust. As an author, don't give them a reason not to trust yours.
- Three files can never be read, written, moved or deleted by any web request: /.crosspoint/wifi.json, /.crosspoint/opds.json, /.crosspoint/koreader.json. Every spelling trick (//, .., 8.3 short names, trailing dots, case) is canonicalised and blocked.
- Tokens and passwords you save to config.json/token.json are plain text on the SD card. Tell your users.
- The web UI has no login. Anyone on the same network can open it while File Transfer is running.
Reader file (.txt)