Re: Permissions
From: Joseph Byrns (josephbyrns_at_nnoossppaamm-yahoo.com)
Date: 12/14/04
- Next message: Sharon_a: "RE: SqlDataAdapter and transaction"
- Previous message: Sahil Malik: "Re: DataTable Column values"
- In reply to: Paul Clement: "Re: Permissions"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Dec 2004 15:23:10 -0000
Ahhh, that's it, I forgot about the mixed mode, I've just run it from
outside our network, where I must specify the correct username and password
to get it to work, which further enforces what you say.
Thanks
"Paul Clement" <UseAdddressAtEndofMessage@swspectrum.com> wrote in message
news:omstr0deq20ao576mu4hme6265k103remk@4ax.com...
> On Tue, 14 Dec 2004 10:40:09 -0000, "Joseph Byrns"
> <josephbyrns@nnoossppaamm-yahoo.com> wrote:
>
> ¤ I have a desktop application, which I use to connect to an SQL Server
> ¤ database as follows :
> ¤
> ¤ m_ConnectionString = "Data Source=ServerName; Initial
> ¤ Catalog=FlattedProperty;"
> ¤
> ¤ using no username or password, and it all works fine and I can collect
> and
> ¤ update data happily. My problem is that I have created a load of users
> and
> ¤ given them various permissions on the database, but my application can
> still
> ¤ connect to the database without specifying a username and password. How
> do
> ¤ I prevent my application getting access to the database without
> specifying
> ¤ the appropriate password?
> ¤
> ¤ In enterprise manager and query analyser I must specify any of the
> username
> ¤ and passwords I have created.
> ¤
>
> Are you using mixed mode security (Windows and SQL Server Authentication)?
> It sounds like you're
> authenticating transparently through a trusted connection.
>
>
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
- Next message: Sharon_a: "RE: SqlDataAdapter and transaction"
- Previous message: Sahil Malik: "Re: DataTable Column values"
- In reply to: Paul Clement: "Re: Permissions"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|