dbTalk Databases Forums  

server login , DB login

comp.databases.sybase comp.databases.sybase


Discuss server login , DB login in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shawn
 
Posts: n/a

Default server login , DB login - 08-17-2004 , 11:56 PM






In SQL Server and Sybase how exactly Server login, Database login
work? what is the different?

Reply With Quote
  #2  
Old   
Simon Andrew
 
Posts: n/a

Default Re: server login , DB login - 08-20-2004 , 05:16 AM







"Shawn" <farzan_toronto101 (AT) yahoo (DOT) com> wrote

Quote:
In SQL Server and Sybase how exactly Server login, Database login
work? what is the different?
A login is a 'server-level' thing, with a username and a password. Some
settings are at the 'login' level - like language and default database.

A database login (do you mean database user?) is a 'database-level' thing
with permissions to access tables, execute procedures, etc.

A login can be a user in a number of databases.

Does that help?

Regards,
Simon.




Reply With Quote
  #3  
Old   
Amarnadh Sai
 
Posts: n/a

Default Re: server login , DB login - 08-24-2004 , 08:04 AM



farzan_toronto101 (AT) yahoo (DOT) com (Shawn) wrote in message news:<ab561c63.0408172056.4cca7812 (AT) posting (DOT) google.com>...
Quote:
In SQL Server and Sybase how exactly Server login, Database login
work? what is the different?
When a new login is added to ASE it will add an entry in a system table
with the login name and userid. This is the login name is the server login.
It is used for authentication at the server.

If you are a valide user to ASE it doesn't mean that you are a valide user
to access all the Databases in the server. If you want to access a DB then
you should have the access to the DB. This DB authentication is done using
the DBlogin.

By default the server login and DBlogin are same. i.e. If the DB owner
allows you to access the Database. Your server login name will be added
as the valide user for the DB. You can change the default option. i.e
you can have server login name as "xyz" and dblogin as "abc". This mapping
is taken care by ASE itself.

Hope it is clear to you...

-amarnadh


Reply With Quote
  #4  
Old   
Ollie
 
Posts: n/a

Default Re: server login , DB login - 08-25-2004 , 09:34 AM



amarnadh (AT) iitb (DOT) ac.in (Amarnadh Sai) wrote in message news:<135337d.0408240504.198824d8 (AT) posting (DOT) google.com>...
Quote:
farzan_toronto101 (AT) yahoo (DOT) com (Shawn) wrote in message news:<ab561c63.0408172056.4cca7812 (AT) posting (DOT) google.com>...
In SQL Server and Sybase how exactly Server login, Database login
work? what is the different?

When a new login is added to ASE it will add an entry in a system table
with the login name and userid. This is the login name is the server login.
It is used for authentication at the server.

If you are a valide user to ASE it doesn't mean that you are a valide user
to access all the Databases in the server. If you want to access a DB then
you should have the access to the DB. This DB authentication is done using
the DBlogin.

By default the server login and DBlogin are same. i.e. If the DB owner
allows you to access the Database. Your server login name will be added
as the valide user for the DB. You can change the default option. i.e
you can have server login name as "xyz" and dblogin as "abc". This mapping
is taken care by ASE itself.

Hope it is clear to you...

-amarnadh
You're confusing yourself when you use the word login to database.
Login typically means you are been authenticated by the dataserver. As
far as database is concern, you grant access/permission to a user or
group.


Reply With Quote
Reply




Thread Tools
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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.