Pages

Wednesday, 5 February 2014

Chrome - secure your microphone from spying sites!





If you visit certain sites using Google's Chrome browser, and give the site permission to use your computer's microphone (to use speech recognition navigation etc), a researcher has discovered that the website could keep your microphone on even when you've left the site and think it's off - with no warning indicator that it's still on.

To secure your computer and stop sites using this vulnerability to eavesdrop on you using your mic, El Reg has suggested that you simply disable websites' access to your mic and camara. Here's how to do that, with pics:

1. In Chrome, go to the Settings menu (top right, click the 3 horizontal lines icon), then choose the Settings item from the drop down.

image

2. The Settings page comes up. Scroll all the way down to the end, and click "Show advanced settings":

image

3. Now in the "Privacy" section that appears (which in my view is an essential basic requirement and not an "advanced" setting, but another time…), click the "Content settings button:

image

4. Then you have to scroll down again to find the Media section, and make sure you select "Do not allow sites to access my camera and microphone", then click the "Done" button.

image

That's it! Obviously you'll have to change it if you actually want a particular site to access them, but remember to change it back afterwards.

I rarely use Chrome myself (here's reasons why I don't use Chrome), and this sort of security issue isn't exactly going to persuade me to change my mind!

Monday, 3 February 2014

Open Word or Excel document read-only - add context menu item





If you'd like to right-click on a Word or Excel document in Windows Explorer to open it as read-only, supposedly you should be able to hold down the Shift key, rightclick on the filename, and there should be an option to "Open as Read-Only".

image

However, choosing this Shift-rightclick option doesn't actually open the document as read-only. This seems to be a known bug in Office 2003 and Office 2007, and also in Office 2010 and Excel 2010.

There's one workaround and one fix.

Open in protected view

The workaround is that, if you Shift-rightclick on a Word or Excel .xls file in Windows Explorer, there's also an option to "Open in Protected View".

Choose that, and it works pretty much as read-only: you can't change anything, you can't save, but you can copy/paste from that document. This works for Excel as well as Word.

Rightclick context menu item

