SQL Server Proxy Account Ssis
A sql server proxy account ssis lets automated job steps run under a specific user credential. It isolates task rights from the main server service account during data runs. Data teams run routine data jobs every day. If a job uses the default service account, it may have too much power. A proxy ties a job step to a stored credential with limited rights. This keeps automated tasks inside a smaller safety boundary. How a sql server proxy account ssis works in practice When a job runs, the ser
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
A sql server proxy account ssis lets automated job steps run under a specific user credential. It isolates task rights from the main server service account during data runs.
Data teams run routine data jobs every day. If a job uses the default service account, it may have too much power. A proxy ties a job step to a stored credential with limited rights. This keeps automated tasks inside a smaller safety boundary.
How a sql server proxy account ssis works in practice
When a job runs, the server checks the identity linked to that job step. That identity then logs in to the target database to read or write data. In SQL Server, a database user is the identity of a login in a database. For people or jobs that need many databases, a login in master is common. For access to one or a few databases, a contained database user is an option. An admin must first turn on contained databases on the server and database. Overall, SQL Server offers 13 types of database users for different access needs.
Once inside the database, fixed roles control what the job or engineer can do. All roles, including the public role, have basic permission to connect. Members of the db_datareader role can read all data from all user tables and views. Members of db_datawriter can add, delete, or change data in all user tables. If an account is in db_owner, it can run all setup and maintenance tasks. A db_owner member can even drop the whole database in SQL Server. The permissions assigned to these fixed database roles cannot be changed by admins.
Engineers and AI agents often inspect these same databases to fix failed data jobs. They run queries to check row counts, inspect table layouts, and test data steps. Giving an engineer or agent the same shared proxy login creates big audit gaps. Every person and script looks identical in the server logs.
Security tradeoffs of static credentials and roles
Static credentials and fixed database roles only solve part of the access problem. They check who can log in and which tables they can read or write. Once a session starts, the database role grants broad access across those tables. For example, db_datareader lets a user read all column in every user table by default. It does not hide sensitive columns like emails, phone numbers, or card numbers.
Database Proxy (ProxySQL, PgBouncer) + Cross-Account Access Delegation: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Teams can use deny roles to block broad access where needed. A member of db_denydatareader cannot read any data from user tables and views. A member of db_denydatawriter cannot add, change, or delete any table data. Still, these roles work at the whole database level rather than per query.
Shared passwords for job proxies also create work for security teams. When an engineer leaves the team, rotating shared keys can break scheduled jobs. Because of this risk, teams often leave old passwords in place for years. And when an AI tool or developer runs an ad-hoc fix, native roles lack approval steps. A mistake in a write session can change thousands of rows right away. Relying only on static logins leaves live sessions open to human error and data leaks. Adding query-level checks and field masking helps close these gaps.
Check SQL Server batches and results on the wire
SQL Server logins and roles decide who connects. They do not check what each TDS batch does or mask sensitive values in returned rows. With hoop.dev, you run an open-source proxy, a sidecar for your SQL Server, inline in the TDS wire protocol. On every batch an AI agent or engineer runs against production, hoop.dev decides to pass, mask, block, or hold it for human review.
Before a batch hits the server, hoop.dev guardrails refuse disallowed actions with a native TDS error or hold risky statements for approval. On the way back, hoop.dev data masking rewrites sensitive values in supported result columns in memory, and every decision is logged. Explore the MIT-licensed project on GitHub.
Frequently asked questions
What is the difference between a SQL Server login and a database user?
A login lets a person or service enter the SQL Server instance itself. A database user is the identity of that login inside a specific database. You can also use a contained database user with its own password for single databases.
Can I change the default permissions of the db_datareader role?
No, the permissions assigned to fixed database roles cannot be changed in SQL Server. Members of db_datareader can always read all data from all user tables and views. If you need custom table rules, you must build a custom role or add a proxy layer.
How do I stop a user from changing data while keeping read access?
You can place the user in db_datareader and avoid adding them to db_datawriter. To enforce a strict block, you can also add the user to db_denydatawriter. Members of db_denydatawriter cannot add, change, or delete data in any user table.
Related guides
In this post