<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:thr='http://purl.org/syndication/thread/1.0' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-4989107627143230764</atom:id><lastBuildDate>Fri, 19 Aug 2011 13:11:33 +0000</lastBuildDate><title>Lost in .NET  Code</title><description>Developing software in .NET, Security and other ramblings.</description><link>http://blog.unwindsoftware.com/</link><managingEditor>noreply@blogger.com (James Knowles)</managingEditor><generator>Blogger</generator><openSearch:totalResults>52</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-2461294800747167264</guid><pubDate>Fri, 12 Nov 2010 11:58:00 +0000</pubDate><atom:updated>2010-11-12T11:58:15.269Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>WPF</category><category domain='http://www.blogger.com/atom/ns#'>WP7 Development</category><title>Starting out on Windows 7 Phone Development Cycle</title><description>So I am actually writing an App for Windows 7 Phone . &lt;br /&gt;&lt;br /&gt;I thought I would share my links for actually building a Windows 7 Phone, I come from a background of Windows Forms / ASP.NET so I am possibly like a lot of developers out there just stepping into WPF and Phone development. &lt;br /&gt;&lt;br /&gt;So the good news is nearly all the resources for building an Windows 7 Phone are free! &lt;br /&gt;&lt;br /&gt;So start with you need to goto &lt;br /&gt;&lt;br /&gt;&lt;a href="http://create.msdn.com/en-US/"&gt;http://create.msdn.com/en-US/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Get yourself an account, The app hub is a central place for both Xbox 360 developer information but more importantly to us Windows 7 Phone . &lt;br /&gt;&lt;br /&gt;&lt;a href="http://create.msdn.com/en-us/home/getting_started"&gt;http://create.msdn.com/en-us/home/getting_started&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is&amp;nbsp;where you need to go for downloading the tools. If you don't have a copy of VS you dont neet to worry a version of Visual Studio Express will be downloaded and installed. The average downloaded is 300MB so even thought the initial file is only 3-4mb you should expect another 300-400mb depending on what&amp;nbsp; you have already installed on your machine. &lt;br /&gt;&lt;br /&gt;So where to go next, my suggestion next is actually not to code a thing it is to now read the &lt;a href="http://go.microsoft.com/fwlink/?LinkID=183218"&gt;UI Design and Interactive Guide&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then the&amp;nbsp;&lt;a href="http://go.microsoft.com/?linkid=9730558"&gt;application certification process&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There is no point in obivously&amp;nbsp;creating an app if it is going to fail the certification process&amp;nbsp;or UI design rules. &amp;nbsp;&lt;br /&gt;&lt;br /&gt;So once you have read those it worth IMHO looking at the below resources: &lt;br /&gt;&lt;br /&gt;Free E-Book &lt;br /&gt;Programming Windows Phone 7 by Charles Petzold&lt;br /&gt;&lt;a href="http://www.charlespetzold.com/phone/"&gt;http://www.charlespetzold.com/phone/&lt;/a&gt; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Charles Petzold is a living legend and this book is a great guide to starting out on the Windows 7 Phone. I am still working my way through it but it is certainly great for going through the concepts and giving examples. Highly reccomend reading. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;30 Excellent Windows Phone 7 Examples &lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;a href="http://microsoftfeed.com/2010/30-excellent-windows-phone-7-development-tutorials/"&gt;http://microsoftfeed.com/2010/30-excellent-windows-phone-7-development-tutorials/&lt;/a&gt; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;I have not had a chance to go through all of the examples here but so far they been great. Worth a peek. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;The App centre itself has lots of links and resources. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Below is the link for Windows Phone Development &lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ff402535(v=VS.92).aspx"&gt;http://msdn.microsoft.com/en-us/library/ff402535(v=VS.92).aspx&lt;/a&gt; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;This is a great resources for indepth and starting knowledge and well worth a bookmark. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Useful Forums &lt;br /&gt;&amp;nbsp; &lt;br /&gt;Microsoft Offical App Hub Forums &lt;br /&gt;&lt;a href="http://go.microsoft.com/?linkid=9730558"&gt;http://go.microsoft.com/?linkid=9730558&lt;/a&gt; &lt;br /&gt;&amp;nbsp; &lt;br /&gt;I will update this post as I found more useful resources and as my knowledge get better on WP7 . &lt;br /&gt;&amp;nbsp;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-2461294800747167264?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2010/11/starting-out-on-windows-7-phone.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-5816256472512281246</guid><pubDate>Thu, 21 Oct 2010 10:56:00 +0000</pubDate><atom:updated>2010-10-24T20:21:25.153+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Running a software company</category><category domain='http://www.blogger.com/atom/ns#'>LDNUG</category><title>Last night at LDNUG</title><description>So hopefully I did not bore to many people last night with my talk about Running a Tiny Software Company. &lt;a href="http://www.unwindsoftware.com/presentations/Three-years-of-running-a-Tiny-software-company.pptx"&gt;Link here for the presentation&lt;/a&gt;&amp;nbsp; . It was good fun to do if not slightly nerve racking at the start. &lt;br /&gt;&lt;br /&gt;Was great to connect with so many people and really enjoyed the other presentations there, certainly the Sass, html&amp;nbsp;5&amp;nbsp;presentation was useful for me in terms of actually projects for the future and now. Mobile application development platform talk was something I was really looking forward to and it did not disappoint,&amp;nbsp;I will be having a look at the platform described in some detail over the weeks ahead.&amp;nbsp; &lt;br /&gt;&lt;br /&gt;The Pair programming presentation was pretty cool, I have never paired programmed so it was interesting insight and I thought the role play was good fun and maybe a good way to present a topic that&amp;nbsp;must be hard to put across in just slides.&lt;br /&gt;&lt;br /&gt;Overall really enjoyed the night, a few beers afterwards&amp;nbsp;and then a&amp;nbsp;dash homewards&amp;nbsp;as I was slightly&amp;nbsp;past my curfew for&amp;nbsp;the beer pass.&lt;br /&gt;&lt;br /&gt;Thanks to Toby for allowing me to speak.&lt;br /&gt;&lt;br /&gt;Edit: Review also here by Danny Simper from Adgistics &lt;a href="http://www.adgistics.com/blog/post/2010/10/22/What-is-a-geek.aspx"&gt;http://www.adgistics.com/blog/post/2010/10/22/What-is-a-geek.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-5816256472512281246?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2010/10/last-night-at-ldnug.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-3056591153237120728</guid><pubDate>Thu, 19 Aug 2010 17:07:00 +0000</pubDate><atom:updated>2010-08-19T18:07:10.490+01:00</atom:updated><title>Weak Passwords and mixing passwords</title><description>The last couple of months one of the core areas I have noticed is that brute force attacks on systems are becoming more common place. This is not exactly new news but one of things that I noticed is that companies are still using passwords at administrator level in one or more places. As note more to myself than to anybody else it is to make sure that in my personal and my business accounts I am using one password unqiuely with each account.&lt;br /&gt;&lt;br /&gt;If nothing else if one system gets compromised you at least have a chance that others will not have been.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-3056591153237120728?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2010/08/weak-passwords-and-mixing-passwords.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-6442916923723302832</guid><pubDate>Tue, 17 Aug 2010 23:36:00 +0000</pubDate><atom:updated>2010-08-18T00:58:02.528+01:00</atom:updated><title>Back to Blogging</title><description>&lt;div&gt;Been a while since I actually blogged for a number of reasons ... The main one being that my wife and I had a baby girl Emily, which has consumed alot of my time up ;) . Also with Blogger changing there policy on FTP it has taken me some time to change the systems and get this blog back up and running.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;... O yes and one other little thing..&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_NzIeYXjEyao/TGshq08WQXI/AAAAAAAAAAc/7Ig-gNhnMQo/s1600/Micrsoft-Email-ISV.jpg"&gt;&lt;img style="WIDTH: 230px; HEIGHT: 95px; CURSOR: hand" id="BLOGGER_PHOTO_ID_5506531989040546162" border="0" alt="" src="http://3.bp.blogspot.com/_NzIeYXjEyao/TGshq08WQXI/AAAAAAAAAAc/7Ig-gNhnMQo/s320/Micrsoft-Email-ISV.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;.. We have been busy also at work.&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-6442916923723302832?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2010/08/back-to-blogging.html</link><author>noreply@blogger.com (James Knowles)</author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_NzIeYXjEyao/TGshq08WQXI/AAAAAAAAAAc/7Ig-gNhnMQo/s72-c/Micrsoft-Email-ISV.jpg' height='72' width='72'/><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-6779946821265720157</guid><pubDate>Tue, 17 Aug 2010 21:11:00 +0000</pubDate><atom:updated>2010-08-17T22:11:35.438+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>test</category><title>Test Test 123</title><description>Testing posting on a new domain..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-6779946821265720157?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2010/08/test-test-123.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-7093197826442389192</guid><pubDate>Fri, 03 Jul 2009 14:58:00 +0000</pubDate><atom:updated>2009-07-03T16:04:03.413+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Eommerce</category><title>Authorize.net lessons for etailers</title><description>First things first I wish Authorize.net team the best of luck and speed in fixing there network.&lt;br /&gt;&lt;br /&gt;Lessons for etailers though is to *if* possible build a second payment provider into the online checkout system.  &lt;a href="http://www.dabs.com/"&gt;www.dabs.com&lt;/a&gt; are great example of site that has multiple paymet options at checkout. This not only gives consumers choice but also provides resilences into your online payment solution.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-7093197826442389192?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2009/07/authorizenet-lessons-for-etailers.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-6336024320370588126</guid><pubDate>Thu, 12 Mar 2009 23:07:00 +0000</pubDate><atom:updated>2009-03-12T23:16:43.664Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Rant</category><category domain='http://www.blogger.com/atom/ns#'>Disbelief</category><category domain='http://www.blogger.com/atom/ns#'>BBC</category><title>Is this not illegal?</title><description>&lt;a href="http://news.bbc.co.uk/1/hi/programmes/click_online/7932816.stm"&gt;http://news.bbc.co.uk/1/hi/programmes/click_online/7932816.stm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Last time I looked it was illegal to do this type of thing either for profit or demonstration purpose.&lt;br /&gt;&lt;br /&gt;"Almost 22,000 computers made up Click's network of hijacked machines, which has now been disabled."&lt;br /&gt;&lt;br /&gt;"If this exercise had been done with criminal intent it would be breaking the law. "&lt;br /&gt;&lt;br /&gt;What ? using other people machines to send traffic and there bandwidth is not already a misuses of there network ?? Does that not break the Computer Mis Use act ? What if some of those machines where on mobile networks where they were paying by the meg for there bandwidth ??&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-6336024320370588126?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2009/03/is-this-not-illegal.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-5383096825502193590</guid><pubDate>Wed, 07 Jan 2009 10:33:00 +0000</pubDate><atom:updated>2009-01-08T18:48:55.777Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>SBS Server 2003</category><title>Moving a SUSDB Database on SBS 2003</title><description>WSUS database by default tend to be on the C drive, which is all good until you start to run out of space.&lt;br /&gt;&lt;br /&gt;The problem then comes in moving the database from C: to often your data drive in my example D:&lt;br /&gt;&lt;br /&gt;The biggest problem people have in doing this is actually connecting to the database.&lt;br /&gt;&lt;br /&gt;Most people like point and click tools like SQL Server Management Studio or Express edition&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=C243A5AE-4BD1-4E3D-94B8-5A0F62BF7796&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;MAKE SURE YOU HAVE A BACKUP BEFORE YOU START THIS.&lt;br /&gt;&lt;br /&gt;To connect to the database you need to use the following address as the Server Name:&lt;br /&gt;&lt;br /&gt;&lt;a href="file://pipe/mssql$microsoft##ssee/sql/query"&gt;file://pipe/mssql$microsoft##ssee/sql/query&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I connected through using this address as Administrator which seem to work ;-) Once you have a connection in the database.&lt;br /&gt;&lt;br /&gt;The rest becomes alot simplier in terms of moving the SUSDB . Expand the database list and you should see SUSDB .&lt;br /&gt;&lt;br /&gt;Before you do this though make a note of were the files are !! ldf and the mdf ;-)&lt;br /&gt;&lt;br /&gt;Right click on the database&lt;br /&gt;&lt;br /&gt;Task -&gt; Detach&lt;br /&gt;&lt;br /&gt;you will need to select the option "Drop Connections" otherwise it will normally fail to detach.&lt;br /&gt;&lt;br /&gt;Once you have detached the database. *COPY* ldf and mdf file to your new location.&lt;br /&gt;&lt;br /&gt;Once copied you simple need to Attach the database back in again. Right click on Database -&gt; Attach&lt;br /&gt;&lt;br /&gt;Locate the mdf file in the new location and attach the database back.&lt;br /&gt;Once you are happy that database is re-attached correctly and you have checked the system is working, you can delete you old mdf and ldf file. Personally I just copied them off onto a USB drive just in case. You should then have some space back on your C drive.&lt;br /&gt;&lt;br /&gt;[UPDATE]&lt;br /&gt;Make sure you check the permissions on the database before you start this procedure just in case.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-5383096825502193590?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2009/01/moving-susdb-database-on-sbs-2003.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-5927790006975968398</guid><pubDate>Thu, 01 Jan 2009 19:59:00 +0000</pubDate><atom:updated>2009-01-01T19:59:44.268Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>OT Personal</category><title>Happy New Year</title><description>Happy new year to all.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-5927790006975968398?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2009/01/happy-new-year.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-582790411018543301</guid><pubDate>Mon, 22 Dec 2008 12:35:00 +0000</pubDate><atom:updated>2008-12-22T12:38:00.334Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>IE8</category><category domain='http://www.blogger.com/atom/ns#'>Windows XP</category><title>Removing IE8 on Windows XP</title><description>&lt;p&gt;Had a few people run into IE8 beta lately by mistake. As most people look for Microsoft Internet Explorer in the add / remove programs, they get stuck. It is actually called "Windows Internet Explorer 8" why they cannot follow a naming standard they have setup I will never know... &lt;/p&gt;&lt;p&gt;Removing IE8 on Windows XP:&lt;br /&gt;1. Click the Start Button and select Control Panel.&lt;br /&gt;2. Select Add or Remove Programs.&lt;br /&gt;3. Find and select Windows Internet Explorer 8 from the list of available applications.&lt;br /&gt;4. Click the Remove button.&lt;br /&gt;5. Restart your system.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-582790411018543301?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/12/removing-ie8-on-windows-xp.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-1260327577021263978</guid><pubDate>Thu, 06 Nov 2008 10:29:00 +0000</pubDate><atom:updated>2008-11-06T10:31:11.804Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>PDF</category><category domain='http://www.blogger.com/atom/ns#'>Office 2007</category><title>Save As PDF in Office 2007</title><description>&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=F1FC413C-6D89-4F15-991B-63B07BA5F2E5&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=F1FC413C-6D89-4F15-991B-63B07BA5F2E5&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I just found this the other day and will save me purshasing a conversation tool for word to PDF.&lt;br /&gt;&lt;br /&gt;Hope this helps someone else in the future, Not sure Adobe will love MS for this but it is great for consumers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-1260327577021263978?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/11/save-as-pdf-in-office-2007.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-4693100213958861299</guid><pubDate>Wed, 05 Nov 2008 17:32:00 +0000</pubDate><atom:updated>2008-11-05T17:33:38.797Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Windows 3.x</category><title>End of Windows 3.x</title><description>&lt;a href="http://news.bbc.co.uk/1/hi/technology/7707016.stm"&gt;http://news.bbc.co.uk/1/hi/technology/7707016.stm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The last time I saw 3.x was actually last month.. my dad still runs it for a flight sim!!&lt;br /&gt;&lt;br /&gt;James&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-4693100213958861299?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/11/end-of-windows-3x.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-1501109694512874875</guid><pubDate>Tue, 04 Nov 2008 22:51:00 +0000</pubDate><atom:updated>2008-11-04T23:04:04.266Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ASP</category><category domain='http://www.blogger.com/atom/ns#'>SQL Injections</category><title>SQL Injections ASP</title><description>&lt;a href="http://blogs.technet.com/neilcar/archive/2008/10/31/sql-injection-hijinks.aspx"&gt;http://blogs.technet.com/neilcar/archive/2008/10/31/sql-injection-hijinks.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Neil Capenter shows another example of why ASP and using Black list is a really bad idea.&lt;br /&gt;&lt;br /&gt;This is really interesting because it shows&lt;br /&gt;"ASP drops a percent sign from the query string if it isn't followed by two valid hex characters(0-9, A-F) when it actually interprets it via Request.QueryString.  "&lt;br /&gt;&lt;br /&gt;Neil proves this in a test page it shows that the earlier attacks are again being updated to go past filters.  If companies have patched a fix over this type of hole then they will be facing a more complete attack soon.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1697"&gt;http://www.iis.net/downloads/default.aspx?tabid=34&amp;amp;g=6&amp;amp;i=1697&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The new version of URL scan specifically checks for this and is worth having in your toolkit.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-1501109694512874875?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/11/sql-injections-asp.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-7324793815903963058</guid><pubDate>Tue, 04 Nov 2008 17:03:00 +0000</pubDate><atom:updated>2008-11-04T17:04:10.298Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Fircroft Trust</category><title>Fircroft Trust are now blogging</title><description>&lt;a href="http://www.thefircrofttrust.org/blog/index.php"&gt;http://www.thefircrofttrust.org/blog/index.php&lt;/a&gt; &lt;br /&gt;Well done Sam.&lt;br /&gt;&lt;br /&gt;James&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-7324793815903963058?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/11/fircroft-trust-are-now-blogging.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-2958873756817683810</guid><pubDate>Tue, 28 Oct 2008 22:15:00 +0000</pubDate><atom:updated>2008-10-28T22:29:39.061Z</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Windows 7</category><category domain='http://www.blogger.com/atom/ns#'>Vista</category><title>Long live Windows 7</title><description>&lt;a href="http://news.bbc.co.uk/2/hi/technology/7695933.stm"&gt;http://news.bbc.co.uk/2/hi/technology/7695933.stm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I think I am about to declare vista dead. Long live Windows 7.. Hopefully it will follow in the foot steps of Windows Server group because the server poducts seem to be getting better and better.  As server/network admin though it means I am never going to be able to sell Vista at the business level, windows XP is going to rule until 7 has been released, this I have to say is a mistake on MS part if they are not seriously going to release 7 in the next 2 years, because peak shows like this just mean I have no chance of actually convincing someone in a business to spend money in a vista direction..Lets not even talk about the cloud...MS you really need to start delivering and show a real long term position rather than following the latest trend, your are effecting your long term partnership positions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-2958873756817683810?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/10/long-live-windows-7.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-1764242539711289192</guid><pubDate>Wed, 27 Aug 2008 12:58:00 +0000</pubDate><atom:updated>2008-08-27T14:09:54.952+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Security</category><category domain='http://www.blogger.com/atom/ns#'>.NET</category><category domain='http://www.blogger.com/atom/ns#'>XP</category><title>XP Antivirus 2008</title><description>&lt;span&gt;&lt;a href="http://www.theregister.co.uk/2008/08/22/anatomy_of_a_hack/"&gt;http://www.theregister.co.uk/2008/08/22/anatomy_of_a_hack/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Having spent a good couple of hours this week cleaning up XP Antivirus 2008 and one case having to do it twice..Sigh It is was very interesting to see this article. Everyone should read it, the quality of the attack that XP Antivirus 2008 uses is quite scary and will probably start to set a bench mark for coming attack. It will require a lot of education to protect user for this time of threat.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-1764242539711289192?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/08/xp-antivirus-2008.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-5134350597071783341</guid><pubDate>Thu, 31 Jul 2008 13:16:00 +0000</pubDate><atom:updated>2008-07-31T14:26:20.906+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Unwind Software Ltd</category><category domain='http://www.blogger.com/atom/ns#'>Cuil</category><title>Cuil .. Maybe Not</title><description>&lt;a href="http://www.unwindsoftware.com/blog/uploaded_images/Cuil-UnwindSoftware-751944.gif"&gt;&lt;img style="CURSOR: hand" alt="" src="http://www.unwindsoftware.com/blog/uploaded_images/Cuil-UnwindSoftware-751939.gif" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Just tried searching in Cuil for Unwind Software Ltd, not sure I like the image ideas they have, considering they seem to get it horribly wrong. Surely this is lawsuit waiting to happen, have no idea who FDM Software are but they seem to imply by the logo they are Unwind Software Ltd. &lt;/p&gt;&lt;p&gt;I assume I am not the only one, why though are they using images across domains, surely that is a reciepe for complete disaster.. Could you not posion high profile site images logo in Cuil with an image if you crafted a page that had the right keywords and the wrong images on it.. &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-5134350597071783341?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/07/cuil-maybe-not.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-5740572914644452534</guid><pubDate>Mon, 21 Jul 2008 21:39:00 +0000</pubDate><atom:updated>2008-07-21T22:40:40.248+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Security</category><category domain='http://www.blogger.com/atom/ns#'>ASP</category><category domain='http://www.blogger.com/atom/ns#'>ASP.NET</category><title>Sql Injection Prevention Articles</title><description>SQL Injection prevention in ASP&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc676512.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc676512.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;SQL Injection prevention in ASP.Net&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms998271.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms998271.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Both excellent articles on preventing SQL injection.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-5740572914644452534?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/07/sql-injection-prevention-articles.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-8786214353960445764</guid><pubDate>Wed, 25 Jun 2008 00:28:00 +0000</pubDate><atom:updated>2008-06-25T01:29:28.018+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Security</category><category domain='http://www.blogger.com/atom/ns#'>ASP</category><category domain='http://www.blogger.com/atom/ns#'>ASP.NET</category><title>Scrawlr announcement - Microsoft / HP Collaborate on SQL Injection tool</title><description>&lt;a href="https://download.spidynamics.com/Products/scrawlr/" target="_blank"&gt;https://download.spidynamics.com/Products/scrawlr/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well worth downloading and running it is free and certainly a great tool to start testing for SQL injections on a website.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-8786214353960445764?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/06/scrawlr-announcement-microsoft-hp.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-1074740228957793926</guid><pubDate>Tue, 24 Jun 2008 21:38:00 +0000</pubDate><atom:updated>2008-06-24T23:10:51.868+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ADO.NET</category><category domain='http://www.blogger.com/atom/ns#'>Entity Framework</category><title>Ado.Net Entity Framework Vote of no confidence ??</title><description>**RANT**&lt;br /&gt;http://efvote.wufoo.com/forms/ado-net-entity-framework-vote-of-no-confidence/&lt;br /&gt;&lt;br /&gt;So I read Tim Mallalieu's blog he is on my RSS feed one of few select people I track and trace. (Tim if you read this I am not a stalker honest, I just think you post are cool and informative)&lt;br /&gt;&lt;br /&gt;http://blogs.msdn.com/timmall/archive/2008/06/24/vote-of-no-confidence.aspx&lt;br /&gt;&lt;br /&gt;So I read the following post, and fell off my chair, somebody has gone to the effort of actually putting togther a ADO.NET Entity Framework Vote of no confidence. Now forget the techie part lets just look a the practical, because obivously I am missing something. Surely and strike me down with a feather duster that if you don't like the Entity Framework ....You just don't use it ooooorrr, even better and maybe a more postive thing than moaning about a product write you own, develop an open source alternative, dare I say it... use something else.&lt;br /&gt;&lt;br /&gt;It is really easy to sit on the side line and snip about a framework that does not fit your needs or you believe is wrong, but come on now give the guys and girls who have slaved over the Entity framework a break constructive critisim fine and in the post above they have made some (fair enough) but to finish it with please make a vote of no confidence is not exactly nice and in just is in my view rude. Yes I suppose you have got the attention of the team.. but surely there is a better way, how to motive a team to your ideas.&lt;br /&gt;&lt;br /&gt;I personally don't use Entity Framework or Linq SQL (I have tried) but I am big fan of LLBGEN Pro, it works, it's solid and fits my clients and my needs. I made a choice, not bashed a team that was trying to build a very complex product. Have some respect please don't sign a petition just give sensible feedback through normal challenge.. or dare I say don't use it....&lt;br /&gt;&lt;/rant&gt;**END RANT**&lt;br /&gt;&lt;br /&gt;Apologies for the Rant. Good luck to the Entity Framework team, please look at some of the criticims leveled it is correct, but I am sure you would review it just like Classic ASP is better than ASP.NET v1 and ASP.NET 2 is better than ASP.NET v1. It will be a process of learning, would love to see how many developers get frameworks out of the box correct. I will admit I don't always do, that is the part of being human, my first Sage Framework in C# sucked my revision at the moment does not..&lt;br /&gt;&lt;br /&gt;I am missing something do we need vote of no confidence.. No, just MS to be listening which I hope they are, and for sensible suggestions in a reasonable manner.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-1074740228957793926?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/06/adonet-entity-framework-vote-of-no.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>5</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-4750585990542197259</guid><pubDate>Wed, 18 Jun 2008 11:26:00 +0000</pubDate><atom:updated>2008-06-24T23:20:51.041+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Security</category><category domain='http://www.blogger.com/atom/ns#'>.NET</category><category domain='http://www.blogger.com/atom/ns#'>XSS</category><title>Microsoft Anti Scripting Library + Base controls</title><description>I have been experimenting with finding quick fixes on an existing site with Xss and using the browser file in ASP.NET to get a system wide Anti XSS implementation without have to go through each bit of code.&lt;br /&gt;&lt;br /&gt;By no means is this a perfect solution you should go through all of the code that you are working on but sometimes you need to get up running defence.&lt;br /&gt;&lt;br /&gt;Also this technique I am experimenting would be potentially useful for starting off with a new site with, a set of basic controls that have Microsoft Anti Scripting library by standard applied to.&lt;br /&gt;&lt;br /&gt;Links to Microsoft Anti Scripting Library.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=EFB9C819-53FF-4F82-BFAF-E11625130C25&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=EFB9C819-53FF-4F82-BFAF-E11625130C25&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/aa973813.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa973813.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is the code I am tinkering with:&lt;br /&gt;&lt;br /&gt;using System;&lt;br /&gt;using System.Collections.Generic;&lt;br /&gt;using System.Linq;&lt;br /&gt;using System.Text;&lt;br /&gt;using System.Web;&lt;br /&gt;using Microsoft.Security.Application;&lt;br /&gt;using System.Web.UI.WebControls;&lt;br /&gt;&lt;br /&gt;namespace UnwindSoftwareLtd.Web.StandardAxss&lt;br /&gt;{&lt;br /&gt;public class LabelControl : System.Web.UI.WebControls.Adapters.WebControlAdapter&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;protected override void Render(System.Web.UI.HtmlTextWriter writer)&lt;br /&gt;{&lt;br /&gt;((Label)base.Control).Text = AntiXss.HtmlEncode(((Label)base.Control).Text);&lt;br /&gt;base.Render(writer);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Ideally though I would like Anti Scripting Lib to be applied to all MS controls, it would be switched on by default. I accept though there applications that need to use for example Label control to output Java Script, but it would be great if you could use switch to say don't use the Anti Scripting library or I want to output Javascript format for that. &lt;/p&gt;&lt;br /&gt;&lt;br /&gt;James&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-4750585990542197259?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/06/microsoft-anti-scripting-library-base.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>1</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-3563593140027972862</guid><pubDate>Tue, 10 Jun 2008 13:45:00 +0000</pubDate><atom:updated>2008-06-10T14:53:48.196+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>Security</category><category domain='http://www.blogger.com/atom/ns#'>ASP</category><title>Classic ASP Functions for preventing SQL Injections</title><description>The big rule of doing any CRUD data jobs in any ASP/ASP.NET app with SQL Server is that you MUST use parameterized queries.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc676512.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc676512.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The article above though also outlines using Regular expressions to protect your web app by validating data before passing it through.&lt;br /&gt;&lt;br /&gt;Below are some example functions for testing for int and removing anything other than int information from a string. Both provide a first basic layer to stopping SQL injection attacks in classic ASP, as lot of web apps use int as a key field in a in a database, hence it gets passed through with a querystrings. Hopefully these will prove useful to someone else.&lt;br /&gt;&lt;br /&gt;function IsInt(strOriginalString)&lt;br /&gt;dim objRegExp : set objRegExp = new RegExp&lt;br /&gt;with objRegExp&lt;br /&gt;.Pattern = "^\d+$"&lt;br /&gt;.IgnoreCase = True&lt;br /&gt;.Global = True&lt;br /&gt;end with&lt;br /&gt;&lt;br /&gt;IsInt = objRegExp.test(strOriginalString)&lt;br /&gt;set objRegExp = nothing&lt;br /&gt;end Function&lt;br /&gt;&lt;br /&gt;function OnlyInt(strOriginalString)&lt;br /&gt;Dim regEx, Match, Matches,returnString ' Create variable.&lt;br /&gt;Set regEx = New RegExp ' Create a regular expression.&lt;br /&gt;regEx.Pattern = "\d+" ' Set pattern.&lt;br /&gt;regEx.IgnoreCase = True ' Set case insensitivity.&lt;br /&gt;regEx.Global = True ' Set global applicability.&lt;br /&gt;Set Matches = regEx.Execute(strOriginalString) ' Execute search.&lt;br /&gt;For Each Match in Matches ' Iterate Matches collection.&lt;br /&gt;returnString = returnString &amp;amp; Match.Value&lt;br /&gt;Next&lt;br /&gt;OnlyInt = returnString&lt;br /&gt;end Function&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-3563593140027972862?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/06/classic-asp-functions-for-preventing.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-1118240752005459548</guid><pubDate>Mon, 09 Jun 2008 12:04:00 +0000</pubDate><atom:updated>2008-06-09T13:09:20.534+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>AVG</category><category domain='http://www.blogger.com/atom/ns#'>SBS Server 2003</category><title>AVG 8 on SBS 2003 .. Maybe not.</title><description>&lt;p&gt;"Dear Sir/Madam,&lt;br /&gt;&lt;br /&gt;Thank you for your email.&lt;br /&gt;&lt;br /&gt;We are sorry to inform you that this issue was already reported by&lt;br /&gt;other customer and we found that it is a bug in AVG. This problem is&lt;br /&gt;fixed in our major program update which will be released at the end of&lt;br /&gt;the second quarter of the year.&lt;br /&gt;&lt;br /&gt;As soon as we release the update we will inform you.&lt;br /&gt;&lt;br /&gt;Thank you for your understanding and cooperation. If you have any&lt;br /&gt;further questions or issues feel free to contact us.&lt;br /&gt;&lt;br /&gt;Answers to the most common questions can be found here as well:&lt;br /&gt;http://www.avg.com/faq/"&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt;Looks like my new shiny AVG 8 is not suitable for SBS Server 2003 .. Excellent. &lt;/p&gt;&lt;p&gt;Not sure why nobody thought to test it on this platform before release, can't imagine they have that many customers running SBS 2003 .... errr.&lt;/p&gt;&lt;p&gt;My advice is don't upgrade your AVG to 8 if you are running AVG 7.5.  Stick or find a antivirus provider who actually support SBS 2003 which is exactly what I am going to actively have to do! AVG 7.5 seems to be still supported .. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-1118240752005459548?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/06/avg-8-on-sbs-2003-maybe-not.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>2</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-8311025995574254004</guid><pubDate>Thu, 05 Jun 2008 16:00:00 +0000</pubDate><atom:updated>2008-06-05T17:01:08.123+01:00</atom:updated><title>Test for Int in a Web Application</title><description>Useful function No 1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public static bool IsInt(string testStr)&lt;br /&gt;{&lt;br /&gt;string pattern = @"^\d+$";&lt;br /&gt;if (testStr == null)&lt;br /&gt;{&lt;br /&gt;return false;&lt;br /&gt;}&lt;br /&gt;if (testStr.Length == 0)&lt;br /&gt;{&lt;br /&gt;return false;&lt;br /&gt;}&lt;br /&gt;Match matchResult = Regex.Match(testStr, pattern);&lt;br /&gt;return matchResult.Success;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-8311025995574254004?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/06/test-for-int-in-web-application.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-4989107627143230764.post-7924634844240012936</guid><pubDate>Fri, 30 May 2008 10:57:00 +0000</pubDate><atom:updated>2008-05-30T12:31:25.152+01:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>HostingUK</category><category domain='http://www.blogger.com/atom/ns#'>.NET</category><category domain='http://www.blogger.com/atom/ns#'>IIS</category><title>HostingUK dedicated box tips</title><description>&lt;div class="Section1"&gt;&lt;span style="font-family:verdana;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Been meaning to post this for a while. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;When I pick up a HostingUK dedicated box. &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Some of the tips I give to customers when&lt;br /&gt;they start with a dedicated box. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;&lt;strong&gt;Disclaimer.&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;I am not a Windows expert by any means. PLEASE MAKE SURE YOU REVIEW&lt;br /&gt;EVERYTHING.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Shut down All Services not needed&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Unless you are using it shutdown all services. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;These are the standard services that I shutdown on HostingUK box.&lt;br /&gt;&lt;br /&gt;IIS :&lt;br /&gt;&lt;br /&gt;Sharpoint Services&lt;br /&gt;&lt;br /&gt;Report Server&lt;br /&gt;&lt;br /&gt;Default Website&lt;br /&gt;&lt;br /&gt;Administration Server (No Web Admin on) &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Get a static IP Address to admin the box&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Get a static ip address so that you can admin the box from only a selected set of addresses. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Confirm the Firewall rules to the ISP&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Most you will need is normally: &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;WWW 80 / 443&lt;br /&gt;&lt;br /&gt;FTP&lt;br /&gt;&lt;br /&gt;HostingUK will have open a standard list. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;b&gt;Download and install Microsoft Baseline Security&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://www.microsoft.com/technet/security/tools/mbsahome.mspx"&gt;http://www.microsoft.com/technet/security/tools/mbsahome.mspx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Run it and follow it.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Windows Update&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Setup a Patch schedule and make sure you auto update regularly.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Uninstall un-needed software&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;If you don’t need it on the box delete it ASAP. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Change the Administrator Password&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Change the administrator password. &lt;/span&gt;&lt;span style="font-family:verdana;"&gt;Make sure it is considerably strong&lt;br /&gt;password. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;Use &lt;/span&gt;&lt;a href="http://www.pctools.com/guides/password/"&gt;&lt;span style="font-family:verdana;"&gt;http://www.pctools.com/guides/password/&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; and generator one with a reasonable length of maybe 12 chars. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Switch on Logging&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:verdana;"&gt;Switching on logging for both SQL Server, Windows and give yourself full logging on IIS. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://www.visualwin.com/Log-in/logging-failed-logins.html"&gt;http://www.visualwin.com/Log-in/logging-failed-logins.html&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Sql Server &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Read The following:&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span class="a1"&gt;&lt;span style="font-family:verdana;"&gt;&lt;a href="http://download.microsoft.com/download/8/5/e/85eea4fa-b3bb-4426-97d0-7f7151b2011c/SQL2005SecBestPract.doc"&gt;http://download.microsoft.com/download/8/5/e/&lt;wbr&gt;85eea4fa-b3bb-4426-97d0-7f7151b2011c/&lt;b&gt;SQL2005&lt;/b&gt;SecBestPract.doc&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Take offline used Websites &lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;SQL Server 2005&lt;br /&gt;&lt;br /&gt;Take Offline the following :&lt;br /&gt;&lt;br /&gt;AdventureWorks&lt;br /&gt;AdventureWorksDW&lt;br /&gt;ReportServer&lt;br /&gt;ReportServerTempDB&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;b&gt;Rename your sa account on SQL Server and disable it. &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The command used is: &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:blue;"&gt;ALTER&lt;/span&gt; &lt;span style="color:blue;"&gt;LOGIN&lt;/span&gt; sa &lt;span style="color:blue;"&gt;DISABLE&lt;/span&gt;&lt;span style="color:gray;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="MARGIN-BOTTOM: 12pt"&gt;&lt;span style="font-family:verdana;"&gt;&lt;span style="color:blue;"&gt;ALTER&lt;/span&gt; &lt;span style="color:blue;"&gt;LOGIN&lt;/span&gt; sa &lt;span style="color:blue;"&gt;WITH&lt;/span&gt; &lt;span style="color:blue;"&gt;NAME&lt;/span&gt; &lt;span style="color:gray;"&gt;=&lt;/span&gt; [saNewAccountName]&lt;span style="color:gray;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Switch off TCP/IP access for SQL Server&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:verdana;"&gt;SQL Server TCP/IP is at the moment for security reasons is switched off. No point having it on until we need it on. It is on shared memory.&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:verdana;"&gt;Admin your SQL Server directly on the box&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:verdana;"&gt;Means you don’t need to have a TCP/IP connection open.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:verdana;"&gt;These are just some general rules I follow when just starting with a box, hopefully it will be a good point for anyone taking over a dedicated box from HostingUK. &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:'Verdana','sans-serif';"&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;/span&gt; &lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4989107627143230764-7924634844240012936?l=blog.unwindsoftware.com' alt='' /&gt;&lt;/div&gt;</description><link>http://blog.unwindsoftware.com/2008/05/been-meaning-to-post-this-for-while.html</link><author>noreply@blogger.com (James Knowles)</author><thr:total>0</thr:total></item></channel></rss>