Best practices for securing your AlloyDB for PostgreSQL resources
Stay organized with collections
Save and categorize content based on your preferences.
To help you achieve a strong security posture for your AlloyDB for PostgreSQL resources, follow the best practices
provided in this page.
Prevent search path hijacking
To prevent search path hijacking, make sure that highly privileged
users have the search_path parameter set to pg_catalog. This makes sure that the search path is secured and that untrusted schemas like public are bypassed.
To set this parameter permanently for a user, run the following command:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-16 UTC."],[],[]]