<?xml version="1.0" encoding="utf-8"?><!-- generator="b2evolution/6.11.7-stable" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>SQL Server &#38; BI Blog by Andreas Wolter - Latest Comments</title>
		<link>https://www.insidesql.org/blogs/andreaswolter/?disp=comments</link>
		<atom:link rel="self" type="application/rss+xml" href="https://www.insidesql.org/blogs/andreaswolter/?tempskin=_rss2&#38;disp=comments" />
		<description></description>
		<language>en-EU</language>
		<docs>http://backend.userland.com/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=6.11.7-stable"/>
		<ttl>60</ttl>
		<item>
			<title>andreaswolter [Member] in response to: CONTROL SERVER vs. sysadmin/sa: permissions, system procedures, DBCC, automatic schema creation and privilege escalation - caveats</title>
			<pubDate>Mon, 15 Oct 2018 08:30:50 +0000</pubDate>
			<dc:creator><a href="http://www.andreas-wolter.com" title="Show the user profile" class="login user nowrap" rel="bubbletip_user_20"><span class="identity_link_username">andreaswolter</span></a> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c8394@https://www.insidesql.org/blogs/</guid>
			<description>Thank you, S.E.
Btw:
this Blog is actually &quot;closed&quot;.
I have moved to http://andreas-wolter.com/en/blog/ 
Andreas</description>
			<content:encoded><![CDATA[Thank you, S.E.
Btw:
this Blog is actually "closed".
I have moved to http://andreas-wolter.com/en/blog/ 
Andreas]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2013/08/control-server-vs-sysadmin-sa-permissions-privilege-escalation-caveats#c8394</link>
		</item>
		<item>
			<title> S.E. [Visitor] in response to: CONTROL SERVER vs. sysadmin/sa: permissions, system procedures, DBCC, automatic schema creation and privilege escalation - caveats</title>
			<pubDate>Mon, 15 Oct 2018 07:37:11 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_8393">S.E.</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c8393@https://www.insidesql.org/blogs/</guid>
			<description>The SQL Agent problem has been resolved with SQL Server 2016. When creating/modifying a job with/to a different owner, you receive the following messages, respectively:
&lt;p&gt;
Only a member of the sysadmin server role can &lt;em&gt;&lt;strong&gt;add&lt;/strong&gt;&lt;/em&gt; a job for a different owner with @owner_login_name. (Microsoft SQL Server, Error: 14515)
&lt;/p&gt;
&lt;p&gt;
Only a system administrator can &lt;em&gt;&lt;strong&gt;reassign&lt;/strong&gt;&lt;/em&gt; ownership of a job. (Microsoft SQL Server, Error: 14242)
&lt;/p&gt;

I tested this with the GUI but as far as I checked the code, the check is present inside the called SPs.</description>
			<content:encoded><![CDATA[The SQL Agent problem has been resolved with SQL Server 2016. When creating/modifying a job with/to a different owner, you receive the following messages, respectively:
<p>
Only a member of the sysadmin server role can <em><strong>add</strong></em> a job for a different owner with @owner_login_name. (Microsoft SQL Server, Error: 14515)
</p>
<p>
Only a system administrator can <em><strong>reassign</strong></em> ownership of a job. (Microsoft SQL Server, Error: 14242)
</p>

I tested this with the GUI but as far as I checked the code, the check is present inside the called SPs.]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2013/08/control-server-vs-sysadmin-sa-permissions-privilege-escalation-caveats#c8393</link>
		</item>
		<item>
			<title>andreaswolter [Member] in response to: SQL Server Database Ownership: survey results &#38; recommendations</title>
			<pubDate>Thu, 30 Nov 2017 20:25:08 +0000</pubDate>
			<dc:creator><a href="http://www.andreas-wolter.com" title="Show the user profile" class="login user nowrap" rel="bubbletip_user_20"><span class="identity_link_username">andreaswolter</span></a> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c8392@https://www.insidesql.org/blogs/</guid>
			<description>Hi Michael,
I saw that. And only today I found time to do the repro - successfully, indeed.
See my complete answer at: http://andreas-wolter.com/en/sql-server-database-ownership-survey-results-recommendations</description>
			<content:encoded><![CDATA[Hi Michael,
I saw that. And only today I found time to do the repro - successfully, indeed.
See my complete answer at: http://andreas-wolter.com/en/sql-server-database-ownership-survey-results-recommendations]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2014/06/sql-server-database-ownership-survey-results-recommendations#c8392</link>
		</item>
		<item>
			<title> Michael [Visitor] in response to: SQL Server Database Ownership: survey results &#38; recommendations</title>
			<pubDate>Thu, 30 Nov 2017 10:01:39 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_8391">Michael</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c8391@https://www.insidesql.org/blogs/</guid>
			<description>Hi Andreas,

I have reposted my post on your new blog and would be interested in your findings.</description>
			<content:encoded><![CDATA[Hi Andreas,

I have reposted my post on your new blog and would be interested in your findings.]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2014/06/sql-server-database-ownership-survey-results-recommendations#c8391</link>
		</item>
		<item>
			<title>andreaswolter [Member] in response to: SQL Server Database Ownership: survey results &#38; recommendations</title>
			<pubDate>Sun, 12 Nov 2017 19:10:10 +0000</pubDate>
			<dc:creator><a href="http://www.andreas-wolter.com" title="Show the user profile" class="login user nowrap" rel="bubbletip_user_20"><span class="identity_link_username">andreaswolter</span></a> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c8390@https://www.insidesql.org/blogs/</guid>
			<description>Hello Michael.
First of all: My blog is now officially at http://andreas-wolter.com/en/blog/
You are welcome to post or even re-post your comment there.
As of now to me this is very odd. Maybe I am missing something, but this is what you did:
Create WindowsLogin (disabled in Domain)
Alter database set authorization = thatLogin
-&gt;Login disappeared
I have never seen that, but I will try a repro and get back to you, preferably on my new blog.</description>
			<content:encoded><![CDATA[Hello Michael.
First of all: My blog is now officially at http://andreas-wolter.com/en/blog/
You are welcome to post or even re-post your comment there.
As of now to me this is very odd. Maybe I am missing something, but this is what you did:
Create WindowsLogin (disabled in Domain)
Alter database set authorization = thatLogin
->Login disappeared
I have never seen that, but I will try a repro and get back to you, preferably on my new blog.]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2014/06/sql-server-database-ownership-survey-results-recommendations#c8390</link>
		</item>
		<item>
			<title> Michael [Visitor] in response to: SQL Server Database Ownership: survey results &#38; recommendations</title>
			<pubDate>Wed, 08 Nov 2017 15:38:30 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_8389">Michael</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c8389@https://www.insidesql.org/blogs/</guid>
			<description>Hi Andreas, thank you for a brilliant article. Can I ask, in your opinion, can you see an issue with the following scenario. We have created a domain account which is a member of Domain Users. It has Password Never Expires, User Cannot Change Password and Account is Disabled. I have created a new database with my SysAdmin account (which made me the owner) then changed the database owner with ALTER AUTHORIZATION ON DATABASE::[database_name] TO [new_Domain_account];

Now the owner of my new database is the Domain account that is actually disabled and when I check Logins on the SQL Instance it doesn&#039;t exist there..!

Am I missing something as this seems to be secure but I can&#039;t believe that I haven&#039;t found any sort of reference to this approach on the Internet..!

Thanks,

Michael</description>
			<content:encoded><![CDATA[Hi Andreas, thank you for a brilliant article. Can I ask, in your opinion, can you see an issue with the following scenario. We have created a domain account which is a member of Domain Users. It has Password Never Expires, User Cannot Change Password and Account is Disabled. I have created a new database with my SysAdmin account (which made me the owner) then changed the database owner with ALTER AUTHORIZATION ON DATABASE::[database_name] TO [new_Domain_account];

Now the owner of my new database is the Domain account that is actually disabled and when I check Logins on the SQL Instance it doesn't exist there..!

Am I missing something as this seems to be secure but I can't believe that I haven't found any sort of reference to this approach on the Internet..!

Thanks,

Michael]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2014/06/sql-server-database-ownership-survey-results-recommendations#c8389</link>
		</item>
		<item>
			<title>andreaswolter [Member] in response to: SQL Server Database Ownership: survey results &#38; recommendations</title>
			<pubDate>Tue, 07 Feb 2017 23:09:57 +0000</pubDate>
			<dc:creator><a href="http://www.andreas-wolter.com" title="Show the user profile" class="login user nowrap" rel="bubbletip_user_20"><span class="identity_link_username">andreaswolter</span></a> <span class="bUser-member-tag">[Member]</span></dc:creator>
			<guid isPermaLink="false">c8385@https://www.insidesql.org/blogs/</guid>
			<description>PS: Here the link, just stumbled over it: http://markread.net/2014/05/04/how-to-change-the-owner-of-a-secondary-replica-database-to-sa/</description>
			<content:encoded><![CDATA[PS: Here the link, just stumbled over it: http://markread.net/2014/05/04/how-to-change-the-owner-of-a-secondary-replica-database-to-sa/]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2014/06/sql-server-database-ownership-survey-results-recommendations#c8385</link>
		</item>
		<item>
			<title> Marcus [Visitor] in response to: Schema-design for SQL Server: recommendations for Schema-design with security in mind</title>
			<pubDate>Thu, 27 Oct 2016 11:28:22 +0000</pubDate>
			<dc:creator><span class="user anonymous" rel="bubbletip_comment_8363">Marcus</span> <span class="bUser-anonymous-tag">[Visitor]</span></dc:creator>
			<guid isPermaLink="false">c8363@https://www.insidesql.org/blogs/</guid>
			<description>Hallo Andreas,

vielen Dank für diesen sehr interessanten hilfreichen Artikel.

Grüße
Marcus</description>
			<content:encoded><![CDATA[Hallo Andreas,

vielen Dank für diesen sehr interessanten hilfreichen Artikel.

Grüße
Marcus]]></content:encoded>
			<link>https://www.insidesql.org/blogs/andreaswolter/2016/02/schema-design-for-sql-server-recommendations-for-schema-design-with-security-in-mind#c8363</link>
		</item>
			</channel>
</rss>
