Solved

Folder Permision for SQL Server/ SQL SSIS

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

863 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

26 Experts available now in Live!

Get 1:1 Help Now