vineri, 5 decembrie 2008

Thoughts on Software Security

Here's something that grinds my gears:
You still use bla bla bla Internet Navigator v13.2.256.2?!  Don't you know that it's full of security holes? You should usee YYY Firedog 2012 because it's secure and hip, and soon everybody will be using it!
From my experience there are no perfect software programs, from the security perspective. The only thing that matters is the number of exploited security holes. And that number tends to be directly proportional to the popularity|number of users and number of functionalities of the software application.

Or worse. My theory is that the users of public software applications (meaning software meant for the masses, not for X company's HR department), with small user bases, tend to be more technically savvy. As the number of users grows, due to the increassing popularity of that software, the average naivety level tends to go up. This is the first step when things start to go bad, because the easiest security exploits rely on user ignorance.

The second step occurs when the application suffers a surge of new functionalities. This usually happens when it starts supporting some form of plugins or automation, because this greatly increasese the area exposed by that application to the world: longer borders=>more border patrols are needed.

So there is no real security comparison between two software applications, unless they have comparable user bases, have been available for the same period of time and support roughly the same major functions.

My conclusion is this: educate the user! Software doesn't need to be foolproof. Time spent on dumbing down the user interface (and I don't reffer here only to the GUI, but the whole end user experince) can be better employed on improving its functionalities.

Help the user make informed decisions. Even if this means saying "Pushing this button exposes you to the following risks: money loss, health loss, pride loss, etc.". Software applications should not follow the marketing propaganda of consumerism. In a medium where information is a de facto currency, there are better ways to advocate the use of your software. Make a commitment to inform the users what are the strong and week points of your application, when it can and when it shouldn't be used.

Stumble Upon Toolbar

marți, 2 decembrie 2008

Thoughts on Programming Languages

1. Use declarative code for the UI (XAML, HTML)
2. OO code for infrastructure (data access, etc...)
3. Functional programming for logic implementation and data manipulation
4. Python has one of the nicest syntaxes of all programming languages
5. F# could have gotten a better syntax, even if it had broke OCAML compatibility.
6. Identation for code block delimitation rocks! I wish C# would have something like that... that might be an interesting idea: a precompiler for C# that just wraps indented blocks in curly braces.

Stumble Upon Toolbar

vineri, 28 noiembrie 2008

Running Linux Apps Seamlessly Insinde Windows for 100EUROS or Less

  1. Get a license and install windows (XP/2003/Vista): blah, blah, blah, next, next, finish ... ~100E for Vista Home Premium
  2. Download & install Virtual Box: blah, blah, blah, next, next, finish ... 0E
  3. Download & install Ubuntu (latest): blah, blah, blah, next, next, finish ... 0E
  4. Press <Host key> + L ... priceless

Tada!

PS: this post was written with Google Docs on Firefox running on Ubuntu linux running on Microsoft Windows 2003.
PPS: only one operating system was restarted during the creation of this post.
Stumble Upon Toolbar

miercuri, 19 noiembrie 2008

My Plea to Microsoft

Make
Windows
Free!

Stumble Upon Toolbar

sâmbătă, 18 octombrie 2008

Python can do:

Connect to an MS SQL database with integrated security (sample from a TurboGears aplication, using SQL Alchemy + Elixir + pyodbc):
sqlalchemy.dburi="mssql://<server name|named instance>/<database name>?sspi=true"

Next step: run TurboGears behind IIS in order to use Integrated Windows Security.
Even further: investigate if IronPython fits somewhere.

Stumble Upon Toolbar

For all our real problems are technical...

...not social, financial, political or religious:

The Zeitgeist Movement
The Venus Project
Stumble Upon Toolbar

vineri, 15 august 2008

Internet Censorship

I thought that the Internet’s purpose was breaking communication barriers:

cens

I’ve seen this situation becoming more and more common. What’s interesting is that it’s not a subtle limitation. They could have made all the links going to the limited content not available to people outside the USA. Hmm…

Update: http://timheuer.com/blog/archive/2008/08/13/nbc-olympics-behind-the-scenes.aspx


Stumble Upon Toolbar