<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title> Mat Stephen's SQL Server WebLog : SQL Server Security</title><link>http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+Security/default.aspx</link><description>Tags: SQL Server Security</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Letter from America 3 - Mischievous reports and feeding the 5000</title><link>http://blogs.technet.com/mat_stephen/archive/2005/08/04/408624.aspx</link><pubDate>Thu, 04 Aug 2005 05:08:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:408624</guid><dc:creator>Mat_Stephen</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mat_stephen/comments/408624.aspx</comments><wfw:commentRss>http://blogs.technet.com/mat_stephen/commentrss.aspx?PostID=408624</wfw:commentRss><description>&lt;P&gt;After all my messing around yesterday, I've decided to create this post in pocket word.&lt;/P&gt;
&lt;P&gt;I attended a securty session yesterday and was reminded of an issue that can send DBAs scuttling from the room when they learn of it's presence, the 'trojan report'.&lt;/P&gt;
&lt;P&gt;Reporting Services (RS) reports can use Windows security to access it's source database, that's to say it can use the securty credentials of the report user.&amp;nbsp; This is what you'd expect we'd recommend since we so often bang on about the advantages of this securty model..&lt;/P&gt;
&lt;P&gt;The trojan report is written by a ner do well, who includes some dodgy code in a report query, maybe via a stored procedure.&amp;nbsp; The dodgy code might be malevolant or just pure naughty, but it won’t work using the insufficient security credentials of the report writer.&amp;nbsp; However, the code will work when run by a CXO, or anyone with the necessary credentials, someone who runs the report to merely return a bunch of sales data.&amp;nbsp; The good news, if you are a DBA with blood rapidly draining from your head, is there is a new &lt;STRONG&gt;EnableIntegratedSecurity &lt;/STRONG&gt;system property that was introduced in SP1 and documented clearly in the readme for sp2.&amp;nbsp; With this property you can disable any trojan report.&lt;/P&gt;
&lt;P&gt;I'm always amazed when I come to events like Techready or TechEd, events that require feeding 5000+ attendees at meal times.&amp;nbsp; These big feeding sessions are positively biblical in proportion.&amp;nbsp; It takes a small army of people to: efficiently herd delegates passed the numerous long tables laden with food, to set the tables, to ferry the food in and out and to finally clear it all up.&amp;nbsp; The whole thing is a logistical marvel.&lt;/P&gt;
&lt;P&gt;When I learned that Jesus fed 5000 people, equiped with only a few loaves of bread and a bag of fish, I was taught that this was an extraordinary achievement.&amp;nbsp; Well, as the son of God I think this was probably a bit of a no brainer - turning a small quantity of food into a vast feast.&amp;nbsp; However, looking back on it now, what is truly amazing is how he managed to distribute all the food with only twelve deciples at his disposal.&lt;/P&gt;
&lt;P&gt;My battery is running low so I better get on and submit this now, before I have another disaster like yesterday.&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=408624" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mat_stephen/archive/tags/Business+Intelligence/default.aspx">Business Intelligence</category><category domain="http://blogs.technet.com/mat_stephen/archive/tags/Reporting+Services/default.aspx">Reporting Services</category><category domain="http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+Security/default.aspx">SQL Server Security</category><category domain="http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+2005/default.aspx">SQL Server 2005</category><category domain="http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+2000/default.aspx">SQL Server 2000</category></item><item><title>SQL Server 2000 Analysis Services Cube Security</title><link>http://blogs.technet.com/mat_stephen/archive/2005/07/20/CubeSecurity.aspx</link><pubDate>Wed, 20 Jul 2005 16:26:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:407951</guid><dc:creator>Mat_Stephen</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mat_stephen/comments/407951.aspx</comments><wfw:commentRss>http://blogs.technet.com/mat_stephen/commentrss.aspx?PostID=407951</wfw:commentRss><description>&lt;P&gt;If you were given an opportunity to create a “cubed” solution for 50,000 different users, would you create one cube with 50,000 roles?&amp;nbsp; Would you create 50,000 cubes – one for each customer?&amp;nbsp; What would you do?&lt;/P&gt;
&lt;P&gt;This is what Mosha Pasumansky and Dave Wickert from the product team suggest for SQL Server 2000 - of course it all changes in SQL Server 2005.&amp;nbsp; The problem in SQL2000, if you use the native method of using roles to implement security, with a large number of user roles, the cubes just grow and grow - which is not good.&amp;nbsp; But there is another way and thats:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dimension Security&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Dynamic Dimension Security in Analysis Services 2000 presentation - by Dave Wickert&lt;BR&gt;&lt;A href="http://www.mosha.com/msolap/ppt/131%20Dynamic%20Security.ppt"&gt;http://www.mosha.com/msolap/ppt/131%20Dynamic%20Security.ppt&lt;/A&gt; &lt;BR&gt;Dynamic Dimension Security in Analysis Services 2000 (presentation notes, project, info, ppt etc) - by Dave Wickert&lt;BR&gt;&lt;A href="http://www.mosha.com/msolap/samples/Dynamic%20security.zip"&gt;http://www.mosha.com/msolap/samples/Dynamic%20security.zip&lt;/A&gt; &lt;BR&gt;Customizing dimension security - by Russ Whitney&lt;BR&gt;&lt;A href="http://www.windowsitpro.com/SQLServer/Article/ArticleID/27305"&gt;http://www.windowsitpro.com/SQLServer/Article/ArticleID/27305&lt;/A&gt; &lt;BR&gt;Use UDFs in the definitions of dimension security&lt;BR&gt;&lt;A href="http://support.microsoft.com/?id=816480"&gt;http://support.microsoft.com/?id=816480&lt;/A&gt; &lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=407951" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mat_stephen/archive/tags/Business+Intelligence/default.aspx">Business Intelligence</category><category domain="http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+Security/default.aspx">SQL Server Security</category><category domain="http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+2000/default.aspx">SQL Server 2000</category></item><item><title>Yankee Group identified a sharp rise in companies' assessment of Microsoft's security level</title><link>http://blogs.technet.com/mat_stephen/archive/2005/04/27/404213.aspx</link><pubDate>Wed, 27 Apr 2005 06:30:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:404213</guid><dc:creator>Mat_Stephen</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mat_stephen/comments/404213.aspx</comments><wfw:commentRss>http://blogs.technet.com/mat_stephen/commentrss.aspx?PostID=404213</wfw:commentRss><description>&lt;P class=MsoNormal&gt;For 3 or 4 years I’ve been telling people how Microsoft has made security and privacy the number one priority.&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;From this Yankee Group article (excerpt below) – it’s good to see perception change and that change based on customer experience.&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;&lt;SPAN&gt;In terms of security, The Yankee Group identified a sharp rise in companies' assessment of Microsoft's security level. On a scale of 1 to 10, companies rated Microsoft's security at 7.6, double the rating in a similar survey conducted last year. Yankee Group analyst Laura DiDio said that Microsoft's shift to a monthly security update cycle and increased efforts to combat security issues were the main drivers behind its new ratings. &lt;/SPAN&gt;&lt;SPAN&gt;In addition, Survey respondents said that Windows servers recover 30 percent more quickly from security attacks than Linux servers.”&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Source: Yankee Group, Laura DiDio&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;SPAN&gt;Link to article: &lt;A title=http://news.com.com/Study+shows+Microsoft,+Linux+costs+neck-and-neck/2100-7344_3-5654036.html href="http://news.com.com/Study+shows+Microsoft%2C+Linux+costs+neck-and-neck/2100-7344_3-5654036.html"&gt;http://news.com.com/Study+shows+Microsoft%2C+Linux+costs+neck-and-neck/2100-7344_3-5654036.html&lt;/A&gt;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=404213" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+Security/default.aspx">SQL Server Security</category></item><item><title>SQL Server Security – you can’t do without it</title><link>http://blogs.technet.com/mat_stephen/archive/2004/12/15/313099.aspx</link><pubDate>Wed, 15 Dec 2004 22:12:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:313099</guid><dc:creator>Mat_Stephen</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/mat_stephen/comments/313099.aspx</comments><wfw:commentRss>http://blogs.technet.com/mat_stephen/commentrss.aspx?PostID=313099</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;Security – I find it very hard to get enthusiastic about security, after all it doesn’t visibly do anything; I’d far rather solve the world’s problems than avoid them.&lt;span style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/span&gt;However this is such an important topic I thought I should blog on the topic sooner rather than later.&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;The aim of this blog is to take some of the pain out of the subject by pointing you to a few resources that I think should give you, the SQL DBA, all you need to sleep peacefully at night; and without too much effort, give you more time to get on and help your business make money.&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;There are two essential things you should do:&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;Firstly, read this article “&lt;b style="mso-bidi-font-weight: normal"&gt;10 Steps to Help Secure SQL Server 2000&lt;/b&gt;” found at:&lt;br /&gt;&lt;a href="http://www.microsoft.com/sql/techinfo/administration/2000/security/securingsqlserver.asp"&gt;http://www.microsoft.com/sql/techinfo/administration/2000/security/securingsqlserver.asp&lt;/a&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;Follow this article and you won’t make any basic mistakes.&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;Secondly, run the “&lt;b style="mso-bidi-font-weight: normal"&gt;Microsoft Baseline Security Analyzer v1.2.1 (for IT Professionals)&lt;/b&gt;” found at:&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=b13ebd6b-e258-4625-b0a3-64a4879f7798&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=b13ebd6b-e258-4625-b0a3-64a4879f7798&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;There’s a handy Q&amp;amp;A for this here: &lt;a href="http://www.microsoft.com/technet/security/tools/mbsaqa.mspx"&gt;http://www.microsoft.com/technet/security/tools/mbsaqa.mspx&lt;/a&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;So if you do these two things I doubt if your boss will ever have grounds to sack you over a failure to implement a secure SQL Server installation – assuming you follow all the good advice.&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;Beyond this there’s a jolly good website that you should have bookmarked known as the “&lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:place w:st="on"&gt;&lt;st1:PlaceName w:st="on"&gt;&lt;b style="mso-bidi-font-weight: normal"&gt;SQL&lt;/b&gt;&lt;/st1:PlaceName&gt;&lt;b style="mso-bidi-font-weight: normal"&gt; &lt;st1:PlaceName w:st="on"&gt;Server&lt;/st1:PlaceName&gt; &lt;st1:PlaceName w:st="on"&gt;Security&lt;/st1:PlaceName&gt; &lt;st1:PlaceType w:st="on"&gt;Center&lt;/st1:PlaceType&gt;&lt;/b&gt;&lt;/st1:place&gt;”, found at: &lt;a href="http://www.microsoft.com/technet/security/prodtech/dbsql/default.mspx"&gt;http://www.microsoft.com/technet/security/prodtech/dbsql/default.mspx&lt;/a&gt;&lt;/p&gt; &lt;p class="MsoNormal" style="MARGIN: 0cm -25.7pt 0pt 0cm"&gt;This provides everything you need to know - particularly on how to stay secure and headline topics. &lt;span style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/span&gt;Have a look at it now!&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=313099" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/mat_stephen/archive/tags/SQL+Server+Security/default.aspx">SQL Server Security</category></item></channel></rss>