Re: User with privilege on a stored procedure in SQL Server 2000 / 200

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In SQL Enterprise Manager, right click on the Sproc name and choose Manage
Permissions from All Tasks

Then turn on Basic Auth on your web app, with Identity Impersonate = True in
your web.config.

Use Integrated Security in your connection string, similar to:
<add key="DBConnectionString" value="data source=servername;initial
catalog=databasename;integrated security=SSPI;persist security
info=False;packet size=4096;timeout=180;Max Pool Size=200;" />


"ss" <ss@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:517AD58E-97C7-49D3-B65A-75391B163472@xxxxxxxxxxxxxxxx
How do i create a strored procedure where a perticular user only should
have
the permission to execute?

To execute that stored procedure in the client application, how do i
specify
my privileges in the ADO.NET which i will be using in ASP.NET web
application?

Can anybody show one simple example?

bye
Thanks,
ss


.



Relevant Pages

  • Solaris 10 autofs directory permissions - Solution
    ... the fact that my map file has 755 permissions not 644. ... If the execute permission is set, it becomes an executable map which is ... map is expected to return the content of an automounter map ...
    (SunManagers)
  • Re: Rights to execute jobs?
    ... Does anyone know if the rules surrounding stored procedure permissions apply ... Does this apply to a proc calling sp_start_job so that I ... raise the alert, so it could be anyone on the server. ... is that a group needs to not be an admin but still be able to execute ...
    (microsoft.public.sqlserver.security)
  • Re: Who buys/uses BASIC?
    ... I am talking about file permissions. ... It is possible to have execute permission without read. ... this with a script, because the script must be readable ... As far as I know, an interpreted bytecoded program is a script, from the point ...
    (comp.lang.basic.misc)
  • Re: Execute Persmission denied on object sp_OACreate
    ... SQL Server doesn't check permissions on indirectly referenced objects as ... You can prevent ad-hoc execution of powerful master database procs while ... >I have a user who has execute permissions on a store procedure in a>database> which in turns executes 4 stored procedures in the master database. ...
    (microsoft.public.sqlserver.security)
  • Re: Newbie
    ... I will now tell you some basic commands. ... Easy file has rights and a owner. ... file and who may execute it. ... The last three characters are about the permissions of user ...
    (alt.linux)