The State Of Web Application Security

| 0 comments

This week I officially start my Master Degree in CyberSecurity with the University of Maryland and I have become more and more interested in security from the point of view of application development over the last year. If you stop and think about current web applications and how they differ than just 15 years ago you will find that it is has progressed extremely fast. I recall in the mid 1990’s creating my first web site on GeoCities and I must say the norm was basic and extremely ugly. Don’t believe me? Just take a look at the Yet Another Gillian Anderson Page from June 19, 2000. Back in the year 2000 things were so much more simpler than they are today. This is not to say that security was less important rather the innovation that that happened over the last decade has placed security both in the hands of the content owner and consumer. My point is simple, as a consumer you should trust but always verify! Case in point, Sony PlayStation’s security breach has hit 77 million network users and cost the billions in revenue. The question is what do you do when you conduct business with an …

Continue reading

Creating Charts With Microsoft Chart Controls

| 0 comments

There is no shortage of charting controls for the Microsoft .NET framework and while many do a great job, they may be overkill and costly to any project. If you’re not familiar with the Microsoft Chart Controls then you may find that you’re in for a pleasant surprise for two reasons; They are free Quickly render charts Quick Walkthrough My purpose here is simple and to the point. I want to demonstrate just how easy it is to return a chart to the end user. In this case I will be using an XML data source rather than a database which is typical in most cases. Line Chart ASPX: <asp:Chart ID=”Line” runat=”server” Width=”600px” Height=”400px”> <Series> <asp:Series Name=”Series1″ ChartType=”Line”> </asp:Series> </Series> <ChartAreas> <asp:ChartArea Name=”ChartArea1″> </asp:ChartArea> </ChartAreas> </asp:Chart> Code Behind: internal void BindCharts() { string dataPath = MapPath(“.”) + “App_Databooks.xml”; DataSet ds = new DataSet(); ds.ReadXml(dataPath); DataTable dt = ds.Tables[0]; DataView dataView = new DataView(dt); Line.Series[0].Points.DataBindXY(dataView, “title”, dataView, “price”); } Take note that the real magic happens on “DataBindXY” which represents that data point to display and in this case is title and price. As a bonus, if I add the following to the “BindCharts” method then I also have a stacked …

Continue reading