Solved

Folder Permision for SQL Server/ SQL SSIS

Posted on 2014-01-21
4
260 Views
Last Modified: 2016-02-10
I'm upgrading to Window Server 2012 and I'm recreating some CLR assemblies (for SQL Server) that access an email account, saves and unzips the attachments then uploads these into a db.  I can't seem to grant the folders where this occurs the right permissions for this to work.

To be clear, I can set the folder permission to 'Everyone' and it works (so it isn't an assembly problem), but I would like to throttle the access down so only Sql Server and/or SQL SSIS has permission.  I'm running SQL Server 2012 on Windows Server 2012.  SQL Server Agent logs on as [NT Authority/Network Service] and SQL Server logs on as [NT Service/MSQLServer].  

I'm obviously not a network guy....dumbing down the explanations would be appreciated!!

Any suggestions?
0
Comment
Question by:badrhino
  • 3
4 Comments
 
LVL 16

Assisted Solution

by:Surendra Nath
Surendra Nath earned 500 total points
ID: 39798412
if the call to the DLL is initiated through the SQL Server (a stored procedure), then you need to give it the SQL Server user name, if it is the SQL agent then the SQL agents.

but to be on the safe side, I will add both the SQL agent's and SQL Server's logins access to the folder...
0
 
LVL 1

Author Comment

by:badrhino
ID: 39798678
I can't seem to find the log on name for sql server in this folder.  SQL Server logs on as [NT Service/MSSQLServer] and this isn't available in the Group or User Names section of the secutrity tab.  I added SERVICE and that works and is much better than 'everyone', but would like to throttle it down a little more.
0
 
LVL 1

Accepted Solution

by:
badrhino earned 0 total points
ID: 39803049
Ended up just setting the security to service.
0
 
LVL 1

Author Closing Comment

by:badrhino
ID: 39814532
The question was never quite answered like I needed it, but do appreciate Ganti's help....
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now