DNSstuff.com
Jun
4th

Do Your Customers Trust You?

Filed under Webmasters | Leave a Comment

I’m sure you’ve seen web sites that carry various ‘trust’ logos. Trust is important when you expect the public to enter their personal information on your website. It may well be that you are entirely trustworthy and dedicated to the protection of your customers information, but is that the first perception they get when they land on your website?

Website and business certification services have been around since the 1990’s. The main difficulty with most services has been the high cost. Most small businesses can’t afford several thousand dollars per year. There have been (and probably still are) a handful of cheaper services around but you generally get what you pay for and some of the cheaper services are a bit dubious. They only provide very basic verification checks and for that reason they aren’t particularly trustworthy.

Trust-Guard provide business verification, PCI compliance/security scanning and other verification services at a fraction of the cost of most similar services. Their verification methods are second to none and include verification of your businesses website URL, business address, support phone number, support email address, managing member address (kept private), managing member phone number (kept private) and managing member email address (kept private). All of these aspects of your business are checked and verified, not by simply looking up online records but by actual contact being made to each of these contact points. Trust-Guard are just as diligent with PCI compliance, security scanning and privacy policy compliance.

The best part is that the cost for these very professional services ranges from $47-$87 per month. Business and website certification can significantly increase your website sales and with such a low cost there is no excuse to be missing out on sales due to a poor perception of the trustworthiness of your web site.

Full details and pricing are available at  The Trust-Guard Website.

Jun
3rd

Update a file in multiple home directories

A few times now I’ve had to update a file in multiple home directories. I did a lot of searching and using tips and examples from several sites, plus the little bit of experience I had with shell scripts (hey, I may be a geek but I’m not a bash geek! 🙂 ), I wrote this little script. It looks through all the home directories for a specific file, updates it with a new version and then changes the permissions to the correct owner for that home directory. Cool eh?

In this case I was updating wordpress’s rss.php file for a bunch of hosting accounts. Here’s the script:

========== 8< ========================

#!/bin/sh

# These next 3 lines should be on a single line.
for file in $(find /home -name "rss.php" | 
grep 'wp-includes/rss.php' | xargs ls -l | 
grep 'rss.php' | awk '{print $9}')
# Followed by this line and the rest of the script
do
    owner=$(ls -al $file | awk '{print $3}');
    mv $file ${file}.bak.php
    cp /updates/new_wp_rss.php $file
    chown $owner $file
    chgrp $owner $file
    echo "Changed owner to $owner for $file"
done

=================== >8 ================

The script backs up the existing file and copies a new one from the /updates directory. It then changes the ownership on the new file so that it is correct for the home directory that it is currently in. I also have it print that out to screen … that’s just a bit of paranoia – I like to see what’s happening :).

You may be wondering about the second ‘grep’ on the first line of the script. It’s in there because I use this script fairly regularly and in some cases I had a mix of old and new files. I only wanted to update the old files, so I was grepping the size of the file in that second grep. Instead of grep ‘rss.php’ it was something like grep’15347′ so that it would find all of the files named in the first grep, but only update them if they were a specific size.