Wednesday, December 5, 2007

What counts as transaction regarding to electronic voting system

Any of the database updating is transactions. On the precinct voting server, there is precinct voting DB to store precinct voting data; on the central voting server, there is central voting DB to store central voting data. Most commonly database uses locking to ensure ACID capabilities. For example, when precinct vote collector is performing a write operation on a row of data that precinct uploader wants to perform read operation on, read operation is blocked until the lock is released by the write operation.

Queries could participate in the transaction. Sometimes it is important in which order queries run, all queries in a group run or none at all. For example, one query is to update the vote total of individual candidate by adding votes while another query is to updating the vote total of all other candidates by deducting votes. Either query as a group will run, or neither will run. Both of these queries are one transaction.

In reality, most of the applications rely on database to provide transaction support. There are exceptions: Transactional file systems could be used instead of database to provide transactional support. One example of that is Journaling file system.

Oracle has recently acquired Tangosol Coherence to provide in-memory data management. It provides transactional support without the durability since data are only stored in-memory. The usage is mostly in ensuring data integrity for cached data.

Tuesday, December 4, 2007

The non-technical aspect of IT security

There are different aspects of IT security. Instead of focusing on security technique and algorithm, I will touch on another dimension of security topic: security policy.

A security policy concerns with what it means to be secure and what mechanisms to be used for enforcing the security standards.

For organization, the policy addresses the behavior constraints of its members. For systems, the policy addresses the flow between them, for example how people/program access functions and data.

As we all know, the weakest link in the security concern is people. Employing security policy and enforcing it will help people practicing sensible security measures such as logging out while away from desk, choosing sensible passwords, not writing down password, having different password for different systems, not opening dubious attachments in an email and etc.

We have most often hear about the external attacks in the media, however, the internal attack accounts for most of the computer security related crime. It is difficult to prevent insider attack; the best defense might be to improve management instead of employing another technical solution. There need to be a vigilant management of access privileges when employee leaving company or changing roles. The proper access privileges are given to employees whose jobs requires.

For a company, managing security is always a balancing act between balancing risks and benefits. Since achieving total computer security is impossible, company needs to conduct a risk assessment to decide on the appropriate balance between cost and risk. Threat modeling helps discovering various ways of possible security bleaches. The next step would be to figure out the cost benefit of implementing defenses against the attack. The defenses could include mitigation, outsourcing and insurance.