<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Darknet - The Darkside &#187; tonyenkiducx</title>
	<atom:link href="http://www.darknet.org.uk/author/tonyenkiducx/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darknet.org.uk</link>
	<description>Ethical Hacking, Penetration Testing &#38; Computer Security</description>
	<lastBuildDate>Tue, 07 Feb 2012 18:34:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CLR and SQL Server 2005</title>
		<link>http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/</link>
		<comments>http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/#comments</comments>
		<pubDate>Fri, 16 Jun 2006 04:47:37 +0000</pubDate>
		<dc:creator>tonyenkiducx</dc:creator>
				<category><![CDATA[Database Hacking]]></category>
		<category><![CDATA[CLR]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[dbms]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[MSSQL2000]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[SQL-Server]]></category>
		<category><![CDATA[SQL-Server-2005]]></category>
		<category><![CDATA[sql2000]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/</guid>
		<description><![CDATA[Microsoft has taken a bit of a leap with the integration of .net into SQL Server, and a lot of developers(Myself included) are worrying about what security implications this could have. DevX.com have taken an in-depth look into the guts of it, and spilled them onto a page for us all to look at. CAS [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Microsoft has taken a bit of a leap with the integration of .net into SQL Server, and a lot of developers(Myself included) are worrying about what security implications this could have.  DevX.com have taken an in-depth look into the guts of it, and spilled them onto a page for us all to look at.</p>
<blockquote><p>CAS provides a code-based rather than user-based authorization scheme to prevent various kinds of luring and other code attacks. But how does that security scheme coexist with SQL Server 2005&#8242;s own, newly enhanced security features? By default your .NET code is reasonably secure, but it&#8217;s all too easy for the two security schemes to butt heads and cause you grief. In this article I&#8217;ll look briefly at the concept behind CAS and a few new security features in SQL Server 2005, then explore how to make the two systems work for you instead of against you as you take advantage of these advanced programming features in SQL Server.</p></blockquote>
<p>They seem suitably impressed, but sensibly wary at the same time.</p>
<p></p>
<blockquote><p>The good news is that Microsoft did a great job bringing together the security systems of SQL Server and the Common Language Runtime, with tools to control code. But there are some interesting features&#8217; both to watch for and to take advantage of!</p></blockquote>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=CLR+and+SQL+Server+2005+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D251+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/&amp;t=CLR+and+SQL+Server+2005" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/&amp;title=CLR+and+SQL+Server+2005" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/&amp;title=CLR+and+SQL+Server+2005" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/&amp;title=CLR+and+SQL+Server+2005" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/&amp;title=CLR+and+SQL+Server+2005" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F06%2Fclr-and-sql-server-2005%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/06/clr-and-sql-server-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My SQL2005 Diary &#8211; Part 2</title>
		<link>http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/</link>
		<comments>http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/#comments</comments>
		<pubDate>Thu, 01 Jun 2006 04:07:14 +0000</pubDate>
		<dc:creator>tonyenkiducx</dc:creator>
				<category><![CDATA[Database Hacking]]></category>
		<category><![CDATA[Databases]]></category>
		<category><![CDATA[dbms]]></category>
		<category><![CDATA[MSDN]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[MSSQL2000]]></category>
		<category><![CDATA[MSSQL2005]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sql2000]]></category>
		<category><![CDATA[Upgrade]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/</guid>
		<description><![CDATA[So over a month down the line, our SQL2005 upgrade project should now be in the workable prototype stage. But as with all things that &#8220;should&#8221; be(More security in IE, Great Britain ruling the world and my kitchen being fitted), it&#8217;s not, it&#8217;s not even close. On top of this our company is currently undergoing [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>So over a month down the line, our SQL2005 upgrade project should now be in the workable prototype stage.  But as with all things that &#8220;should&#8221; be(More security in IE, Great Britain ruling the world and my kitchen being fitted), it&#8217;s not, it&#8217;s not even close.  On top of this our company is currently undergoing some &#8220;painful but neccessary steps to streamline our profitiablility in the european market&#8221;.  In other words, lots of people are about to get the chop.  Anyhow, on with the analysis.</p>
<p><strong>SQL Server 2000 -&gt; 2005 upgrade tool.</strong></p>
<p>Overall I&#8217;m impressed with the upgrade tool, it made a fine job of upgrading our code and data, with almost everything going straight into 2005.  All our DTS&#8217;s were wiped as expected, and our custom written security mod was discarded as a &#8220;fault&#8221; in the 2000 install(Not a big deal), but everything else looked fine.  Little were we to know a shitstorm was about to start when we released the 2005 run site to a small group of testers.  As a constant piece of self-evaluation we allow some users to run there own SQL code, it&#8217;s nothing major, just simple &#8220;Get this from here&#8221; stuff, but it allows us to monitor what users can access and when we have to change security or file flow we can be sure that normal users cannot access sensitive data.  Unfortunately 2005 didn&#8217;t have the same notion of security that we do, and decided that encrypted fields that were created using our custom mod weren&#8217;t really that important, so it unencrypted them all using our mod(Hang on, I thought our mod was a &#8220;Fault&#8221;?) and then removed the permissions, allowing users to get direct access to the data.  That&#8217;s a bad thing.  So we pulled the plug immediately and scrapped the whole server, experiment over.</p>
<p>We learnt a couple of important lessons there, the main one being, dont trust the update tool.  It un-encrypted the data without informing us, and removed permissions without raising an error(Allthough the permissions removal was later found buried in the upgrade log).</p>
<p><strong>Initial impressions</strong></p>
<p>There was some fairly impressive(From an MS point of view) changes to how SQL installs that caught our eye, namely the large number of components and features that were disabled by default.  Not least XP_cmdshell, that is generally used to execute external programs or hack into sql databases.  About fucking time too.</p>
<p>If your an MSSQL2000 regular you&#8217;ll be hoping to just boot up 2005 and have your permissions all working, but unfortunately its not that simple.  The security model has changed radically, and your going to have to work a lot harder to keep things secure, but the means to do so have actually been provided this time.  With principals and securables being included this time around, you will have to be a lot more careful, but once your in the know your a lot more secure.  As always the best place to read up on this stuff is the <a href="http://msdn2.microsoft.com/en-us/library/default.aspx">MSDN</a>, particularly <a href="http://msdn2.microsoft.com/en-us/library/ms187648.aspx">this section</a> on the changes between 2000 and 2005.</p>
<p><strong>Enterprise Server Pricing</strong></p>
<p>While I&#8217;m harping on about how great MSSQL2005 is, a lot of you are sat there wondering why were not using Oracle.  Well the price is the the main reason, and I was going to have a detailed breakdown of the difference in costs between MSSQL2005 and Oracle with our current setup.  But as a friend of mine quite rightly pointed out our setup could be radically changed by deploying Oracle, with us maybe needing less servers and therefore less licenses.  So I&#8217;ll work on the principle that were upgrading to an identical network, but its not a 100% accurate comparison.</p>
<p>MSSQL2005 has a fairly simple licensing scheme, with no issues involving DC or HT chips, and a clear definition of what a &#8220;user&#8221; is and where that user can access the data from.  On average a 1 processor license of SQL Server standard will set you back Â£4500GBP($8300USD), which is a tiny cost for any medium to large company.  If your a fairly small company you can get a 5 CLT(Not to sure what the acronym is, but its a Client Access License) for around Â£600GBP($1100USD).  Now for us we would be looking at per processor, and we have 23 processors running SQL2000, with the rest of the boxes using MSDN versions for development. So in total for our entire setup to go 2005 it would cost us Â£103500GBP($192000USD), which is again a fairly small amount of money for us to spend on replacing our entire database setup.</p>
<p>Now, Oracle.  Its a little bit harder to find out what Oracles charges, and I&#8217;m not going to go into the details, you can find all the relevant info on there website if you wish to check what I&#8217;ve come up with.  I&#8217;ve used the price offered by oracle themselves for a perpetual processor license(Â£23236GBP($42996USD)), but oracles pricing is per core for there enterprise  product, and considering nearly all our servers run on xeons, were looking at a hefty bill.  In total we have 43 &#8220;Oracle&#8221; processors, giving us a total bill of Â£999148GBP($1900000USD).  Yes, thats almost one million pounds.  Again thats not an enormous amount of money for a company our size, but when your compairing the two side by side, you have to wonder where all that extra cost comes from.</p>
<p><strong> For next time</strong></p>
<p></p>
<p>Round 3 will involve us upgrading one of our smaller and less mission critical databases(IT Support) and trying to switch over.  Then we can have a bash at breaking it.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=My+SQL2005+Diary+%E2%80%93+Part+2+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D181+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/&amp;t=My+SQL2005+Diary+%E2%80%93+Part+2" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/&amp;title=My+SQL2005+Diary+%E2%80%93+Part+2" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/&amp;title=My+SQL2005+Diary+%E2%80%93+Part+2" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/&amp;title=My+SQL2005+Diary+%E2%80%93+Part+2" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/&amp;title=My+SQL2005+Diary+%E2%80%93+Part+2" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F06%2Fmy-sql2005-diary-part-2%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/06/my-sql2005-diary-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Barclays Rolls Out Free Anti-Virus Protection for Customers</title>
		<link>http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/</link>
		<comments>http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/#comments</comments>
		<pubDate>Wed, 31 May 2006 08:13:50 +0000</pubDate>
		<dc:creator>tonyenkiducx</dc:creator>
				<category><![CDATA[Malware]]></category>
		<category><![CDATA[Phishing]]></category>
		<category><![CDATA[anti-virus]]></category>
		<category><![CDATA[antivirus]]></category>
		<category><![CDATA[barclays]]></category>
		<category><![CDATA[barclays-bank]]></category>
		<category><![CDATA[computer-security]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[trojans]]></category>
		<category><![CDATA[uk-computer-security]]></category>
		<category><![CDATA[viruses]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/</guid>
		<description><![CDATA[The shocking statistic first, &#8220;56% of consumers do not have active anti-virus on their PCs&#8221;, ok not that shocking but still a bit worrying. Allthough asking if your average user doesn&#8217;t protect themselves on the internet conjures up images of the pope squatting in the woods. The basic F-Secure anti-virus product protects against viruses and [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>The shocking statistic first, &#8220;56% of consumers do not have active anti-virus on their PCs&#8221;, ok not that shocking but still a bit worrying.  Allthough asking if your average user doesn&#8217;t protect themselves on the internet conjures up images of the pope squatting in the woods.</p>
<blockquote><p>The basic F-Secure anti-virus product protects against viruses and spyware. When installed it scans a machine and alerts users if it finds malicious programs installed.</p>
<p>A spokesman for Barclays denied that the deal was a way to limit its liabilities if customers were defrauded.</p>
<p>&#8220;We have a guarantee that if anyone is defrauded through no fault of their own we guarantee their money is safe,&#8221; he said.</p>
<p>&#8220;We&#8217;re trying to stop fraud happening in the first place which is beneficial to them and us,&#8221; he added.</p>
<p>Barclays is the latest bank to try to stop customers falling victim to viruses or other computer-borne scams. </p></blockquote>
<p>So Barclays bank have leapt into action and decided its time to act on it, 4 years after their online service was activated.  Their giving all their online customers free AV protection, provided by F-Secure.  Barclays have bought 1.6million licenses (I wonder what per unit price they got on that?) and the software will include 2 years free updates.  What happens after that?  Probably 56% of their customers will be unprotected again.</p>
<p></p>
<p>Source: <a title="Barlcays go all AV" href="http://news.bbc.co.uk/1/hi/technology/5019856.stm">BBC News</a></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Barclays+Rolls+Out+Free+Anti-Virus+Protection+for+Customers+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D219+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/&amp;t=Barclays+Rolls+Out+Free+Anti-Virus+Protection+for+Customers" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/&amp;title=Barclays+Rolls+Out+Free+Anti-Virus+Protection+for+Customers" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/&amp;title=Barclays+Rolls+Out+Free+Anti-Virus+Protection+for+Customers" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/&amp;title=Barclays+Rolls+Out+Free+Anti-Virus+Protection+for+Customers" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/&amp;title=Barclays+Rolls+Out+Free+Anti-Virus+Protection+for+Customers" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F05%2Fbarclays-rolls-out-free-anti-virus-protection-for-customers%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/05/barclays-rolls-out-free-anti-virus-protection-for-customers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET Memberships and Roles</title>
		<link>http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/</link>
		<comments>http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/#comments</comments>
		<pubDate>Tue, 09 May 2006 04:48:03 +0000</pubDate>
		<dc:creator>tonyenkiducx</dc:creator>
				<category><![CDATA[Web Hacking]]></category>
		<category><![CDATA[4guysfromrolla]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[aspx]]></category>
		<category><![CDATA[computer-security]]></category>
		<category><![CDATA[darknet]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[programmiing]]></category>
		<category><![CDATA[web-application-security]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/</guid>
		<description><![CDATA[If your familiar with asp.net, you&#8217;ll know the feeling of wasting hours searching through countless settings to get an app working, and then the many more hours it takes to tweak IIS to get your site running smoothly. But this is nothing compaired to getting authentication and domain controllers properly integrated. On Microsofts asp.net newsgroup [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>If your familiar with asp.net, you&#8217;ll know the feeling of wasting hours searching through countless settings to get an app working, and then the many more hours it takes to tweak IIS to get your site running smoothly.  But this is nothing compaired to getting authentication and domain controllers properly integrated.  On Microsofts asp.net newsgroup the biggest single security issue mentioned is user error and bad setup, sometimes allowing things as stupid as anonymous users having full control of a web app.</p>
<p>4GuysFromRolla regular .net author <a title="Scott Mitchell" href="http://www.4guysfromrolla.com/ScottMitchell.shtml">Scott Mitchell</a> has written a <a href="http://aspnet.4guysfromrolla.com/articles/120705-1.aspx">kick-ass guide</a> to all things membership and role based, and if your producing an intranet or just a large webapp you will want to take a look.  Allowing .net to manage your permissions and users can not only save you time, but takes out some of the many errors that can sneak in when your managing a large sites security manually.</p>
<p></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=ASP.NET+Memberships+and+Roles+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D191+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/&amp;t=ASP.NET+Memberships+and+Roles" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/&amp;title=ASP.NET+Memberships+and+Roles" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/&amp;title=ASP.NET+Memberships+and+Roles" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/&amp;title=ASP.NET+Memberships+and+Roles" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/&amp;title=ASP.NET+Memberships+and+Roles" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F05%2Faspnet-memberships-and-roles%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/05/aspnet-memberships-and-roles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My SQL2005 Diary &#8211; Part1</title>
		<link>http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/</link>
		<comments>http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 05:15:11 +0000</pubDate>
		<dc:creator>tonyenkiducx</dc:creator>
				<category><![CDATA[Database Hacking]]></category>
		<category><![CDATA[darknet]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL-Server]]></category>
		<category><![CDATA[SQL-Server-2005]]></category>
		<category><![CDATA[Travel]]></category>
		<category><![CDATA[Upgrading]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/</guid>
		<description><![CDATA[At the place I pretend to work, the time has come that most developers equally fear and love, upgrade time. We&#8217;ve been using MSSQL2000 for 90% of our work for about 4 years now, and it&#8217;s served us well, but when a change as big as 2005 server comes along, you have to make the [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>At the place I pretend to work, the time has come that most developers equally fear and love, upgrade time. We&#8217;ve been using MSSQL2000 for 90% of our work for about 4 years now, and it&#8217;s served us well, but when a change as big as 2005 server comes along, you have to make the leap and upgrade. I suppose a little background is in order, but I&#8217;ll have to keep it fairly general as we have some strict rules on what we talk about with people outside the development team.</p>
<p><strong>What we do now</strong></p>
<p>The company I work for is a travel company, one of the big ones, and as with most big travel companies we do a huge variety of things. We own resorts, broker our own insurance, sell for third parties, sell our own holidays, own/rent cruise ships, provide resort management for small hotels, and many other things, all of which is managed through 3 internal sites. We handle the telephone auto-diallers in the call centre, stock-management at our red-sea resort, the links to the main UK flight database, the payment system, our SMS marketing servers, basically, everything.<br />
We have 3 main centres, our corporate headquarters in America, the headquarters in the UK and 1 huge sales centre in the UK also. In addition to that we have either fixed line or internet linked terminals at all our resorts, most of the major airports, all of which connects to our headquarters in the UK(It&#8217;s an ex-cupboard upstairs). Because of the international nature of our business, and the resort links the sites must run with 100% uptime 24/7, even though they are all internal.</p>
<p>The sites run on a variety of different platforms, but the vast majority run on old style ASP and SQL server 2000, with a heavy focus on SQL server. To put the workload in perspective, our ASP apps use approximately 5% of our server&#8217;s total resources, with SQL server taking the other 95% and another magical 1% running Reporting Services (An excellent application if you&#8217;ve never used it). We have a multitude of databases, but we currently run on 4 SQL servers with the databases split as equally as we can get them to avoid having to deal with load balancing. The databases range greatly in size, from a few MB for the HR database, too over 50GB for the lead details database (Call centre data).</p>
<p><strong>Why were upgrading</strong></p>
<p>Due to the size and complexity of the database, performance is extremely important and we have our indexes and maintenance jobs tuned to absolute perfection or the entire thing would come crashing down around us, and we would have a lot of angry people looking to have our heads. But recently we have hit SQL server 2000&#8242;s &#8220;roof&#8221;, which is one of the reasons MSSQL has never challenged Oracle in the big enterprise market, and its proving a big problem for us. SQL server 7 was never meant to be an enterprise level database server, and in typical MS style a lot of SQL server 2000 has come from that original code, as have a lot of the problems, mainly its inability to handle truly massive database.  2005 fixes this.</p>
<p>SQL server 2000 was also limited in that it handled everything via transactions and locking, so if you want to retrieve data from the database in an editable format you have to basically lock that information so nobody else can access it.  This can cause all kinds of problems, such as one user being told they can&#8217;t perform an action, because their locking themselves (Usually through bad coding) or a deadlock which is data being altered while they are waiting for a lock to end.  2005 borrows from Oracle in that is uses a combination of locking and versioning, which takes a copy of the data, performs the action on it and then puts it back into the database.  This presents its own problems, but it does mean users can always get to their data.</p>
<p>There are also some significant coding changes, including some very cool stuff that is new to database servers as a whole.  The ability to include code from other languages is one of the main talking points, which basically allows you to execute .net code within your stored procs.  This may not sound so great, but you have to consider how it changes the way a DBA will work.  At the moment database code needs to be specific, because speed is always an issue the server has to constantly optimize the way it works, and it can&#8217;t do this with vague and dynamic code.  For example&#8230;</p>
<p><em>Select * from Invoice</em></p>
<p>Would bring back everything from the invoice table.  But what if we just wanted a price field?</p>
<p><em>Select Invoice.Price From Invoice</em></p>
<p>That&#8217;s easy enough.  But what if we wanted the gross price, for example, from insurance items, but the net price for everything else. We would do this(Pseudo-code);</p>
<p><em>Select (if Invoice.catagory = &#8216;INSURANCE&#8217; then Invoice.Gross else Invoice.net end if) from Invoice</em></p>
<p>Again, it looks simple enough, but unfortunately the real code to do this is very complicated and grossly in-efficient at the moment, not to mention completely impossible in certain situations.  In 2005 the method above would be perfectly legal, and using Microsoft&#8217;s CLR compiler to pre-compile the code,  it&#8217;s considered adequate (It&#8217;s still not as good as plain SQL, but its good enough).  This and the performance improvements in the new server would be enough to warrant an upgrade on their own.</p>
<p><strong>What were doing next</strong></p>
<p>We have setup 2 MSDN&#8217;d 2005 servers and mirrored our web server as a test bed for upgrading our code.  Fortunately the vast majority of our code will still work, but to take advantage of the upgrades and new features we will have to re-write vast swathes of code.  And all of our 500+ DTS&#8217;s and jobs will have to be completely re-written.  And then comes the fun of learning an entirely new interpreter and compiler, and tuning it for maximum performance.</p>
<p></p>
<p>I&#8217;ll keep you updated</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=My+SQL2005+Diary+%E2%80%93+Part1+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D130+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/&amp;t=My+SQL2005+Diary+%E2%80%93+Part1" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/&amp;title=My+SQL2005+Diary+%E2%80%93+Part1" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/&amp;title=My+SQL2005+Diary+%E2%80%93+Part1" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/&amp;title=My+SQL2005+Diary+%E2%80%93+Part1" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/&amp;title=My+SQL2005+Diary+%E2%80%93+Part1" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F03%2Fmy-sql2005-diary-part1%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/03/my-sql2005-diary-part1/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Whos is tonyenkiducx? Who the hell are you?</title>
		<link>http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/</link>
		<comments>http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/#comments</comments>
		<pubDate>Mon, 20 Mar 2006 01:30:08 +0000</pubDate>
		<dc:creator>tonyenkiducx</dc:creator>
				<category><![CDATA[Authors]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[crossbows-catapults]]></category>
		<category><![CDATA[dBase]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Game-Maker]]></category>
		<category><![CDATA[mssql]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[SUN]]></category>
		<category><![CDATA[Visual-Studio]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/</guid>
		<description><![CDATA[Im a tinkerer. I can&#8217;t say I&#8217;m expert in anything more than ASP and MSSQL, but I make a point of playing and learning anything new and wanky. I&#8217;ve tweaked dBase, fiddled with Python, installed Apache, destroyed MS2003 server, plugged in SUN boxes, screamed at VisualStudio, urinated on Fedora, set fire too Game Maker, avoided [...]]]></description>
			<content:encoded><![CDATA[<p></p>
<p>Im a tinkerer.  I can&#8217;t say I&#8217;m expert in anything more than ASP and MSSQL, but I make a point of playing and learning anything new and wanky.  I&#8217;ve tweaked <a title="dBase" href="http://www.dbase.com">dBase</a>, fiddled with <a title="Python" href="http://www.python.org">Python</a>, installed <a title="Apache" href="http://www.apache.org">Apache</a>, destroyed <a title="MS2003 server" href="http://www.microsoft.com/windowsserversystem/default.mspx">MS2003 server</a>, plugged in <a title="SUN" href="http://www.sun.com/">SUN</a> boxes, screamed at <a title="Visual Studio" href="http://msdn.microsoft.com/vstudio/">VisualStudio</a>, urinated on <a title="Fedora" href="http://fedora.redhat.com/">Fedora</a>, set fire too <a title="Game Maker" href="http://www.gamemaker.nl/">Game Maker</a>, avoided Ajax, winked at Web2.0, beat the crap out of <a title="Oracle" href="http://www.oracle.com">Oracle</a>, been mentally scarred by <a title="DreamWeaver" href="http://www.macromedia.com/go/gnavtray_dwmx_home">DreamWeaver</a> and made mad passionate love to ASP.net.</p>
<p>Bottom line, if it exists, I&#8217;ve probably played with it.  My main expertise lies in Microsoft web and database technologies, namely ASP,  anything .net, mssql(From 6.5 up to 2005) and associated web technologies.  I spend 80% of my time on an intranet, the other 20% on our outward facing sites, and the other 20% my boss imagines I have, working on private projects.  In my spare time I play some mmorpgs, spend time with my wife, work on some websites(Except my own), and I&#8217;m currently building a huge <a title="Crossbows And Catapults" href="http://www.boardgamegeek.com/game/2129">crossbows and catapults</a> set for fun and the possible destruction of my flat.</p>
<p></p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Whos+is+tonyenkiducx%3F+Who+the+hell+are+you%3F+http%3A%2F%2Fdarknet.org.uk%2F%3Fp%3D121+from+%40THEdarknet" title="Post to Twitter"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-micro3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/&amp;t=Whos+is+tonyenkiducx%3F+Who+the+hell+are+you%3F" title="Post to Facebook"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook-micro3.png" alt="Post to Facebook" /></a> <a class="tt" href="http://www.google.com/buzz/post?url=http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/&amp;imageurl=" title="Post to Google Buzz"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/gbuzz/tt-gbuzz-micro3.png" alt="Post to Google Buzz" /></a> <a class="tt" href="http://delicious.com/post?url=http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/&amp;title=Whos+is+tonyenkiducx%3F+Who+the+hell+are+you%3F" title="Post to Delicious"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/delicious/tt-delicious-micro3.png" alt="Post to Delicious" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/&amp;title=Whos+is+tonyenkiducx%3F+Who+the+hell+are+you%3F" title="Post to Digg"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-micro3.png" alt="Post to Digg" /></a> <a class="tt" href="http://reddit.com/submit?url=http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/&amp;title=Whos+is+tonyenkiducx%3F+Who+the+hell+are+you%3F" title="Post to Reddit"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/reddit/tt-reddit-micro3.png" alt="Post to Reddit" /></a> <a class="tt" href="http://stumbleupon.com/submit?url=http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/&amp;title=Whos+is+tonyenkiducx%3F+Who+the+hell+are+you%3F" title="Post to StumbleUpon"><img class="nothumb" src="http://www.darknet.org.uk/wp-content/plugins/tweet-this/icons/en/su/tt-su-micro3.png" alt="Post to StumbleUpon" /></a></p></div><div class="AWD_like_button "><iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.darknet.org.uk%2F2006%2F03%2Fwho-the-hell-are-you-an-introduction%2F&amp;send=false&amp;layout=standard&amp;width=&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px; height:40px;" allowTransparency="true"></iframe></div>]]></content:encoded>
			<wfw:commentRss>http://www.darknet.org.uk/2006/03/who-the-hell-are-you-an-introduction/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

