Slightly less Random Ramblings

November 6, 2010

Noscript And Zimbra Problem

Filed under: computing, security — Tags: , , , , , — Robert Wicks @ 8:23 am

I log into a Zimbra server for email. I may be logged in on the local network, from outside, over the Internet, or across a VPN. The hostname is always the same. I found that I would have to actually quit Firefox in order to log back into Zimbra if I initiated a session over the Internet, and later made a VPN connection. I would see a white screen with a link in the upper left corner which said [Sign Out]. Clicking it did nothing. I actually had to restart Firefox. I discovered that this happened because of Noscript’s ABE protection. I did not wish to disable this, as it is a useful security feature. The solution is to go into the NoScript options, under ABE, and edit the SYSTEM settings. It normally says

# Prevent Internet sites from requesting LAN resources.
Accept from LOCAL

I added this line after the Accept lin:

Accept ALL from *.<mydomainname>

That fixed the issue. It might be advisable for people who use Noscript in a corporate environment with VPN access to add this to their ABE settings in order to prevent web application failures.


July 19, 2010

Automounting Truecrypt in Linux

Filed under: computing, encryption, linux, Truecrypt, ubuntu — Tags: , , — Robert Wicks @ 12:35 am

I have a dual boot system with Windows 7 and Ubuntu 10.04. In order to secure the system, I have system encryption with Truecrypt and encrypted LVM in Ubuntu. I need to access my Windows files from within Ubuntu. After a bit of searching around the Internet, I pieced together this command line, which I put in /etc/rc.local. Since my system is fully encrypted and used by only me, I’m not concerned about the password being in /etc/rc.local. I installed the Truecrypt console version.

I added the following line to /etc/rc.local:

echo “MyTruecryptPassPhrase” | /usr/local/bin/truecrypt -t -m system -k “” -p ”” –protect-hidden=no –fs-options=rw,noatime,umask=000 –filesystem=ntfs-3g /dev/<windows partition> /<local mount point>

By echoing the passphrase and piping it to the Truecrypt command, we avoid having it show up in the ‘ps -ef’ command. The filesystem will be mounted with 0777 permissions.

I have found that it is even possible to mount outer partitions (with hidden partitions inside) using this method, and protecting the hidden partition. The command is as follows:

echo “HiddenPartitionPassphrase\n\nOuterPartitionPassphrase” | /usr/bin/truecrypt -t -k “” -p “”  –protect-hidden=yes –fs-options=rw,noatime,umask=000  /dev/sda2 /windows

By using the hidden OS feature in Truecrypt, it is possible to triple boot your computer, with all data on the drive except for the /boot partition in Linux being encrypted. Since no secret information is stored in /boot, this is not a problem.

January 29, 2010

What I’d Like to See Google Do in Response to the iPad

Filed under: computing — Tags: , , , — Robert Wicks @ 11:03 pm

Apple recently unveiled the iPad, a device with which I am more impressed than I expected. It is less expensive than I thought it would be, and it has the kind of functionality it needs to have. It has the potential to be a wonderful book, magazine, and newspaper reader. It is not without its flaws, but it absolutely has the potential to revolutionize how we read, and how we access information. It is not difficult to visualize iPads in use in doctors’ offices, libraries, and various businesses for any number of purposes, both obvious and innovative.

Google is heavily invested in Android, an iPhone OS competitor in the smartphone market. Since the iPad uses the iPhone OS, it is only natural that Android competitors to the iPad emerge. And they have. Indeed, There were Android tablets already on the market before the iPad debuted, such as the Archos 7. None of the Android tablets I have investigated so far have the appealing form factor of Apple’s however.

Google sells the Nexus One directly to customers. It essentially competes head to head with Apple in the phone market, though “compete” is taking a bit of literary license when we consider the relative sales of the two phones. Still, Android phones are increasing in popularity, and the platform is evolving rapidly. I think Google could make a real play to compete head to head with the iPad as a portable reader. Google has poured huge sums of money into digitizing books and now has a considerable library of classic works. It should leverage this by developing an Android book reader optimized for a 10 inch tablet. Then, Google should practically give them away to libraries and schools across the world. Discount them heavily, just get them out. Google should make it a corporate mission to get every middle school, high school, and college student reading books and using textbooks on an Android device.

By getting students and readers used to reading on Android devices,, Google can fuel demand for its web services and get young people accustomed to using Android as their preferred platform for accessing information. Tools are difficult things to change. Get a young person used to your tool, and you probably have a customer for life. One of the major advantage Android could offer to libraries and schools is low cost. Since Android is an open platform, other manufacturers would naturally make competing devices and compete with Google in this push into the youth market. This would drive up quality and drive down costs. A few shortcomings in the iPad which could be immediately addressed are:

  • Lack of a front facing camera. With a front facing camera, an Android tablet could be a nice Skype/IM machine.
  • Multitasking. This is an easy one, and is already present in all Android devices. Being able to use streaming audio while reading email or surfing the web is an advantage over the iPhone.
  • Flash support. Being able to use services such as Hulu and various Flash gaming sites would provide a further advantage to an Android tablet.

Make no mistake. None of these things would “kill the iPad.” Just as in the case of the iPhone, I don’t want to see them die. They are innovative products which have forced others to respond to customer demand and improve the customer experience. Even if Google did all these things, and was successful with them, I’d love to see Apple come back to outdo them, point by point. You and I are would be the biggest winners.


Friends have pointed out that this plan could be prohibitively expensive.  Looking back over it, I have to agree. The educational models should ditch the camera and Google should sell the devices at cost. Later manufacturers can come along with faster processors and additional features. And Google might actually be able to get Adobe to help defer some of the cost in exchange for promotional considerations. Adobe is desperate to have Flash on mobile devices since Apple is consistently snubbing them.

« Newer Posts

Create a free website or blog at

%d bloggers like this: