Secure Your App
Security best practices for apps built with VULK — authentication, data handling, API keys, and deployment.
Secure Your App
VULK generates code with security fundamentals built in, but there are additional steps you should take before going to production.
Authentication Security
For apps using VULK's managed API engine:
- Passwords are hashed on the server with PBKDF2-HMAC-SHA-256 and a unique random salt
- JWT tokens have expiration times
Your VULK account has a separate authentication system: account registration and password recovery use bcrypt. An external authentication provider or a custom backend follows its own implementation. Review the authentication and access rules of the app you are publishing.
What You Should Do
- Verify that protected pages require authentication and that their API requests enforce authorization
- Change the default demo credentials before going live
- Set strong passwords for admin accounts
- Enable HTTPS (automatic when deployed via VULK)
Environment Variables & Secrets
If your app uses API keys (Stripe, external APIs, etc.):
- Never hardcode secrets in your source code
- Use VULK's Secrets Manager to store API keys
- When exporting to GitHub, add
.envto your.gitignore
Generated Backend Security
VULK-generated backends include:
- JWT authentication with token refresh
- Input validation on API endpoints
- Parameterized SQL queries (prevents SQL injection)
- CORS configuration
What to Review
- Check that sensitive endpoints require authentication
- Verify that user data queries are scoped to the authenticated user
- Test that invalid inputs are rejected properly
Deployment Security
When you deploy via VULK:
- HTTPS is automatic — SSL certificates are provisioned for all deployments
- CDN caching protects against basic traffic spikes
- Static assets are served from Cloudflare's edge network
Custom Domain Security
- Always use HTTPS (enforced by default)
- Set appropriate CORS headers if your frontend and backend are on different domains
Code Export Security
When exporting code to GitHub or ZIP:
- Review for any hardcoded credentials or API keys
- Check
.env.exampleto ensure no real values are included - Run a security scan (like
npm audit) on the exported code
Reporting Security Issues
If you discover a security vulnerability in VULK or VULK-generated code, contact us at [email protected]. We take all reports seriously and respond within 24 hours.