Security & Data Handling
Learn how Void V4 handles security, sessions, and privacy, plus best practices for safe self-hosted deployment.
Account Security
Strong passwords, access control, and role-based permissions
Session Protection
Secure token storage and environment variable management
Infrastructure
HTTPS, firewalls, and reverse proxy configuration
Privacy First
Minimal data storage with clear retention policies
Security principles
Security is not a single feature—it is a set of habits and system decisions. Void V4 is designed to help you operate automation in a safer way, but you still need to apply good security practices on your hosting environment. This page explains what to protect, why it matters, and which steps reduce risk the most.
Treat your automation setup like a small production service. Even if your bot is for a personal community, it can still be targeted by attackers looking for tokens, session files, or admin access.
Account security
Start with the basics: strong passwords and careful access control. If your platform supports password hashing and salting (as it should), you still need to avoid weak passwords and credential reuse.
If you have a team, do not share one account. Use separate accounts and assign roles. When someone leaves the team, remove access immediately.
- Use long passwords or passphrases (12–16+ characters).
- Avoid using public Wi‑Fi for admin actions unless you trust a VPN.
Session and token protection
WhatsApp sessions are powerful. If an attacker obtains session data, they may control the bot or impersonate the account. Never upload sessions to public places, never send them in group chats, and never commit them to GitHub.
Store session files and API keys in environment variables or protected server storage. Keep backups encrypted and accessible only to trusted admins.
- Rotate sessions if you suspect compromise.
- Keep environment variables out of client-side JavaScript.
Data handling and privacy
A common AdSense and trust requirement is that your site clearly explains what data you collect and why. At minimum, you should document what the website stores for accounts and billing, and what the bot stores (if anything) for functionality.
Best practice is to avoid storing private message content unless it is necessary. If you must store anything, keep it minimal, protect it, and define retention limits (for example, delete logs after a certain number of days).
Infrastructure and hosting hardening
If you self-host Void V4, harden the server. Keep the operating system updated, restrict ports, and protect SSH access with keys. Use a firewall and only expose the ports you truly need (typically 80/443 and your app port behind a proxy).
If you host on platforms like Railway, Render, Koyeb, or similar, still protect secrets and ensure the platform's environment variable system is used correctly.
- Use a reverse proxy (Nginx/Caddy) for HTTPS termination.
- Disable directory listing and protect admin routes.
Operational security for admins
Admins should avoid risky habits like running the server as root without need, copying logs into public chats, or installing random dependencies without review. Most compromises happen through leaked credentials, not advanced hacking.
Maintain a simple incident response plan: how to rotate keys, how to disable features, and how to notify users if something significant changes.
- Use least-privilege: give each person only what they need.
- Enable logging for security events (login, password reset, admin actions).
Checklist: before you request AdSense review
AdSense reviewers want to see a site that looks trustworthy and safe. Beyond content, your policies must be clear and your website should not show ads on thin utility pages. If you have a dashboard, keep it separate from public docs and do not place ad units on login/admin screens.
A good structure is: public homepage + docs/blog pages (with real content), plus private dashboard pages that are marked noindex so they don't become your main crawl targets.
- Keep ads only on content pages.
- Add robots.txt and sitemap.xml.
- Noindex the app screens (login/dashboard/admin).
Frequently asked questions
Below are quick answers to common security questions that come up during setup and maintenance. If you are unsure about a configuration choice, choose the safer default: store less data, enable fewer features, and restrict access.
If you are running Void V4 for paying customers, consider adding additional controls like multi-factor authentication (if supported), periodic security reviews, and a documented change log for major updates.
- What should I do if my WhatsApp number gets logged out? Reconnect with a fresh session and review access logs.
- What if I leaked an API key? Rotate it immediately and audit recent usage.
- How often should I update dependencies? Regularly—at least monthly, and immediately for security patches.