473,411 Members | 2,230 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,411 software developers and data experts.

About Sql Server(Posted in .NET coz it's easy)

153 100+
I want to set a login for a database that i will create in an SQL server instance.
For ex.

After installing Sql Server Express, i will first create a script to create a login.
Then by using the username and password(for the login I created) i will create a database by using script.

Now i want that the database should be accessable by anyone connecting with that username and password only.

Other users, including Windows Authentication and other users should not be able to even see the database.

Please help me.
Dec 17 '09 #1
2 1457
sanjib65
102 100+
Sorry, it's not very clear what you want.
When you install SQL Server it's happened either by Windows Authentication mode or using Username/Password and domain name.
Now you wrote:
Now i want that the database should be accessable by anyone connecting with that username and password only.

Other users, including Windows Authentication and other users should not be able to even see the database.
Actually while you use the second method, without username/password no one will access the Database.

Do you need the installation guide or something like that?
Dec 17 '09 #2
akshaycjoshi
153 100+
What's unclear ?

I want the database to be opened only by one login, not even by windows authentication.

Ordinarily you can access all the databases when u use windows authentication.
Dec 18 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Golf Nut | last post by:
hello all! I would like to create a session class which would transparently handle sessions as well as serialize, encode and compute an md5 hash of all $_REQUEST information. This would...
7
by: Aguilar, James | last post by:
Hello all, To begin, yes, this -is- a homework assignment. However, it is for my Algorithms class, and my instructor has given us explicit permission to use "expert" groups like newsgroups, so...
2
by: greatbooksclassics | last post by:
Open Source DRM? What does everyone think about it? Will Open Source DRM ever catch up to MS DRM? Will DRM ever be integrated into common LAMP applications?...
2
by: Sven Eric | last post by:
Hi All, I try to use user-impersonation in VB.NET with a user (let's call him Bill). I'm using the LogonUser function to create the token and so on. This works --> calling...
13
by: usenet | last post by:
How and where can one find out about the basics of VB/Access2003 syntax? I am a died in the wool C/C++/Java Linux/Unix programmer and I am finding it difficult to understand the program format...
16
by: Martin Jørgensen | last post by:
Hi, Problem: ======== Some of my output functions are beginning to take pretty many arguments... I mean.... We're talking about 10-15 arguments :-) So I thought to myself, perhaps this is...
3
by: Ken Fine | last post by:
I would like to be able to move my ASP.NET applications to any of a number of servers without changing code. My apps do a lot of disk I/O and in some cases I might be specifying absoute drive...
0
by: reddy | last post by:
This group contains information about IT Requirements in USA as well as Hotlist of Candidates from the participating members CLICK & REGISTER U GET MORE DEDAILS ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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,...

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.