-
Security
Restrict my app's database user permissions
Splits the app's database credentials away from superuser access and scopes them to what the app actually needs.
Free Prompt
What This Does / How This Helps
Moves your app off its all-powerful database credentials and onto a dedicated user that can only do what the app actually needs. This is blast-radius control. If an attacker ever finds a query bug or a leaked credential, a superuser connection means they can drop tables, read every database on the server, and create their own admin users. A scoped user turns the same bug into a much smaller incident. Managed hosts hand you a god-mode user by default because it's convenient, so the prompt includes the exact steps to create the scoped one and a verification that dangerous operations now fail.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).