473,434 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

Using Sql Server 2000 Username/Password/Roles with ASP.Net 2.0 ?

I want to use Sql Server Roles, Sql Server Logins/Passwords with ASP.Net
2.0, instead of saving One username/password in Connectionstring of
Web.Config, is it possible ?

I don't want to save the Username/Password in Connectionstring of
Web.config.

Further, I need forms Authentication as my users are on Internet and not on
my Local Windows Domain.

Any example will be highly appreciated ?

If the sql Server user has the particular role, he can access that table
data other wise not.

Best Regards,

Luqman
Nov 24 '06 #1
1 1145
You can use full SQL Server security, but realistically, you have to have
domain users to do it. In these cases, use impersonation and allow the
windows identity to pass through.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

********************************************
Think outside the box!
********************************************
"Luqman" <pe*******@cyber.net.pkwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>I want to use Sql Server Roles, Sql Server Logins/Passwords with ASP.Net
2.0, instead of saving One username/password in Connectionstring of
Web.Config, is it possible ?

I don't want to save the Username/Password in Connectionstring of
Web.config.

Further, I need forms Authentication as my users are on Internet and not
on my Local Windows Domain.

Any example will be highly appreciated ?

If the sql Server user has the particular role, he can access that table
data other wise not.

Best Regards,

Luqman

Nov 24 '06 #2

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

Similar topics

4
by: Frodo | last post by:
I have a problem establishing a link between Visual Studio.NET 2003 and SQL Server 2000. Both are installed on a Windows Server 2003, standard version. Visual Studio.NET Issues...
4
by: chris.dunigan | last post by:
I'm looking for an example of how to execute an existing DTS­ package from an ASP (VB)script and would appreciate any and all response. ­I don't even know if it's possible Thanks - Chuck...
3
by: rwyarger | last post by:
I have a customer who has a SQL Server 2000 DB and we are needing to get to this DB through ODBC. I had setup a DSN last week that connected fine to this DB, and was preparing to build a script to...
5
by: Brent Burkart | last post by:
I want to protect my website with a user and password. I have SQL Server 2000 where I want to store the users and passwords and the website is complete. I just need to add in some security with...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
1
by: Screenbert | last post by:
After finding nothing anywhere in google I am posting this so everyone can benefit by it. The formating is not pretty since I copied it from my word document, but you should benefit by it. ...
0
by: screenbert | last post by:
Managing DHCP Servers using C# They said it was impossible. It couldn't be done. But you can in fact manage DHCP servers using C#. This includes creating and deleting Scopes, SuperScopes,...
4
by: Taw | last post by:
Hi, I have installed SQL 2005 in my PC and am trying to connect to SQL Server 2000 installed in a different machine. Both the server are installed in mixed mode. I can connect to the 2000...
2
by: JimL | last post by:
Hello group, We have recently come up with a problem where SQLServer 2005 differs from 2000. We have an application role, which needs to run DDL to alter tables etc. The documentation for...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.