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.

Security options for 2005 Native XML Web Services (ENDPOINT)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Luther Miller - 30 Dec 2005 17:44 GMT
I have done some research and I just want to verify what I believe are the
security options for SQL server 2005 native XML web services (using ENDPOINT
and WebMethod).

1. Application roles cannot be used (I assume this because the connection is
not kept open so you can only call one proc at a time and application roles
need state and need to call a stored proc to set the state).

2. NT authentication:
a. Each NT USER must be added as a Login to SQL Server
b. Each NT USER must be granted CONNECT to the ENDPOINT
c. Each NT USER must be added to the database with the stored procedures
being exposed
c. Each NT USER must be granted EXEC on the stored procedures being exposed;
this could be done by adding the user to a database role that has the
permissions etc.
d. There is no way to just add NT users to a Domain security group and give
that group permissions - you must do the above for each individual user

3. Sql Server authentication - I guess you could create a login/password in
SQL Server that have all of the above permissions and then hard code that in
the client for connecting to the web services. Haven't tried this, but would
require a lot less logins to be added to SQL.

Seems that it is about time to have integration with active directory and NT
security groups (roles) with SQL Server... that would definitely be useful.
Jasper Smith - 30 Dec 2005 22:00 GMT
You can use groups to grant permissions for the endpoint. Just create one
group per soap endpoint to grant the connect permissions to.
Similarly you would normally create a login from a windows group, add that
to a database role in your database and grant permissions to the role.
You shouldn't be messing about with individual users in SQL, just use
windows groups.

Signature

HTH,
Jasper Smith (SQL Server MVP)
http://www.sqldbatips.com

>I have done some research and I just want to verify what I believe are the
> security options for SQL server 2005 native XML web services (using
[quoted text clipped - 32 lines]
> security groups (roles) with SQL Server... that would definitely be
> useful.
 
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.