LaraDep Documentation
You are reading Self-hosted mode
Access control and security in self-hosted mode
Practical governance for direct operations: roles, permissions, MFA, secret handling and auditable change flow.
Security foundation for self-hosted mode
Self-hosted mode gives control and requires stronger internal discipline. Without clear safeguards, direct infrastructure ownership can quickly become unmanaged. This page sets a practical security baseline.
Purpose and assumptions
- Purpose: build a secure, repeatable and auditable workflow for regular operations.
- Assumptions: dedicated instance, workspace model, and reviewable run history are available.
- What to set up: role policy, SSH/credential flow, approval policy and incident routine.
Security building blocks
- Role segmentation — separate administration, operators and observers.
- Secret policy — store sensitive data in protected stores and avoid ad-hoc sharing.
- MFA and auth hardening — critical roles should require stronger authentication.
- Change ownership — each change must have initiator, executor, and reviewer.
- Post-incident discipline — every incident gets a note, impact review and prevention action.
Operational flow
- Set least-privilege access per operational scope.
- Separate environments by sensitivity.
- Run preflight checks before each deployment.
- Capture run notes with reason, approvals and communication references.
- Review role assignments quarterly and remove stale privileges.
Security checklist
- Are roles aligned with actual operating responsibilities?
- Is secret handling consistently documented and tested?
- Are critical roles protected by MFA and token rotation policy?
- Can environment transitions be traced from start to completion?
- Is incident response and rollback process defined and practiced?
Common mistakes
- Informal credential sharing outside approved channels.
- Blurring production and staging permissions.
- Running changes without explicit scope.
- Missing notes for high-impact deployments.
Next steps
- Continue to self-hosted governance.
- Set operations rhythm in self-hosted operations.
- Handle incidents using self-hosted troubleshooting.
- For strategic planning and decision checkpoints, review mode migration guide.
Next step: Review self-hosted governance before your first production run.