
A Practical Approach to Threat Modeling
ecurity is a hot topic these days. It is as if developers and system designers are fighting a never ending war against those who desire to damage hardware, compromise system

ecurity is a hot topic these days. It is as if developers and system designers are fighting a never ending war against those who desire to damage hardware, compromise system

xperienced web developers know well how many layers of conversion they have to go through to present persistent information to the user: Mapping web requests to executing code Converting objects

ith the release of Visual Studio 2008, Microsoft has also updated the VB language to the latest version, 9.0. VB 9.0 boasts several key language enhancements that have been made

DX is just like Transact-SQL, right? MDX is English-like and therefore easy to learn, right? Different software tools offer MDX generators and therefore I don’t need to learn MDX, right?

This tip shows you how to create the RED color using the “

When you develop an application in Microsoft Access, your combo boxes will, by default, incorporate autocomplete. However, Visual Basic does not include this intrinsic support. If you want autocomplete in

This tip can help you determine if your computer is hosting spyware that sends your information to another server. The NETSTAT command can show the list of running applications in

The documentation for Oracle 9.2 and previous versions contains the following paragraph: “AFTER row triggers are slightly more efficient than BEFORE row triggers. With BEFORE row triggers, affected data blocks

iagnostics, also known as “program tracing,” is a crucial?and often overlooked and underappreciated?component of application development. I have long been an ardent believer in diagnostic support, and have written diagnostic

ntil not long ago, multithreaded apps relied on nonstandard, platform-dependent APIs. C++0x is now in the process of adding a standard threading API, including auxiliary facilities such as thread-local storage.

ith this completely up-to-date tutorial and reference, you’ll quickly learn how to develop Visual Basic (VB) programs that leverage the latest features of Vista and .NET 3.0. The tutorial section

nitially released in 2004, the Rails web application framework became the perfect killer application for the Ruby language and an extremely powerful tool for rapidly developing web applications based on

To generate a stub/proxy client from a WSDL file, you need to download Axis from the Apache website This tip will work for jdk1.4.x or above. Suppose you have a

To use friendly names instead of the plain email IDs, simply write the email ID in the following format: mailobj.From = “AliasName <emailid>” For example: msgMail.From = “sms “; You

A simple way to determine the direction of stack growth is to compare the address of a function parameter with the address of a local variable in the function. Of

Here’s an example of how to create an exception. You can extend this example as needed for your own applications. The important principle is the exeption’s mechanism, not its subject:

ne of the most important security principles for software development is least privilege. Simply put, least privilege means that an application, process, or user should have the least access to

Windows Communication Foundation (WCF) is the easiest way to produce and consume Web services on the Microsoft platform. With .NET 3.5, WCF has been extensively revamped?and Visual Studio 2008 gives

ometimes you can stumble upon interesting discovers while actually looking for something else. That happened to me when I decided to try another Linux distribution besides my favorite one: Debian.

n Part 1 of this series, you saw how to get started with Direct3D, Microsoft’s high-performance three-dimensional graphics library. Part 2 explained how to make scenes more realistic by adding

ith the release of Visual Studio 2008, Microsoft has also updated the VB language to its latest version, 9.0. In VB 9.0, there are several key language enhancements that have

The code below demonstrates a quick way to email all the exceptions that occur in an application: protected void Application_Error(Object sender, EventArgs e) { Exception ex = Server.GetLastError(); MailMessage msgMail

This tip shows a Java application that can be used to pass SAX events to a FOP processor. It uses the javax.xml.parsers.SAXParser class: In demo document: C:Data_LocalxmldocsAirWings_fop.foOut demo document: C:Data_LocalxmldocsAirWings_pdf_sax.pdf*///FOPimport

Suppose you want to block a namespace declaration from appearing in your XSLT transformation results; for example, suppose you have the namespace declaration of a function/element extension. You’d have to

Use the following steps to rotate the images in your web page: Open Google Image Search. Type, for example, the word “rose” in the search field. The relusts page should

xecutive dashboards are attractive business tools that, if properly structured, typically provide the following information and data to executive decision-makers: Summary information focused on strategic decision-making Information organized for performance

his article presents the Python shared clipboard—a little utility that allows different machines connected over a LAN to share the contents of their clipboards. While building it, you might learn

lthough on-target debugging is supported on many Brew-enabled handsets, you probably (paradoxically) spend most of your time debugging on older handsets that don’t have on-target debugging at all. Of course,

ustomer Relationship Management (CRM) plays a major role in today’s competitive business industry. Imagine how frustrated you would feel if you were to get a call from customer support at

Suppose you need to serialize a DOM tree, with the result being an XML document. Xerces-J allows you to specify a maximum line length and an indent value. Here’s an