cap
cap copied to clipboard
Improved admin access security
My situation: local webserver, local CAP, local NPM (reverse proxy).
Problem description: When a user loads a webpage (www.mydomain.com), it must access CAP. Therefore, CAP must be accessible on WAN (e.g., https://cap.mydomain.com). API and /assets are all accessible on the same port (default 3000) as the CAP dashboard for admin. Therefore, one cannot prevent malign actors to brute force or otherwise try to get access to the dashboard. This poses a security risk.
Suggested solutions:
- add 2FA for admins
- create a different management port for the dashboard