Re: SQL security
From: Gary X (SQLGuy_at_EarthLink.Net)
Date: 07/02/03
- Previous message: Bronek Kozicki: "Re: hacking with sql insertion"
- In reply to: Amy Wang: "SQL security"
- Next in thread: Amy: "Re: SQL security"
- Reply: Amy: "Re: SQL security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 2 Jul 2003 02:45:21 -0700
Make sure set the default DB, either in SQL for the group or in DSN for the
connection, or specify it at your connection string. If you leave all of
those to default, you are trying to connection master database.
Gary
"Amy Wang" <amywang@bankofny.com> wrote in message
news:38ff01c34012$da36cf80$a401280a@phx.gbl...
> SQL 2000, windows 2000
>
> I am using window NT authentication. In SQL Server, I give
> permission to NT group GROUP1. My NT login USER1 is the
> member of GROUP1.
>
> Get error when set up ODBC : Connection failed, sQL state
> 42000, SQl server error 4064. Can not open user default
> database. login failed.
>
>
>
> If I give permission to USER1 directly, It works.
> all SQL server login works.
>
> By the way, it worked before and not work after I restore
> last night backup data. No change with user or any NT
> permissions
>
> Thanks
- Previous message: Bronek Kozicki: "Re: hacking with sql insertion"
- In reply to: Amy Wang: "SQL security"
- Next in thread: Amy: "Re: SQL security"
- Reply: Amy: "Re: SQL security"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|