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 / January 2007

Tip: Looking for answers? Try searching our database.

user security

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Leon McCalla - 23 Jan 2007 07:10 GMT
how do i set sql2000 so that  a user can only read or execute
user-stored-procedures?

Leon
Jens - 23 Jan 2007 07:56 GMT
Hi,

what do you mean by read the stored procedure ? By default new user are
not granted anything on the database. They are mapped to the public
role (like any other user) which by default contains no permissions.
granetd the permissions to execute a stored procedure can be done using
the GRANT EXECUTE ON SomeProcedurename TO SomeUsername.

HTH, Jens K. Suessmeyer.

---
http://www.sqlserver2005.de
---
Hari Prasad - 23 Jan 2007 12:41 GMT
Hello,

Just give EXECUTE rights to the user for the required procedure.

eg:-

Grant EXEC ON proc_name to Username

Thanks
Hari

> how do i set sql2000 so that  a user can only read or execute
> user-stored-procedures?
>
> Leon
Leon McCalla - 23 Jan 2007 13:04 GMT
thanks
> Hello,
>
[quoted text clipped - 11 lines]
> >
> > Leon
 
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.