Solved

Folder Permision for SQL Server/ SQL SSIS

Posted on 2014-01-21
4
267 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

752 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