Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / General / Security / December 2005

Tip: Looking for answers? Try searching our database.

Permissions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
News - 19 Dec 2005 20:12 GMT
Hello.  I have a problem with assigning permissions in SQLExpress.  First a
little background.  A couple of weeks ago we upgraded from MSDE to
SQLExpress.  The database came over fine, tables, stored procedures, roles
and since everything ran ok I am sure that it preserved all the permissions
from the roles.  The database has two programs and two distinct groups of
users that create and edit data in the database.  Program 1 is a complete
program, that is, it has been running for several months using the MSDE and
the program never skipped a beat when we switched to SQLExpress.  Program 2
is in development and would be considered a beta version.

This is where I am having problems.  For program 2, I have created more
stored procedures in the database.  The users of both programs are in a role
called PWDNAdmin (actually they are all in the same group in the main
network).  I have used an transact-sql statement to grant permission to
execute these procedures to the group (GRANT EXECUTE "mynewquery" to
'PWDNAdmin') within the SQL Server Management Express program.  When I run
the program from a users computer it says that the query doesn't exist or
the user doesn't have permissions!   So, to test to be sure that the query
is there I granted the role PWDNAdmin to be a db_owner.  Sure enough it
works.  Now the question is, how do I grant execute permission without
granting db_owner status?

Hope that is clear.
Thanks,

Gerry Dyck
Andy Davis - 21 Dec 2005 04:36 GMT
Hi,
add that users to db_datareader or db_ddladmin(it will grant permission to
Data Defination Languages)

:-)
Regards
Signature

Andy Davis
Activecrypt Team
--------------------------------------------
SQL  Server Encryption Software
http://www.activecrypt.com


> Hello.  I have a problem with assigning permissions in SQLExpress.  First a
> little background.  A couple of weeks ago we upgraded from MSDE to
[quoted text clipped - 22 lines]
>
> Gerry Dyck
Andy Davis - 21 Dec 2005 05:29 GMT
Hi,
add them to db_ddladmin or grant db_datareader

Signature

Andy Davis
Activecrypt Team
--------------------------------------------
SQL  Server Encryption Software
http://www.activecrypt.com


> Hello.  I have a problem with assigning permissions in SQLExpress.  First a
> little background.  A couple of weeks ago we upgraded from MSDE to
[quoted text clipped - 22 lines]
>
> Gerry Dyck
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.