Security Policy
Last updated: December 2026
Security Policy
How we build, operate, and maintain a secure platform
1. Authentication & Session Management
- Passwords are hashed using bcrypt with a cost factor designed to resist brute-force attacks. Plain-text passwords are never stored or logged.
- Sessions are managed with short-lived JWT access tokens (15-minute expiry) paired with rotating refresh tokens (7-day expiry). The refresh token is kept in an HttpOnly cookie that page scripts cannot read, and it is replaced with a new one each time it is used. A signed-out token is refused.
- All tokens are signed with a secret key that is never exposed to the client or included in any API response.
- New accounts require email verification before access is granted. Password resets are handled via time-limited, single-use codes sent to the verified email address.
2. OAuth Token Security
- Credentials for your connected accounts are encrypted at rest.
- Tokens are decrypted only in memory, only at the moment they are needed to make an API call, and are never returned to the client.
- If you disconnect a social account, its stored token is immediately deleted from our database.
3. Data in Transit
- All communication between your browser and our servers is encrypted using HTTPS/TLS. Plain HTTP connections are not accepted.
- All outbound API calls from MySocials to third-party platforms are also made over HTTPS.
4. Data at Rest
- Our database (PostgreSQL) is not exposed to the public internet. It is only accessible from backend services within our private network.
- Sensitive fields (OAuth tokens) are encrypted at the application layer in addition to any infrastructure-level encryption.
- Media files you upload are stored on our servers and served over HTTPS by URL, so that the social platforms you publish to can fetch them. They are not behind your login, so treat anything you upload as content intended for publishing.
5. Infrastructure Security
- All services run in isolated Docker containers. The database and Redis instances are not exposed on public ports.
- Redis (used for task queuing and caching) is password-protected and accessible only within the internal service network.
- Secret keys, API credentials, and encryption keys are managed via environment variables and are never committed to source control.
6. Access Control
- All API endpoints that operate on user data require a valid, unexpired JWT. Requests without a valid token receive a 401 response.
- Every request is limited to the workspaces you belong to: you see only the posts, accounts and analytics of your own workspace and of workspaces you were invited to.
- The admin panel is a separate service protected by its own credentials and JWT secret, entirely independent from the user-facing API.
7. Vulnerability Disclosure
We take security reports seriously. If you discover a vulnerability in MySocials, please report it responsibly before public disclosure to give us time to address it.
Contact us at [email protected] with a description of the issue, steps to reproduce, and potential impact. We will acknowledge your report within 48 hours.
8. Limitations
No system is completely secure. While we implement industry-standard controls, we cannot guarantee that our platform will be immune to all attacks. In the event of a confirmed breach affecting your personal data, we will notify affected users within a reasonable timeframe as required by applicable law.
© 2026 MySocials. All rights reserved.