What solves the problem completely in Word, which I used myself, is to edit things to add a new rightclick Open Read-only context menu option that actually works to open Word documents as read-only. I based this solution on a combo of this post (which wasn't actually on opening read only) and this page (about opening read-only, but for XP only, not later versions of Windows).

Here's how to add a right-click context menu item to open Word files as read only, properly - works for me using Windows 7 and Word 2010:

First, download FileTypesMan (free, but donate if you can, the man certainly deserves it!) - you have to scroll quite a way down for the "Download FileTypesMan" link (I used "Download FileTypesMan for x64" as my computer is Windows 7 Pro 64-bit).

Next, unzip/extract the files (rightclick on the zip fiule downloaded and Extract all to create a new unzipped folder) and open the new folder, then run FileTypesMan.exe.

On the left, scroll down till you find and highlight .docx (or use menu Edit > Find and and type docx to find it, make sure you then highlight that line):

image

Now in the menu choose Actions > New Action (or press Ctrl-n).

In the box that pops up, fill it in like this (and see diagram just above the list):

image

  • Action name - I used  "Open read-only" without the quotes, you could just use "Read only" etc as you prefer
  • Menu Caption - I used "Open read-only" again
  • Command-Line - you can click Browse to find your Winword.exe under Program Files or Program Files (x86) (you will have to drill down to find Microsoft Office, Office14 or Office11 etc depending on your version), or Select from Running Programs if Word is already running, which is the easiest. You could alternatively enter the full path to Winword.exe, with quotes around it, as shown below, but it's easiest to Select from Running Programs (you can launch Word just before you click Select and it should work, just scroll down to find it in the "Select Process" list, possibly to the end):image

After you've used Browse or Select, it will fill in the Command-Line box for you with something like this:
"C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" "%1"

Now, you have to edit what's in the Command-Line box, by inserting after the "%1" the following (which you can copy/paste from the next line) - just after the 1 but before the close double quotes, and make sure there's a space between the 1 and the first /:
/h /n /dde

In my case, the Command-Line box ended up reading like this:
"C:\Program Files (x86)\Microsoft Office\Office14\WINWORD.EXE" "%1 /h /n /dde"

Next, in the DDE section in the Message box, you should enter  the following, which again you can copy/paste:
[AppShow][REM _DDE_ReadWriteOnSave][FileOpen .Name="%1",.Revert=0,.ReadOnly=1]

(In the Application box you can enter Word if you like, but it will still work even if you don't.)

Finally, click OK. This adds a new Action to the bottom half of the FileTypesMan window, which you can doubleclick to edit in future.

Now, when you rightclick (no need to hold down the Shift key) a docx document in Windows Explorer, you will have a working "Open read-only" menu option (or whatever title you gave it in the "Menu caption" box above).

Furthermore, in FileTypesMan you can select (in the lefthand column) the type .doc for old-style Word documents, and rinse and repeat the steps above, if you wish.

Excel protected view - rightclick only

For Excel spreadsheets, unfortunately the above fix doesn't work, so you have to open them in protected view.

But to make life easier for yourself, you can use FileTypesMan to change things so that you don't have to Shift-rightclick to get the "Open in Protected View" menu option. Here's how to get that option to display just on a simple rightclick:

In FileTypesMan, find and highlight.xls on the left (scroll or search, as with docx above).

image

Now in the bottom half of the window, find and doubleclick "ViewProtected" (outlined in red above).

In the box that pops up, UNtick "Extended", and OK:

image

Now a simple rightclick, as opposed to Shift-rightclick, will call up the "Open in Protected View" option.

Tuesday, 28 January 2014

Hard drive brands - most / least reliable?





Which hard drive to buy? A helpful report by cloud backup provider Backblaze, which uses consumer hard drives, summarised its experiences with over 27,000 drives: of the following 3 brands, Hitachi did best in terms of both annual failure rate and cumulative survival rate (see the report for detailed info on specific models etc). The survival rates over 3 years were:

  1. Hitachi 96.9%
  2. Western Digital 94.8%
  3. Seagate 73.5%.

Interestingly, the latter two reflect my own experience.

I use 4 external hard drives as standard. Two are Seagate and two are Western Digital (WD). One is for my documents (I moved 'My Documents' and similar folders from C drive to an external drive, to protect myself against Windows problems or C drive failing - I wish Microsoft would store user data in a different partition from Windows!). The others are for backup.

One WD recently died, but I've had it for years, and the other one (equally old) is still going strong. One 2TB Seagate also died just after that - but it's less than a year old! And to add insult to injury, one of my WD drives was bought to replace a drive that died a few years ago - a Seagate, again. So, to add my own review, the failure rate I've personally experienced is 2 Seagates (including quite a new one) to 1 WD.

That's nowhere near as statistically significant as Backblaze's results, of course. Still, I'll have to buy at least one more hard drive soon given the 2 dead ones - and guess which brand I'm considering now? Hitachi!

I'm thinking of getting this one:

Or this 2TB one (though two of the 1TB seems better value, and one customer says the 1TB is USB 2.0-compatible, which I need as my KVM switch is USB 2.0 and I don't want to buy another one till the price of USB 3.0 KVM switches with DVI comes down a lot more!):

 

Backblaze noted that WD acquired Hitachi's disk drive business a year and a half ago, but given that WD ranked only just behind Hitachi, I'm not too worried about buying those Hitachi drives. Also, entirely subjectively, a relative who's a hardware whiz (always builds all his own PCs etc), has always sworn by WD drives. So I might go for this instead:

That's because I have so little desk space that I need drives that stand up vertically with a small footprint, so I may have to buy the WD given that it's not clear whether I can use the Hitachi Touro drives vertically on their side - does anyone know?

One thing's for sure, after two Seagate drives going dead parrot on me, the second one being my newest hard drive, I ain't gonna buy Seagates no more, no sirree!