Feeds

The Netbook Newbie's Guide to Linux

The Big Easy

  • alert
  • submit to reddit

Protecting against web application threats using SSL

For another demonstration of the connection in Linux between the graphical front end and the underlying text files, let's take a closer look at the Easy Mode interface of the Asus Eee PC. The icons it uses, the way they're grouped, and the applications they evoke, are all defined in a single text file, /opt/xandros/share/AsusLauncher/simpleui.rc. AsusLauncher is the name of the application that creates Easy Mode.

Eee PC Easy Mode

AsusLauncher in action

Before we mess with this file, we'll take the precaution of making a back-up. Open a terminal, switch to the /opt/xandros/share/AsusLauncher directory and type:

sudo cp simpleui.rc simpleui.rc.bak

Now we're ready to edit the file (see Box: Not So Simple). Xandros offers several editors, but as this is an XML file it would be smart to use the supplied editor, called Kwrite, as this has a fancy feature that understands XML structures and uses different colours to display the different XML elements.

While still in the the /opt/xandros/share/AsusLauncher directory type:

sudo kwrite simpleui.rc

There's a very handy crib about all this on the Eee User Wiki, including a suggestion for adding an appropriate icon to the Easy Mode if you're going to do a lot of editing to the configuration file. So my first edit was to add the following stanza:

<parcel simplecat="Favorites" extraargs="/usr/bin/sudo /usr/bin/kwrite  /opt/xandros/share/AsusLauncher/simpleui.rc"

icon="documents_norm.png"

selected_icon="documents_hi.png">

<name lang="en">Menu Edit</name>

</parcel>

This makes the simpleui.rc file very easy to get at, but changes aren't reflected until you restart AsusLauncher. I knocked off a quick and dirty script to do this, which needs to be run with root privileges:

#!/bin/sh
killall AsusLauncher
/opt/xandros/bin/AsusLauncher &

You'll need to save this as a plain text file - I simply called it relauncher - and then make it executable with a command like this:

chmod a+x relauncher

chmod is the Unix utility for "changing the mode", and "a+x" means "make this file executable for everyone on the system".

The next step in data security

More from The Register

next story
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
'Windows 9' LEAK: Microsoft's playing catchup with Linux
Multiple desktops and live tiles in restored Start button star in new vids
iOS 8 release: WebGL now runs everywhere. Hurrah for 3D graphics!
HTML 5's pretty neat ... when your browser supports it
Mathematica hits the Web
Wolfram embraces the cloud, promies private cloud cut of its number-cruncher
Google extends app refund window to two hours
You now have 120 minutes to finish that game instead of 15
Intel: Hey, enterprises, drop everything and DO HADOOP
Big Data analytics projected to run on more servers than any other app
Mozilla shutters Labs, tells nobody it's been dead for five months
Staffer's blog reveals all as projects languish on GitHub
SUSE Linux owner Attachmate gobbled by Micro Focus for $2.3bn
Merger will lead to mainframe and COBOL powerhouse
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
Protecting users from Firesheep and other Sidejacking attacks with SSL
Discussing the vulnerabilities inherent in Wi-Fi networks, and how using TLS/SSL for your entire site will assure security.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.