February 2, 2016 at 8:12 pm
Comments posted to this topic are about the item CONNECTing to SQL Server
February 2, 2016 at 11:43 pm
This was removed by the editor as SPAM
February 3, 2016 at 1:21 am
At first I had the server option selected as well.
Then I recalled that the connect option at server level is actually called CONNECT SQL, not just CONNECT, so I removed that tickmark.
Oh well. Apparently my mindreading skills are still not good enough.
February 3, 2016 at 6:54 am
Hugo Kornelis (2/3/2016)
At first I had the server option selected as well.Then I recalled that the connect option at server level is actually called CONNECT SQL, not just CONNECT, so I removed that tickmark.
Oh well. Apparently my mindreading skills are still not good enough.
Yeah, agonized over that for a moment, and ended up guessing he wanted CONNECT SQL as well. Just a lucky guess, though. C'est la vie.
February 3, 2016 at 7:06 am
Heh - I was so busy thinking about the endpoint that I forgot to click the database. A lesson to always think about the whole problem and not just focus on the part you're not sure about. :hehe:
February 3, 2016 at 7:51 am
Hugo Kornelis (2/3/2016)
At first I had the server option selected as well.Then I recalled that the connect option at server level is actually called CONNECT SQL, not just CONNECT, so I removed that tickmark.
Oh well. Apparently my mindreading skills are still not good enough.
There's also the CONNECT ANY DATABASE which seems to be the same as the CONNECT at the database level. Or am I wrong?
February 3, 2016 at 8:48 am
Luis Cazares (2/3/2016)
Hugo Kornelis (2/3/2016)
At first I had the server option selected as well.Then I recalled that the connect option at server level is actually called CONNECT SQL, not just CONNECT, so I removed that tickmark.
Oh well. Apparently my mindreading skills are still not good enough.
There's also the CONNECT ANY DATABASE which seems to be the same as the CONNECT at the database level. Or am I wrong?
You are absolutely right. CONNECT ANY DATABASE at the server level grants permission to conenct to each and every database on the server as if CONNECT permission had been granted in each individually. See http://www.sqlservercentral.com/articles/Security/111116/[/url] for an article published on this site about the feature when it was introduced.
February 3, 2016 at 10:58 am
Hugo Kornelis (2/3/2016)
At first I had the server option selected as well.Then I recalled that the connect option at server level is actually called CONNECT SQL, not just CONNECT, so I removed that tickmark.
Oh well. Apparently my mindreading skills are still not good enough.
I wondered about it to, and thought that CONNECT SQL would be considered as a variant of CONNECT (with SQL meaning "the instance to whose MASTER database I am currently connected" or something like that). That ws of course pure guesswork - I lay no claims to mindreding skills.
Now if the option had been "SQL" instad of "server" (and maybe that should be "instance" anyway?) it would have been quite clear and also utterly wrong.
Tom
February 3, 2016 at 2:48 pm
Steve Jones - SSC Editor (2/2/2016)
Comments posted to this topic are about the item <A HREF="/questions/Security/137165/">CONNECTing to SQL Server</A>
Nice question, thanks. I missed Endpoints.
- webrunner
-------------------
A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html
February 4, 2016 at 4:35 am
Nice question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
March 8, 2016 at 4:28 pm
Stewart "Arturius" Campbell (2/2/2016)
Nice question, thanks SteveKnew about Server and database, had to check up on endpoints, though.
Learned something new...
So did I.
March 17, 2016 at 5:11 pm
Good question but I have read it too quickly so I gave only Database as answer. Bad luck...but I would have forgotten Endpoint...
Viewing 12 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic. Login to reply