Tuesday, January 12, 2010

Taming the mixed HTTPS/HTTP webpage content prompt in Internet Explorer 8

Some web sites that serve up pages using HTTPS after you log in still have embedded elements (often images) that are served up insecurely (by HTTP) for a variety of reasons, such as: a performance boost by avoiding the SSL overhead, use of a third party server's bandwidth, web bugs for tracking your surfing habits, etc.

In Internet Explorer 8, when such a mix of HTTPS and HTTP connections are served up on a single page, a pop-up dialog box says:
Security Warning: Do you want to view only the webpage content that was delivered securely? This webpage contains content that will not be delivered using a secure HTTPS connection, which could compromise the security of the entire webpage.
If you want to display the mixed content in IE 8, you will need to click "No" even though it is NOT the default choice.

Previous versions of IE (such as IE 7) asked the user, "Do you want to display the nonsecure items?" you could click the default button of "Yes" to display the mixed content (or hit the enter key). But since the default choice wasn't the most secure option, the developers of Internet Explorer made the change from 'yes' to 'no' to get the whole page to load completely. You can read all about this topic on Eric Law's MSDN Blog.

If, like me, you find the prompt annoying, the MSDN recommendation is to go into the IE menu item 'Tools > Internet Options > Security > Internet Zone > Custom' and change the "Display mixed content" option "Disable". This will always block non-secure content in secure pages without the annoyance of the prompt. You will need to agree to the prompt "Are you sure you want to change the settings for this zone" and hit OK to close the dialog box. NOTE: you may need to tap the 'Alt' key on your keyboard to get the menu items to appear in the toolbar area of your web browser.

For some in-house web applications whose Development and QA servers aren't using signed SSL certificates, I've added those hosts into my list of 'Trusted Sites' and changed the "Display mixed content" option to "Enable" in that zone only.

Labels:

Sunday, October 11, 2009

Useful programs that work on Windows 7

I'm running a fresh install of Windows 7 RC (Release Candidate, build 7100) on a secondary desktop PC, and I'm very impressed with it! Here is my checklist of programs and plug-ins that I typically install in Windows:
  1. Anti-virus/Anti-spyware: Microsoft Security Essentials is free and provides some basic protection, so there is no excuse not to run some kind of anti-malware utility. My primary Windows XP install is running AVG Internet Security, and I've used Avast in the past too, and both of those companies also offer free products for home use.

  2. Browsers: Mozilla Firefox (now my default), Google Chrome, and Apple Safari. Having just one alternative to the built-in Microsoft Internet Explorer is probably enough, but with the web work that I do, I like to test sites with all of these popular web browsers.

  3. Browser plug-ins: Adobe Flash and Shockwave Players, Adobe AIR, and Microsoft Silverlight. Install these after you have installed all of the browsers that you intend to use so that the plug-ins will go into each one. Install them before you do much surfing to reduce your frustration of hitting sites that require these plug-ins for their navigational structure.

  4. Chat and social media: Digsby is my preferred multiprotocol messenger. I could have installed AIM, ICQ, Yahoo, Messenger (MSN), and Google Talk. Although Pidgin is also a Jabber (XMPP) client, and does have skype4pidgin for Skype's chat feature and a pidgin-facebookchat plug-in, I like using Digsby for its Facebook chat feature and to check my news feeds in Facebook, LinkedIn, Twitter and MySpace -- all from one interface. To get an even better view of the "twitterverse" I use TweetDeck (an Adobe AIR application) to group the contacts that I follow into logical columns and easily check when others mention or direct message me.

  5. Audio/Video tools: Apple QuickTime and RealPlayer are useful to play things that Windows Media Player can't (certain audio and video codecs). Audacity with the LAME and FFmpeg libraries is a free way to edit sound files. Movie Maker is part of the Windows Live Essentials installer package, but you can deselect everything else. VLC (VideoLAN client) is a free media player that also has conversion/streaming capabilities, and a wide assortment of bundled codecs so that it can play almost anything!

  6. PDF tools: PDF-XChange Viewer and PDF Creator. You might not need the full Adobe Acrobat just to handle the most common annotation and form-filling tasks -- use the free PDF viewer from Tracker Software, and the open-source printer driver on SourceForge.

  7. File management: 7-Zip is an open source context-menu utility to open a wide variety of compression formats (e.g. RAR, GZIP, TAR, etc.) and supports AES-256 encryption in both the 7z and ZIP formats. µTorrent is a light program to download BitTorrent files (only legal ones, seriously). CoreFTP has a free client for not only FTP but also SFTP, SSL & HTTPS.

  8. Remote control: Terminals is a multi-protocal remote desktop client for not only RDC (Terminal Services) but also VNC, Telnet, SSH and more. For remote access to the PC itself, I add the computer to my LogMeIn Free account right away.

  9. Productivity: OpenOffice is the free and open-source suite that includes a word processor, spreadsheet and presentation program, and more.

