Within Which Context Does SQL Server Access Network Resources?

In this post, we discuss about the context within which SQL Server accesses network resources via the Database Engine and SQL Agent.

 

How Does SQL Server Access Network Resources

When you run adhoc queries (i.e. execute stored procedures, use OPENROWSET, etc.) targeting resources outside the scope of the SQL Server instance (i.e. a file on a network location), SQL Server accesses these resources under the context of the Database Engine’s service account.

When you access resources outside the scope of the SQL Server instance using SQL Server Agent jobs, then, unless a proxy account is used, the job accesses these resources under the context of SQL Server Agent’s service account. If you use a proxy, the SQL Server Agent job accesses these resources within the context of the proxy’s credentials.

 

Enroll to our Online Course and Learn More about SQL Server Administration

Check our online course on Udemy titled “Essential SQL Server Administration Tips(special limited-time discount included in link).

Via our course, you will learn essential hands-on SQL Server Administration tips on SQL Server maintenance, security, performance, integration, error handling and more. Many live demonstrations and downloadable resources included!

Essential SQL Server Administration Tips - Online Course with Live Demonstrations and Hands-on Guides
(Lifetime Access/ Live Demos / Downloadable Resources and more!)

Learn More

 

 

Featured Online Courses:

 

Read Also:

 

Subscribe to our newsletter and stay up to date!

Subscribe to our YouTube channel (SQLNetHub TV)

Easily generate snippets with Snippets Generator!

Secure your databases using DBA Security Advisor!

Generate dynamic T-SQL scripts with Dynamic SQL Generator!

Check our latest software releases!

Check our eBooks!

 

Rate this article: 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Loading...

Reference: SQLNetHub.com (https://www.sqlnethub.com)

© SQLNetHub