p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > SQL Server > SQL Server 2000 > BOOK: Professional SQL Server 2000 Programming
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional SQL Server 2000 Programming
This is the forum to discuss the Wrox book Professional SQL Server 2000 Programming by Robert Vieira; ISBN: 9780764543791

Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2000 Programming section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 4th, 2009, 08:02 AM
Authorized User
Points: 145, Level: 2
Points: 145, Level: 2 Points: 145, Level: 2 Points: 145, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2007
Location: , , United Kingdom.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default User Authentication Best Practice

I have created several Sql 2000 Db's over the last year accessed through an Access Front End. In the past I have authenticated Users with SQL Login Accounts.

However as with happens when more people use the systems, I am getting a large number of calls requesting support.

The biggest is resetting User's Passwords. I have hit a brick wall when trying to reset a Users Password through an ADO Connection using the SP_Password Stored Procedure.

I am now wondering whether I should really have a seperate SQL Table containing UserNames / Encrypted Passwords, and move away from SQL Server Authentication.

Added to this is the fact that Users at the moment are members of SQL Groups defining what they can and can't do.

I'd just be interested in other peoples take....


Cheers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old March 5th, 2009, 04:33 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Re: User Authentication Best Practice

Hi,

The best practice for User Authentication when working with SQL Server is Windows Authentication.

This will reduce your Administration overhead. So the best thing would be add these sql authenticated users to a Windows Group, say your AppUsersGroup that is currently accessing SQL Server.

1) Now open up Enterprise Manager, navigate to the Security Folder and under Logins choose new Login.

2) Now under the login name, choose Search, you can add members from the Active Directory

3) Now your users will be authenticated to SQL Server via Windows Authentication.

Hope this helps

Cheers!

Anil Mahadev
Senior SQL Server DBA
MISPL

http://anilm001.myfreewebs.net
http://www.sqlserverclub.com
http://www.sqlpass.ch
http://www.sqlpass.org
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old March 5th, 2009, 06:04 AM
Authorized User
Points: 145, Level: 2
Points: 145, Level: 2 Points: 145, Level: 2 Points: 145, Level: 2
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2007
Location: , , United Kingdom.
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for getting back to me.

I appreciate your answer but feel you are removing a layer of security that I need.

I want the User to logon through the Front End with a seperate account.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get user name from windows authentication? su C# 1 December 9th, 2006 02:58 AM
user authentication pablohoney Classic ASP Basics 0 October 2nd, 2006 12:07 AM
User Authentication Err rizoriz Classic ASP Databases 0 April 23rd, 2006 08:42 AM
User authentication problems bobbby Dreamweaver (all versions) 4 September 28th, 2004 01:46 AM
User Authentication gmoney060 BOOK: Beginning ASP 3.0 1 June 16th, 2004 08:24 AM



All times are GMT -4. The time now is 06:08 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc