Welcome to dbForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Anyone can access my Sql Server!

 
   Database Forums (Home) -> Security RSS
Next:  how to convert varchar into smalldatatime  
Author Message
Ian12

External


Since: Nov 13, 2003
Posts: 3



(Msg. 1) Posted: Thu Sep 16, 2004 1:44 pm
Post subject: Anyone can access my Sql Server!
Archived from groups: microsoft>public>sqlserver>security (more info?)

I have Sql Server running an a SBS2003 box. I want to
provide access to a couple of users via the internet.

At first they couldn't connect because the Authentication
was set to Windows Only. I have changed it to Sql Server
and Windows, and now they can successfully create a DSN
using their credentials.

What I also have found to my horror is that using NT
authentication, a DSN can be created from anywhere
regardless of the Login ID. When a DSN has been created in
this manner, data can be changed.

My database is wide open - Help!

 >> Stay informed about: Anyone can access my Sql Server! 
Back to top
Login to vote
Dan Guzman1

External


Since: Aug 22, 2004
Posts: 469



(Msg. 2) Posted: Thu Sep 16, 2004 9:53 pm
Post subject: Re: Anyone can access my Sql Server! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

A Windows account needs to be granted access to SQL Server before a database
can be accessed. If a user can connect to SQL Server via an ODBC DSN using
a trusted connection, then that account must have been granted access,
either directly or through membership of a Windows group.

You can determine the permission path with xp_logininfo. For example:

EXEC master..xp_logininfo 'MyDomain\MyUser'

--
Hope this helps.

Dan Guzman
SQL Server MVP

"ian" wrote in message

 >I have Sql Server running an a SBS2003 box. I want to
 > provide access to a couple of users via the internet.
 >
 > At first they couldn't connect because the Authentication
 > was set to Windows Only. I have changed it to Sql Server
 > and Windows, and now they can successfully create a DSN
 > using their credentials.
 >
 > What I also have found to my horror is that using NT
 > authentication, a DSN can be created from anywhere
 > regardless of the Login ID. When a DSN has been created in
 > this manner, data can be changed.
 >
 > My database is wide open - Help!

 >> Stay informed about: Anyone can access my Sql Server! 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Access linked server - I am new to SQL. I am trying to setup a linked server but whenever I try to view the tables it gives me an error saying error 7399 : OLEDB provider 'microsoft.jet.oledb. 4.0' reported an error OLEDB Error Trace Thanks

No access at sql 2000 DB after restore on an other sql ser.. - HI, i've some trouble with a sql server 2000 db. the db uses sql server auth i make a backup from the DB and take the backup to an other sqlserver, i had restored the database at ther new server. i've create ^the db owner user on the new server and..

Linked Server Access - I have a linked server setup on a server. Is it possible to restrice who can use the linked server? Can I create a role and just give users read only or select permission to the linked server? Thanks.

SQL Server Logins do not have database access - I uninstalled SQL Server 2000 and reinstalled w/ SP4 because SP4 wouldn't install correctly on the existing installation. After new installation, I created all user logins before restoring the databases. I restored the databases which restored the..

restricting access to databases in SQL Server Management S.. - Hi! I've set up a new SQL Server 2005. I intend to use it to host a number of databases for different customers. I'd like to be able to restrict a users view when he connects to the server with SQL Server Management Studio so that the user only sees....
   Database Forums (Home) -> Security All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]