Security Best Practices
Protect your Fincept account, API keys, and financial data with these security guidelines.API Key Security
Never Expose Keys Publicly
Don't Commit to Version Control
Don't Commit to Version Control
Bad:Good:Add to
.gitignore: Don't Hardcode in Frontend
Don't Hardcode in Frontend
Bad:Good:
Don't Share in Public Forums
Don't Share in Public Forums
Don't Log Keys
Don't Log Keys
Bad:Good:
Store Securely
- Environment Variables
- Secret Managers
- Config Files
Linux/macOS (.bashrc or .zshrc):Windows (System Environment):.env file (with python-dotenv):
Password Security
Strong Password Requirements
Password Donβts
- Donβt use dictionary words
- Donβt use personal information
- Donβt reuse passwords from other sites
- Donβt share with team members
- Donβt write down on paper
- Donβt email passwords
Password Manager
Use password managers to generate and store strong passwords:- 1Password - Enterprise-ready
- Bitwarden - Open-source
- LastPass - Popular choice
- Dashlane - User-friendly
Account Security
Enable MFA
Always enable on production accounts:Monitor Login Activity
Check regularly for suspicious logins:- π¨ Unfamiliar IP addresses
- π¨ Unusual login times
- π¨ Failed login attempts
- π¨ Multiple failed MFA attempts
Rotate API Keys
Regenerate keys periodically:| Account Type | Recommended Rotation |
|---|---|
| Development | Every 180 days |
| Production | Every 90 days |
| Enterprise | Every 30-60 days |
| Compromised | Immediately! |
Network Security
HTTPS Only
Always use HTTPS, never HTTP:https://finceptbackend.share.zrok.io
http://finceptbackend.share.zrok.io
Firewall Rules
Restrict outbound API calls to Fincept domain:VPN/Private Networks
For sensitive operations:- Use VPN for remote access
- Restrict API access to corporate networks
- Implement IP whitelisting (enterprise feature)
Application Security
Validate Input
Never pass user input directly to API: Bad:Rate Limiting
Implement client-side rate limiting:Error Handling
Donβt expose sensitive errors to end users: Bad:Team Security
Separate Keys per Environment
| Environment | Account | Key |
|---|---|---|
| Development | [email protected] | fk_user_dev_key |
| Staging | [email protected] | fk_user_staging_key |
| Production | [email protected] | fk_user_prod_key |
Access Control
- π Limit key access to necessary team members
- π Document who has access to which keys
- π Rotate when team members leave
- π Audit key usage regularly
CI/CD Secrets
Use secret management in pipelines: GitHub Actions:Incident Response
If Key is Compromised
Contact Support
Report incident to [email protected]
If Account is Compromised
- Change password immediately
- Regenerate API key
- Review and cancel suspicious transactions
- Check login history for unauthorized access
- Enable MFA
- Contact [email protected]
Compliance
Data Protection
Fincept complies with:- GDPR (General Data Protection Regulation)
- PCI DSS (Payment Card Industry standards)
- SOC 2 Type II (in progress)
- ISO 27001 (planned)
Your Responsibilities
When using Fincept API:- π Protect your API keys
- π Secure data received from API
- π Encrypt sensitive information
- π Comply with local regulations
- π¨ Report security incidents
Security Checklist
Reporting Security Issues
Found a security vulnerability? Contact: [email protected] Include:- Detailed description
- Steps to reproduce
- Potential impact
- Your contact information
- Publicly disclose vulnerabilities
- Test on production systems without permission
- Share exploit code publicly
