Don't import Crypto unless required
Use read-only access for pgsql databases