<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>SqlBits</title>
        <link>http://geekswithblogs.net/twickers/category/7034.aspx</link>
        <description>SQL Server community conferences.</description>
        <language>en-GB</language>
        <copyright>Liam Westley</copyright>
        <managingEditor>liam.westley@tigernews.co.uk</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>SqlBits podcast</title>
            <link>http://geekswithblogs.net/twickers/archive/2007/10/21/116222.aspx</link>
            <description>Craig Murphy was wily enough to record an interview with both myself and fellow developer Matt Barrett after the SqlBits conference.  Enhanced by the 80's music of Reading Bowl you can now experience the effect that several (free) pints of Guinness has on my diction;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.craigmurphy.com/blog/?p=743"&gt;http://www.craigmurphy.com/blog/?p=743&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks to Craig for the tidy editing (he must have done some, believe me).&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=116222"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=116222" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/twickers/aggbug/116222.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Liam Westley</dc:creator>
            <guid>http://geekswithblogs.net/twickers/archive/2007/10/21/116222.aspx</guid>
            <pubDate>Sun, 21 Oct 2007 21:50:10 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/twickers/comments/116222.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/twickers/archive/2007/10/21/116222.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/twickers/comments/commentRss/116222.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/twickers/services/trackbacks/116222.aspx</trackback:ping>
        </item>
        <item>
            <title>SqlBits - notes from grok on using NTFS file encryption to secure SQL Server databases on laptop computers</title>
            <link>http://geekswithblogs.net/twickers/archive/2007/10/10/115981.aspx</link>
            <description>This is a summary of the grok talk I gave at the SqlBits day at Microsoft UK in Reading on 6th October 2007. Thanks for all the delegates who finished lunch early to make the grok talks and I hope it proved useful.&lt;br /&gt;
&lt;br /&gt;
The target audience for this grok talk was those developers using SQL Server (2000 or 2005) on their laptops who might want to secure those databases. This issue is becoming more important as horror stories of lost laptops containing sensitive customer information now seem to appear every other week.&lt;br /&gt;
&lt;br /&gt;
Admittedly if you use Windows Vista Ultimate / Windows Vista Enterprise and you can make use of BitLocker to encrypt the entire hard drive the job is already done for you.  This is especially true if you have a built in TPM module and a fingerprint reader to accompany it.&lt;br /&gt;
&lt;br /&gt;
If you have any other flavour of Windows Vista (including, unbelievably, Vista Business) or Windows XP, we don't have BitLocker and we have a security hole.  If your laptop is stolen, the drive can be removed placed in an external caddy, and straight away the MDF and LDF can be copied to another SQL Server. NTFS standard file security is implemented by the operating system booting from that drive, so read only access is easy and once an MDF/LDF is attached to another database, user rights within the original SQL Server don't apply.&lt;br /&gt;
&lt;br /&gt;
&lt;hr style="width: 100%; height: 2px;" /&gt;
&lt;br /&gt;
&lt;font size="2"&gt;One solution is to make use of &lt;span style="font-weight: bold;"&gt;NTFS file encryption&lt;/span&gt;.&lt;/font&gt;&lt;br style="font-weight: bold;" /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Ideally don't start with an existing SQL Server installation, as you want to install SQL Server as a known user, not as the default 'Local System' or 'Network service'.&lt;br /&gt;
&lt;ol&gt;
    &lt;li&gt;Create a new user (say, Sql2005Developer) with a complex password&lt;/li&gt;
    &lt;li&gt;Install SQL Server as a named instance, running as this new user&lt;/li&gt;
    &lt;li&gt;(optional) During install you can specify a separate data directory, say &lt;span style="font-style: italic;"&gt;C:\encrypted\Sql2005Dev&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;Once everything is installed - login as the new user, and use Windows Explorer to encrypt your data directory (make a cup of tea if you have any decent sized DBs in this directory - it takes time to encrypt/decrypt large files)&lt;/li&gt;