There are many more programs that I run on my main Windows XP installation for work purposes, but the above list is a good way to get started with free software on the newest desktop operating system from Microsoft.

Labels:

Sunday, July 5, 2009

Split a hard drive for use by either Windows or Mac

When you buy an external hard drive for a Mac, it comes preformatted as HFS+ (so that it's unusable from Windows) and when you buy one for a PC it generally comes preformatted as either FAT32 (with a 4GB per file limitation) or NTFS (so that a Mac can only read from it but not write to it). But if you're like me -- running both Windows and Mac operating systems (whether physical or virtual machines no longer matters), you may have wondered if it is possible to split a hard disk drive (HDD) to allow half of it to be used with Windows XP/Vista as an NTFS partition, while the other half to be used with Mac OS X as an HFS+ partition.

I recently used these steps to split up my new Western Digital My Passport Studio 500GB and it works great (I love the Firewire 800 speed)! Here is stock photo of it:


In this article I won't cover the NTFS-3G driver that can add read/write NTFS capabilities to Mac OS X. I also won't review MacDrive by MediaFour which allows Windows to read/write Mac-formatted partitions. The most practical solution that I've found which doesn't require any extra software is to divide up the drive -- one physical drive that presents different partitions depending on which operating system you plug it into. This is successful when you follow the correct sequence of partitioning and formatting the drive -- the order of the steps is important!



  1. On the Mac, use 'Disk Utility' (under 'Applications > Utilities') to select the external drive. On the 'Partition' tab, use the 'Volume Scheme' drop-down to split the drive into 2 Partitions. In the first area, select the format as "Free Space" -- this won't actually create a partition, but will set aside an unallocated area at the front of the disk. There is no point giving this area a name since we'll be naming it later in Windows anyway, but do set aside the number of MB (megabytes) that you want to be available to Windows.

  2. In the second area, select the format as "Mac OS Extended (Journaled)", give it a name, and let it have the remaining space (size in MB = Mega Bytes).

  3. Use the 'Options' button to choose the partition scheme as "Master Boot Record". This is the key to having the drive recognized by Windows. Although the Mac OS can't boot from this partition scheme, it can recognize all of the partitions too and our purpose here is to support backups not booting clones.

  4. Click the "Partition" button to appy your changes once you're sure that you've done all of this to the correct drive! Here is a screen shot example:



  5. Eject the disk from the Mac (drag to Trash and remove connecting cable).

  6. Plug the drive into your Windows machine, and open "Computer Management" (right-click on "My Computer" and choose "Manage" from the contextual menu). Another way of launching this is with 'Start > Run > compmgmt.msc'.

  7. Identify the drive that you've inserted (e.g. Disk1 if Disk0 is your only internal HDD). Right-click on the "Unallocated" space with the black title bar on it and pick "New Partition". Notice the 2nd portion of that drive is a "Healthy (Unknown Parition)" -- that's your Mac partition, so don't touch it.



  8. Step through the "New Partition Wizard" to format it as a "Primary Partition" with the desired size in MB, assign a drive letter (e.g. "E:"), format as file system "NTFS" and give it a name to help you recognize it. Leave the optional check-boxes de-selected (we don't want a quick format or compression). To begin the formatting, press the [Finish] button on the last screen of the wizard.



  9. Once the NTFS formatting is complete, the status will say "Healthy" and you can "safely remove hardware" (right-click on the aptly-named icon in your task tray) before you unplug the drive from your Windows machine.

  10. Now you can use the drive with either Operating System! When you plug it into your PC, you'll get the NTFS partition available through the drive letter that you specified, and you won't see the Mac side at all. When you plug it into your Mac, you'll see both partitions, and can view/open the files in the NTFS partition if you want to, but more importantly you'll have a normal Mac partition that you can use with Time Machine or for other backup purposes! Here is a combined set of partial screenshots from the footer of Disk Utility showing how I split up my drive:

Did I mention that I love Firewire 800 -- it really is much faster!

Labels:

Saturday, March 28, 2009

Useful BlackBerry Bold applications

BlackBerry Bold
I've had a BlackBerry Bold (9000) since it was released on the Rogers wireless network in August 2008. Here are some tips, tricks and general hints about the applications that I've found useful on it:

  1. WeatherEye Mobile for BlackBerry: The Weather Network's free (ad-supported) app can sit on the home screen to show the current temperature and conditions for your selected city when you glide over its icon! In the app, you can see short-term and long-term (through tomorrow) and long-term (5-day) forecasts.

  2. BeejiveIM: this is my preferred Instant Messaging (IM) client since it's multi-protocol and not dependent on a web service. I also have many single-service free IM clients installed, but it's worth paying $20 for BeejiveIM to get the Jabber/XMPP support and the consolidated buddy list across services. The other clients are generally only available as Over-The-Air (OTA) downloads from your BlackBerry's mobile browser so that the carrier's service books can be checked:

  3. Social Networking:
    • Facebook - it's handy to be able to see a few recent friends' updates as well as update my own status. But the photo upload resizes your pics, so I recommend using e-mail to mobile@facebook.com (with PIN code confirmation by SMS) for better quality. In version 1.5, you can update your contact records with their profile photos!
    • TwitterBerry (OTA) - it's a quick way to tweet without using SMS (there are other clients out there but this met my needs)
    • MySpace (OTA) - I don't really use this, but I had to try it.
    • Flickr (OTA) - yes I have an account but rarely use it.

  4. Google Mobile for BlackBerry: a whole suite of mobile apps and optimized web sites, such as Maps (see below), News, Docs, Reader, Sync, Mail, Picasa, etc. (lots more)

  5. Maps and driving directions (with both aGPS and true GPS support):
    • Google Maps (this is practically a killer app, especially with Latitude so that you can share your location and see your friends' locations who are sharing with you)
    • MapQuest for Mobile has a friendly interface and accurate maps in my experience but is still in beta so isn't as fast (OTA)

  6. Newsreaders (RSS feed clients):
    • CrackBerry.com edition of Viigo (OTA):
      • News: added my favourite RSS feeds (CBC BC, PGIMF, TechVibes, Engadget, The Business Insider, etc. plus some great built-in ones like Paul Kedrosky's Infectious Greed, dealnews, etc.
      • Local Interest: search for key phrases in Craigslist Vancouver
    • WSJ Mobile Reader: The Wall Street Journal is making the full text of subscriber content available free for a "limited time" so enjoy it while you can!

  7. Streaming radio:

  8. RepliGo Reader: after the 10-day trial period, this native PDF file viewer (not just online attachment preview) costs $20, so I haven't decided if I'll use it enough to buy it -- but the couple of files I tried it on worked very well.

  9. Games: BBTetris (free falling bricks game)


Now you can browse and download a wide variety of free and paid applications from the BlackBerry App World on your phone.

Labels:

Saturday, February 28, 2009

Great keyboard for using both Windows and Mac OS X at the same time

USB 2.0 keyboard, courtesy of Matias Corporation
Ever since I started running Windows as a virtual machine on my Mac, I'd been frustrated that the Apple keyboard was missing Windows-specific keys such as "print screen" and the Windows key (for the Start menu). On the other hand, using a typical PC keyboard in Mac OS X meant not having an Option key, having to remember that the Alt key was the Command key, and not having volume keys. I found the generic-sounding USB 2.0 keyboard but discovered that the black one is actually a very innovative keyboard with many great features:

  • includes the useful 'Windows' key and 'print screen' key but not the 'application key' (right-click key) that I've never used.
  • caps lock is tucked away in the bottom instead of to the left of the letter-a (where it would otherwise be too easy to hit)
  • dedicated volume keys (mute, quieter, louder) are slightly recessed
  • the 'num lock' key is tucked away in the bottom row instead of being in the upper-left of the numeric keypad. That spot is now used by an extra tab key, which helps us accountants with rapid data entry!

two USB connectorsI suppose that the USB 2.0 dock on the top of the keyboard is convenient for things like thumb drives, but since you have to plug in both of the keyboard's two USB connectors to your computer to get that port enabled, it's just a one-for-one extension and not a USB 2.0 hub. The two-port USB hub on the back of the keyboard is just USB 1.1, so those ports are only useful for your mouse and other simple devices.

Installation tip: if they keys don't seem to be acting the way they are labeled in your operating system, check the manual for your key mapping instructions (e.g. Mac OS X 10.4 Tiger has an extra set of steps compared to 10.5 Leopard). In Parallels 4.0, I had to use the Preferences to re-map the 'Alt' key to the 'Win' key and the 'Cmd' to the 'Alt' key, and deactivate the Mac's Command-tab so that Alt-tab would work in the PC -- then all the keys worked as they they indicated!

Keyboard preferences in Parallels 4.0 for Mac


The Matias Corporation is a Canadian company, and they sell the USB 2.0 keyboard both directly from their web site and through a long list of resellers worldwide. I got the keyboard for USD $35, but you can get a discount online.

Another nice keyboard that I'm using now is the Logitech Internet Navigator Keyboard (Part Number: 967233-0403). It's been discontinued but still available online from 3rd-party sites. It's a PC keyboard but the 'Start' key also has "alt" and "option" labels on it, and the "Alt" key also has "Apple" and "Command" labels on it. The volume and mute buttons work with the Mac sound settings! It doesn't have a USB 1.1 hub built-in though.

Labels:

Wednesday, December 17, 2008

Make your Windows desktop look like a Mac (at first glance)


As a fan of the Mac "look-and-feel" I decided to make my Windows XP desktop look more like Mac OS X 10.5 (Leopard). Here is how I set up my PC to make this screenshot:
  1. Search the net for a Mac-inspired high-resolution wallpaper image using terms such as: mac leopard aurora wallpaper. Be sure to get a JPEG with a resolution at least as large as your monitor so that it doesn't have to be scaled up.

  2. Get the free RocketDock -- a smoothly animated application launcher. You can right-click on it's trashcan icon to work with the Recycle Bin.

  3. Install the 'Tweak UI' part of Microsoft PowerToys for Windows XP then use it to hide the Recycle Bin from your desktop. You can hide the other icons from your desktop (like 'My Documents', 'My Computer' and 'Network Places', by using the 'Customize Desktop' dialog in your display properties.

  4. Set your taskbar to "Auto-hide" (there are aggressive hacks that can get rid of it completely, but I like the comfort factor of being able to get back to it if necessary).

  5. Change your Windows desktop display settings appearance to the color scheme "Silver" so that at least the remaining slice of your hidden taskbar isn't bright blue anymore.

  6. Download the Mac OS X Leopard Skin for RocketDock by AnthoNYC. This provides the translucent slanted shelf of the dock. Install it into "C:\Program Files\RocketDock\Skins".

  7. Download the iLeopard Icon Pack SE and install it into "C:\Program Files\RocketDock\Icons"

  8. Install a Dashboard-like application for Windows XP such as Yahoo Widgets or Google Desktop Gadgets. Microsoft Vista users already have Windows Sidebar. Drag the application to your RocketDock and change the 'Icon Settings' to use the Dashboard icon from the icon pack. Set up a few widgets, such as a clock and local weather.

  9. Download the Stacks Docklet, install it into "C:\Program Files\RocketDock\Docklets" and configure it to point at your preferred downloads folder. This gives you the 'fan effect' view of files & folders in that directory just like Leopard.

  10. Download Safely Remove Hardware v2 and install it into "C:\Program Files\RocketDock\Docklets" since you'll want an easy way to disconnect your USB devices cleanly without fishing around for the taskbar status icon.

  11. Add the "iCal" docklet (included) which shows the current date. You can configure it to launch your favourite Personal Information Manager (PIM) or calendar program (but I didn't).

  12. Download iShut to have an easy dialog box for Restart, Sleep and Shutdown.

  13. Go nuts with dragging shortcuts or programs onto your RocketDock and change each icon to match the Mac equivalent:

    • My Computer = Finder icon
    • Cygwin = Terminal icon
    • wupdmgr.exe (Windows Update) = Software Update icon
    • My Network Places = Network icon
    • Control Panel = System Preferences icon
    • Picasa 3 = iPhoto icon
    • PDF XChange viewer = Preview app icon

I could have gone even further and "skinned" the whole Windows theme using Stardock WindowBlinds but I decided not to go that far (yet).

Labels:

Sunday, November 30, 2008

Migrate Outlook Express and Windows Address Book to Apple Mail and Address Book using Mozilla Thunderbird


Last week I helped an uncle switch from using Windows XP on an old PC to a new 20" iMac with MacOS 10.5 (Leopard). I volunteered to help him move his e-mail from Outlook Express to Apple Mail and move his address book from Windows to the Mac's built-in Address Book application. Here are the steps that worked successfully:

  1. Back up the directory "C:\Documents and Settings\{USERNAME}\Local Settings\Application Data\Identities\{PROFILE-SPECIFIC KEY}\Microsoft\Outlook Express" in which you'll find the *.dbx files (mail folder database files).

  2. Back up the directory "C:\Documents and Settings\{USERNAME}\Application Data\Microsoft\Address Book" in which you'll find your {USERNAME}.wab file.

  3. Import the Outlook Express e-mail and Microsoft Address Book into Mozilla Thunderbird for WINDOWS (note: the Mac version doesn't have the ability to do this). If the old PC is too clunky to do this efficiently, use a separate profile on a different PC with the backups you took in Steps 1 & 2 (e.g. I used my own laptop).

  4. Export the Thunderbird contacts to an LDIF file (Lightweight Directory Interchange Format). Save it in your Thunderbird profile folder for convenience (this is simpler than exporting to vCard files).

  5. Copy the Thunderbird profile folder (e.g. in "C:\Documents and Settings\\Application Data\Thunderbird\Profiles\" on Windows XP) to your Mac. You don't need to actually install Thunderbird for Mac, just put the folder on your desktop.

  6. In Apple Mail, you can import the mail from the Thunderbird profile backup that you copied from the PC to the Mac. Many others have done this successfully, such as FineWine on MacTalk.

  7. In Apple Address book, you can import the LDIF file that you copied from your PC to your Mac.


Happy Mac!

Labels: