473,466 Members | 1,396 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

help configuring SQL 2005 user for asp app conneciton

Hi,

My aspx app connects to sql 2005 db via web.config conneciton string. I have
a user name in the string but need to configure the users security
prilevelges and dont know where to start.

This user needs to run store procesdues with select, insert, update, delete
and execute commands.

Can someone point me in the correct direction ?

All i can find online is the asp app security wizard stuff that does not
help me.

Thanks for any advice
Scott
Nov 27 '07 #1
2 1023
the best security is to do all update via stored procs, so you just
grant execute access to the stored proc. if selects are done via sp
(with any dynamic sql), again just grant execute to the proc. if your
code does selects, then just grant read to the required tables.

-- bruce (sqlwork.com)

Scott wrote:
Hi,

My aspx app connects to sql 2005 db via web.config conneciton string. I have
a user name in the string but need to configure the users security
prilevelges and dont know where to start.

This user needs to run store procesdues with select, insert, update, delete
and execute commands.

Can someone point me in the correct direction ?

All i can find online is the asp app security wizard stuff that does not
help me.

Thanks for any advice
Scott

Nov 27 '07 #2
thanks for the reply.

All a user does is execute store procedures but at the moment the user name
has sys admin rights.

I just need to configure a user so i can still run the SPs but drop all
rights not required.

Thank you
Scott
Nov 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Matthew Louden | last post by:
I wrote ASP.NET application that access SQL Server database. When I run the application, it yields "Login failed for user '<COMPUTER_NAME>\ASPNET'" error message. I then did the following, but...
0
by: Nate Hekman | last post by:
I'm trying to set up a Membership/Role Provider for an ASP.NET 2.0 beta 2 site using SqlMembershipProvider, and am having problems configuring SQL Server. I'm comfortable with ASP.NET but very...
1
by: Philipp Lenz | last post by:
I'm completely new to ASP.Net 2.0 and I'm baffled about what to do to get this to work. FYI, I'm not new at this, I've used asp.net 1.1 for allmost 4 years now. I'm running a development...
0
by: Jack Wu | last post by:
Hi I've spent a good majority of my day trying to figure out how to have PIL 1.1.5 working on my OSX 10.3.9_PPC machine. I'm still stuck and I have not gotten anywhere. Could somebody please...
0
by: vishalp79 | last post by:
Hi, I am trying to install DBD::Informix module on perl on hpux 11.23 machine. but i get this weird error ...... Set up gcc environment - 4.1.1 *** ExtUtils::AutoInstall version 0.61 ***...
2
by: GAZ | last post by:
I would be very grateful if someone could point me in the direction of a step-by-step instructions for configuring IIS6 for web development with Visual Studio 2005. God knows I tried everything...
1
by: ZackariyaYoosuf | last post by:
Hi, I am using vb.net 2003 and sql server 2005.I am getting error when configuring data adapter.It is not creating INSERT,DELETE and UPDATE commands.It creats SELECT command. When connecting with...
5
by: Tony M | last post by:
vs 2005 - vb .net (desktop app) - XP Pro Trying to manipulate data form a desktop app. to a remote hosted website? Just trying to connect for now. Anyone know what I can change to make...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.