&lt;/ol&gt;
The reason for using a named user is to give you the ability to easily encrypt/decrypt directories by logging in as that user.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Extra 1 -&lt;/span&gt; Don't forget the password for SQL Server user (or see Extra 2)&lt;br /&gt;
&lt;br /&gt;
If you forget the SQL Server user password, and you reset it from the Administrator account the encryption key is reset and all the currently encrypted files will become unreadable.  So make a backup with ...&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Extra 2 -&lt;/span&gt; command line encryption tool CIPHER (see cipher /help for command line options for this tool)&lt;br /&gt;
&lt;br /&gt;
 &lt;span style="font-style: italic;"&gt;cipher /e /a /f &amp;lt;directory-name&amp;gt;&lt;/span&gt;    ENCRYPTS directory, including all files&lt;br /&gt;
 &lt;span style="font-style: italic;"&gt;cipher /d /a /f &amp;lt;directory-name&amp;gt;&lt;/span&gt;    DECRYPTS directory, including all files&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-weight: bold;"&gt;Demo of cipher &lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
    &lt;li&gt;Create the following directories, &lt;span style="font-style: italic;"&gt;c:\temp\encrypted&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;c:\temp\not-encrypted&lt;/span&gt; &lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;At a command line use &lt;span style="font-style: italic;"&gt;cipher&lt;/span&gt; to encrypt directory (if viewed in Windows Explorer the folder name should be a different colour to indicate it is encrypted)&lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;Now create a new text file in 'encrypted', copy to 'not-encrypted' - &lt;span style="font-weight: bold;"&gt;it is still encrypted, encryption moved with file&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;Create a new text file in not-encrypted (this should not appear in a different colour as it is not encrypted)&lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;At a command line open a new command line running under the administrator user, &lt;span style="font-style: italic;"&gt;runas /user:administrator cmd&lt;/span&gt;, and try to edit the encrypted text files (can't read either, encryption followed file)&lt;/li&gt;
    &lt;li&gt;If you need to backup the encryption keys use, &lt;span style="font-style: italic;"&gt;cipher /r:&amp;lt;cert-filename&amp;gt; &amp;lt;directory-name&amp;gt;&lt;/span&gt; to backup the keys to the two key files. These can then used to restore encrypted files, see additional information on the cipher tool on microsoft.com.&lt;br /&gt;
    &lt;/li&gt;
&lt;/ol&gt;
&lt;span style="font-weight: bold;"&gt;Extra 3&lt;/span&gt; - removing the new SQL Server named user from fast user switching user list&lt;br /&gt;
&lt;br /&gt;
If you do have a named user for SQL Server, this appears on the user list in Windows XP (only appears if fast user switching is enabled, and not for machines on a domain).&lt;br /&gt;
&lt;ol&gt;
    &lt;li&gt;In &lt;span style="font-style: italic;"&gt;regedit&lt;/span&gt;, locate SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList\ in the HKEY_LOCAL_MACHINE branch.&lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;Right click on the &lt;span style="font-style: italic;"&gt;UserList&lt;/span&gt; and select &lt;span style="font-style: italic;"&gt;New, DWORD value&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;Rename &lt;span style="font-style: italic;"&gt;New Value #1&lt;/span&gt; to the new SQL Server named user account&lt;/li&gt;
&lt;/ol&gt;
The name will now disappear from the user list. This prevents the easy method of logging in as the SQL Server user to perform encryption operations via Windows Explorer. However, you can always choose to use the &lt;span style="font-style: italic;"&gt;runas&lt;/span&gt; command to login as the SQL Server named user, opening a new command window in which you can run the &lt;span style="font-style: italic;"&gt;cipher&lt;/span&gt; tool.&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115981"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115981" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/twickers/aggbug/115981.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Liam Westley</dc:creator>
            <guid>http://geekswithblogs.net/twickers/archive/2007/10/10/115981.aspx</guid>
            <pubDate>Wed, 10 Oct 2007 07:32:38 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/twickers/comments/115981.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/twickers/archive/2007/10/10/115981.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/twickers/comments/commentRss/115981.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/twickers/services/trackbacks/115981.aspx</trackback:ping>
        </item>
        <item>
            <title>SqlBits - a great conference </title>
            <link>http://geekswithblogs.net/twickers/archive/2007/10/07/115914.aspx</link>
            <description>&lt;p&gt;Just a quick scribble to thank the organisers of &lt;a href="http://sqlbits.com"&gt;SqlBits&lt;/a&gt; for a superb event on Saturday.&lt;/p&gt;
&lt;p&gt;There were some great sessions, especially David McMahon's Top 10 SQL Keywords. Not for the Led Zep Top Of The Pops countdown, but some real gems of knowledge. I've never been to a session where you can hear all the biros in the room simultaneously clicking open and furiously scribbling down notes.  The nugget being scribbled was the SQL full text query search term &lt;strong&gt;FORMSOF(INFLECTION, 'ride')&lt;/strong&gt; - which will match &lt;em&gt;ride, ridden, riding&lt;/em&gt; etc.  I know, I wrote it down too.&lt;/p&gt;
&lt;p&gt;I came away eager to investigate some new areas, and humbled by the DBAs and professional DB guys who slug through databases day in and day out rather than dabbling as a general developer (as I do).&lt;/p&gt;
&lt;p&gt;The day was expertly organised, with everything running smoothly. The free transport from Reading station was top stuff (thanks to sponsors Redgate), and I really enjoyed the evening out at Reading 10 pin bowling (thanks to Solid Quality Mentors). I may be baised on the bowling as I got the top score of 142, helped by what can only be described as a very spawny three strikes in row. I never knew Guiness was such a good sporting aid.&lt;/p&gt;
&lt;p&gt;Roll on next summer for SqlBits II (or will it be released as 'SqlBits 2008' in &lt;strike&gt;November&lt;/strike&gt; &lt;strike&gt;March&lt;/strike&gt; July).&lt;/p&gt;
&lt;p&gt;P.S. for those who attended my lunchtime grok talks on 'SQL Server Alias usage' and 'Using NTFS file encryption to secure your laptop databases' I'll be posting the sample code and bullet points via this blog in the next few days.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115914"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115914" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/twickers/aggbug/115914.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Liam Westley</dc:creator>
            <guid>http://geekswithblogs.net/twickers/archive/2007/10/07/115914.aspx</guid>
            <pubDate>Sun, 07 Oct 2007 18:49:24 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/twickers/comments/115914.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/twickers/archive/2007/10/07/115914.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/twickers/comments/commentRss/115914.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/twickers/services/trackbacks/115914.aspx</trackback:ping>
        </item>
        <item>
            <title>UK SQL Server community day, 6th October 2007, now open for registration</title>
            <link>http://geekswithblogs.net/twickers/archive/2007/08/28/115014.aspx</link>
            <description>Following on from the highly regarded DeveloperDeveloperDeveloper days, some top guys from the UK developer community have organised a similar event for those dabbling with SQL Server. &lt;br /&gt;
&lt;br /&gt;
More details, and registration are now available at &lt;a href="http://www.sqlbits.com"&gt;http://www.sqlbits.com&lt;/a&gt;.  Just like DDD it will be held on a Saturday at Microsoft's UK headquarters in Reading.&lt;br /&gt;
&lt;br /&gt;
This is a welcome addition to the community calendar, given that database sessions at DDD can often become neglected as they aren't seen as dealing with the latest whizz-bang framework or development paridigm. I would also hope that by concentrating on SQL Server for a full day like this, it can bring in DBAs as well as developers in a similar manner to the manner in which WebDD attracted designers as well as developers.&lt;br /&gt;
&lt;p&gt;Technorati tags: &lt;a rel="tag" href="http://technorati.com/tag/sqlbits"&gt;sqlbits&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115014"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=115014" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/twickers/aggbug/115014.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Liam Westley</dc:creator>
            <guid>http://geekswithblogs.net/twickers/archive/2007/08/28/115014.aspx</guid>
            <pubDate>Mon, 27 Aug 2007 23:18:40 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/twickers/comments/115014.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/twickers/archive/2007/08/28/115014.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/twickers/comments/commentRss/115014.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/twickers/services/trackbacks/115014.aspx</trackback:ping>
        </item>
    </channel>
</rss>