Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 27th, 2006, 08:20 PM
Authorized User
 
Join Date: Jun 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can Database set password

Dear All Experts,

Can database set a password ? if yes, how to set it?


Thanks

Jane
 
Old March 27th, 2006, 10:04 PM
Friend of Wrox
 
Join Date: Dec 2005
Posts: 146
Thanks: 0
Thanked 1 Time in 1 Post
Default

Please clarify your question.

David Lundell
Principal Consultant and Trainer
www.mutuallybeneficial.com
 
Old March 30th, 2006, 03:18 AM
Authorized User
 
Join Date: Jun 2003
Posts: 62
Thanks: 0
Thanked 0 Times in 0 Posts
Default

if i create one database called 'TEST' then I don't want other people can access this database. so how am I going to block the user trying to access it? means that when the users click on 'TEST' database, it will not be open and see all the tables or views inside.



Thanks
 
Old April 5th, 2006, 06:07 PM
Friend of Wrox
 
Join Date: Aug 2004
Posts: 385
Thanks: 0
Thanked 0 Times in 0 Posts
Default

there is no password by database. There are passwords by users. You can give a user access/rights to a database. Thus indirectly you have a database password. But if userx has rights to databaseone and databasetwo they use the same password given the two databases are on the same database server instance.

You could get around this by setting up a different instance for every database, just a thought.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Set password in XLS on export aspless Classic ASP Basics 0 April 30th, 2008 03:59 AM
want to set password khalid0407 Need help with your homework? 0 July 2nd, 2007 05:59 AM
set password equal to variable fizzerchris SQL Server 2005 3 April 30th, 2007 01:45 AM
How to set password to exported Crystal Report jdaulagar Beginning VB 6 0 January 10th, 2007 04:19 PM
Cannot open database with password saikrishnan Pro VB Databases 0 August 26th, 2005 01:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.