Solved

Granting users in active domain permissions to execute a stored procedure from an excel workbook

Posted on 2015-01-21
6
57 Views
Last Modified: 2015-02-18
I have created a workbook on a public drive accessible to about 5 users.  Within the workbook is a macro that runs a SQL 2008 R2 stored procedure to update a table within the workbook.  It works perfectly for my user access.  Currently these 5 users have read privileges to access views and tables within the SQL Server from Excel.

What are the procedures to set these users up to be able to execute the stored procedure?  I have seen a lot of different styles and advice on this matter.

Do I need to "alter" the SP grant them permissions?  Or do I need to get the DBA involved?

Let me know.

thanks

Glen
0
Comment
Question by:GPSPOW
6 Comments
 
LVL 50

Expert Comment

by:Lowfatspread
ID: 40563650
i suggest that you involve your dba in the solution,,,

basically to let him know that you are intending this extensions of access to the data,,, so that he can

properly assess the impact from a security and performance viewpoint that fits in with your companies security and audit policies.
0
 
LVL 45

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40563949
You need to grant permissions for execute the SP:
GRANT EXECUTE ON SPName TO UserName
0
 

Author Comment

by:GPSPOW
ID: 40564321
I will try this and notify the user to test the report



Thanks

Glen
0
 

Author Comment

by:GPSPOW
ID: 40609295
No objections

Please close
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 40616156
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Problem with SqlConnection 5 121
Dynamic Vlookup Function Formula Help 4 17
MIN, using ARRAY 4 16
login and database user 3 21
A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

759 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

17 Experts available now in Live!

Get 1:1 Help Now