Solved

Folder Permision for SQL Server/ SQL SSIS

Posted on 2014-01-21
4
263 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
32bit v 64bit processes and impact on memory 7 45
SQL View nearest date 5 36
Passing Parameter to Stored Procedure 4 24
SQL server vNext 18 29
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
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…

777 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