<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>San Bei Ji &#187; Security</title>
	<atom:link href="http://www.sanbeiji.com/archives/tag/security/feed" rel="self" type="application/rss+xml" />
	<link>http://www.sanbeiji.com</link>
	<description>三杯雞好吃!</description>
	<lastBuildDate>Wed, 18 Jan 2012 17:57:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MySQL App User Privileges</title>
		<link>http://www.sanbeiji.com/archives/785</link>
		<comments>http://www.sanbeiji.com/archives/785#comments</comments>
		<pubDate>Tue, 05 Jun 2007 04:37:36 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/archives/785</guid>
		<description><![CDATA[Here is a basic MySQL tip regarding application users: When building applications that use MySQL, it is a best practice to create a MySQL application user that is dedicated to your app and has privileges to access only the database &#8230; <a href="http://www.sanbeiji.com/archives/785">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F785%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22MySQL%20App%20User%20Privileges%22%20%7D);"></div>
<p>Here is a basic MySQL tip regarding application users:</p>
<p>When building applications that use <a href="http://www.mysql.com/">MySQL</a>, it is a best practice to create a MySQL application user that is dedicated to your app and has privileges to access only the database it is assigned.</p>
<p>With the latest version of <a href="http://www.phpmyadmin.net/">phpMyAdmin</a>, you can do this all in one step in the <strong>Add New User</strong> screen. Look for this fieldset and check the <strong>&#8220;Create database with same name and grant all privileges&#8221;</strong> box:</p>
<p><img src='http://www.sanbeiji.com/wp-content/uploads/2007/06/db4user.gif' alt='Database for user' /></p>
<p>You can then retract privileges from the given database, i.e. like if the app is only going to need SELECT and you are uploading tables manually, then you can uncheck everything except the SELECT box. Or maybe the user needs only standard CRUD operations, in which you can assign it SELECT, INSERT, UPDATE, and DELETE. As a best practice, you want your user to only have the minimum amount of privileges it needs for the app to function.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/785/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Toothpaste</title>
		<link>http://www.sanbeiji.com/archives/750</link>
		<comments>http://www.sanbeiji.com/archives/750#comments</comments>
		<pubDate>Mon, 29 Jan 2007 06:36:22 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Meanwhile]]></category>
		<category><![CDATA[America]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/archives/750</guid>
		<description><![CDATA[Today I had my toothpaste confiscated from the airline security people as I went through. They said my toothpaste tube was too big. I pointed out that it was 90% empty, and only a few CCs of product remained in &#8230; <a href="http://www.sanbeiji.com/archives/750">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F750%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Toothpaste%22%20%7D);"></div>
<p>Today I had my toothpaste confiscated from the airline security people as I went through. They said my toothpaste tube was too big. I pointed out that it was 90% empty, and only a few CCs of product remained in this flattened tube, but they were convinced that this dangerous piece of contraband was too risky.</p>
<p>We live in a very strange world where toothpaste and shampoo are not allowed on airplanes. I already had to take off my jacket, my coat, my belt, and my damn shoes. Now they deny me the ability to conduct basic personal hygiene. Flying is now an exercise in abject humiliation. Being rushed through the line while you fumble for your flight pass and try to get your laptop computer out while throngs of stressed out and impatient travelers and DHS employees watch you practically strip to your underwear. Imagine how much money is spent on placebo airport security. In some sense here, the terrorists have won, because I&#8217;m sure they are laughing their asses off at us every time we disrobe at the airport.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/750/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Spam Filter</title>
		<link>http://www.sanbeiji.com/archives/707</link>
		<comments>http://www.sanbeiji.com/archives/707#comments</comments>
		<pubDate>Tue, 30 May 2006 00:00:16 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Meanwhile]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=707</guid>
		<description><![CDATA[An interesting byproduct of a workaround I recently did to temporarily patch a buggy issue with downloading my email has resulted in a dramatic decrease in volume for spam coming in to my email account, and I like it. I&#8217;ve &#8230; <a href="http://www.sanbeiji.com/archives/707">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F707%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Google%20Spam%20Filter%22%20%7D);"></div>
<p>An interesting byproduct of a workaround I recently did to temporarily patch a buggy issue with downloading my email has resulted in a dramatic decrease in volume for spam coming in to my email account, and I like it.</p>
<p>I&#8217;ve been a big fan of <a href="http://c-command.com/spamsieve/">SpamSieve</a> to filter out 99% of the crap that gets thrown at my inbox, and it works beautifully. However, as time has marched on, a recent trend in spam headers has caused my default email reader Microsoft Entourage 2004 to get stuck on occasion. Those occasions have increased from sporadic to daily to now hourly in the past couple of days. Aggrivating. I have to go into the server and unstick it by finding potential spam messages with the bad headers and deleting them.</p>
<p>I&#8217;m not really sure what the header in question is, or why Entourage throws up it&#8217;s hands every time it encounters this thing, but as of today I officially don&#8217;t care. Because to get around the problem for a few hours and to save my sanity, I decided to activate POP3 access for my Gmail account, and to just have my sanbeiji.com email get forwarded to there.</p>
<p>Since I hadn&#8217;t really used my Gmail account much since setting it up, I wasn&#8217;t really familiar with how well it worked or how much I&#8217;d like the features. Truth is now, I love it for one thing: The spam filtration rocks.</p>
<p>Finally, some server-side relief that I can depend on. I was wondering why I was getting so little email all of a sudden. It seemed to work if I sent test messages, but where was all the spam going? </p>
<p>Aye, to the heap it went.</p>
<p>Goodbye, you whores of the spam netherworld! No longer do I have to waste my bandwidth on downloading another &#8220;Warmest Greeetings and Salutations!!!&#8221; letter from His Royal Highness the Captain Cornholio of Lagos, Nigeria. Gone are the ridiculous and misspelled offers for mortgages, Viagra, and pr0n.</p>
<h3>Privacy Concerns</h3>
<p>If you don&#8217;t like the idea of all your email getting passed through Google&#8217;s servers and getting sniffed because Google might one day arbitrarily <a href="http://www.google.com/search?q=google+handing+over+records">hand over records about you</a> to the authorities, you could always encrypt using <a href="http://www.pgp.com/">PGP</a> or <a href="http://www.marknoble.com/tutorial/smime/smime.aspx">S/MIME</a>. Granted they have a marginally better track record going than other ISPs and Yahoo, but better to be safe than sorry.</p>
<p>Update: There&#8217;s even an <a href="http://richard.jones.name/google-hacks/gmail-smime/gmail-smime.html">S/MIME extension for Gmail</a>. Also, my PGP key is listed in the <a href="https://keyserver.pgp.com/">PGP Global Directory</a>.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/707/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Music Teachers: Fraud Alert</title>
		<link>http://www.sanbeiji.com/archives/686</link>
		<comments>http://www.sanbeiji.com/archives/686#comments</comments>
		<pubDate>Fri, 31 Mar 2006 07:04:49 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Music]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[teaching]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=686</guid>
		<description><![CDATA[There is a new scam going around that targets music teachers. The assholes trawl Craigslist and other sites looking for independent private music teachers to rip off. Basically they pretend to be sending a child from another country to the &#8230; <a href="http://www.sanbeiji.com/archives/686">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F686%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Music%20Teachers%3A%20Fraud%20Alert%22%20%7D);"></div>
<p>There is a new scam going around that targets music teachers. The assholes trawl Craigslist and other sites looking for independent private music teachers to rip off. Basically they pretend to be sending a child from another country to the your location to study, vacation or whatever, and they want to set them up with music lessons while they&#8217;re in town. They then send you a supposed check which invariably turns out to be way too much money, they mention they sent too much, and just ask you to deposit the check and send them a refund. Of course the check is fraudulent, and you wind up sending them free money and getting in trouble at the same time.</p>
<p>Yingwen got one of these today and luckily she saw some earlier reports posted on Craigslist that resembled the pattern. Some of the obvious signs are:</p>
<ul>
<li>Email is from another country sending a child to your town.</li>
<li>Spelling, punctuation, grammar is crap.</li>
<li>Name of sender is totally improbable</li>
</ul>
<p>More info:</p>
<p><a href="http://www.pianoteachers.com/scam_alert.htm">Scam Alert at PianoTeachers.com</a><br />
<a href="http://www.joewein.de/sw/fraud-violin-teacher.htm">Violin Teacher Scam at joewein.de</a><br />
<a href="http://teachers.net/classifieds/fraud.html">Teachers.net Classifieds Fraud Alert</a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/686/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zend/PHP Conference, Days 1 &amp; 2</title>
		<link>http://www.sanbeiji.com/archives/621</link>
		<comments>http://www.sanbeiji.com/archives/621#comments</comments>
		<pubDate>Thu, 20 Oct 2005 00:39:08 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=621</guid>
		<description><![CDATA[I&#8217;ve been here the past couple of days at the Zend PHP conference in Burlingame. Quite a good show all around so far. This is the first event of a planned annual series, and from what I hear the attendance &#8230; <a href="http://www.sanbeiji.com/archives/621">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F621%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Zend%2FPHP%20Conference%2C%20Days%201%20%26%202%22%20%7D);"></div>
<p>I&#8217;ve been here the past couple of days at the Zend PHP conference in Burlingame. Quite a good show all around so far. This is the first event of a planned annual series, and from what I hear the attendance has greatly exceeded expectations. Looking forward to many more of these.</p>
<p>Yesterday I attended an all-day refresher session given by <a href="http://tabini.ca/">Marco Tabini</a>. This was actually a really helpful session &#8211; reviewing all the basic nuts and bolts of PHP to provide myself with a more well-rounded understanding of all that hacking I&#8217;ve been doing over the past few years. </p>
<p>Did get to briefly talk with <a href="http://shiflett.org/">Chris Shiflett</a> to discuss some security-related issues as well as get his take on PHP books. His own book <cite>Essential PHP Security</cite> is due out any day. Looking forward to his presentation this coming Friday morning.</p>
<p>The nice thing about this event has been it&#8217;s relatively small size, and the openness of the people that are attending. I have met a bunch of really cool, really intelligent PHP developers, and was able to discuss some real meaningful issues at a high level. </p>
<p>Today was a <em>full</em> day of breakout sessions and keynotes. I think my brain is reaching capacity for now. Thankfully it&#8217;s about time to wind down to open the exhibit booths and get some free snacks and libations.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/621/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Secure your MySQL installation</title>
		<link>http://www.sanbeiji.com/archives/613</link>
		<comments>http://www.sanbeiji.com/archives/613#comments</comments>
		<pubDate>Thu, 06 Oct 2005 03:12:08 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=613</guid>
		<description><![CDATA[I just noticed this instruction at Marc Liyanage&#8217;s MySQL install page, and it&#8217;s really good advice: In recent distributions of MySQL, you can also run the script mysql_secure_installation instead of just changing the root password. That script allows you to &#8230; <a href="http://www.sanbeiji.com/archives/613">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F613%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Secure%20your%20MySQL%20installation%22%20%7D);"></div>
<p>I just noticed <a href="http://www.entropy.ch/software/macosx/mysql/">this instruction at Marc Liyanage&#8217;s MySQL install page</a>, and it&#8217;s really good advice:</p>
<blockquote><p>
In recent distributions of MySQL, you can also run the script mysql_secure_installation instead of just changing the root password. That script allows you to change the root password, delete the test database, remove the anonymous user, remove remote access (allowing access from the local machine only) and reset the privileges table.</p></blockquote>
<p>A nice handy script to tidy up your MySQL installation. I&#8217;ve installed it so many times lately on so many machines, and I foresee many more in my not-so-distant future. This will come in handy.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/613/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gig Land: Web Designer for Zone Labs</title>
		<link>http://www.sanbeiji.com/archives/597</link>
		<comments>http://www.sanbeiji.com/archives/597#comments</comments>
		<pubDate>Sat, 27 Aug 2005 14:52:58 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=597</guid>
		<description><![CDATA[Zone Labs in San Francisco needs a web design contractor and quick! Interested folks can send their resumes to khalperin AT zonelabs.com. Position Title:&#160; Web Design Contractor General position responsibilities: The Web Design contractor is responsible for supporting all production &#8230; <a href="http://www.sanbeiji.com/archives/597">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F597%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Gig%20Land%3A%20Web%20Designer%20for%20Zone%20Labs%22%20%7D);"></div>
<p><a href="http://www.zonelabs.com/">Zone Labs</a> in San Francisco needs a web design contractor and quick! Interested folks can send their resumes to <strong>khalperin AT zonelabs.com</strong>.</p>
<h4>Position Title:&nbsp; Web Design Contractor </h4>
<h5>General position responsibilities:</h5>
<p>The Web Design contractor is responsible for supporting all production efforts for Zone Labs online campaigns.</p>
<p>Proactively manage and produce all of E-commerce-oriented, technology partner and SMB initiatives including web promotion activity such as email campaigns, landing pages, ad banners, etc.</p>
<h5>Required skill set and experience: </h5>
<ul>
<li>High-level proficiency with HTML, CSS, and Javascript</li>
<li>Demonstrated expert understanding and implementation with popular email clients</li>
<li>Detailed understanding of cross-browser compatibility and proven experience creating highly-compatible web deliverables</li>
<li>Hands-on experience with Dreamweaver HTML editor/design tools a must </li>
<li>Excellent sense of web design to ensure optimal response from online campaigns</li>
<li>Detailed-oriented with ability to track, organize and prioritize multiple, simultaneous projects and request</li>
</ul>
<h5>Desired skill set:</h5>
<ul>
<li>Demonstrated ability to positively affect visitor/user behavior</li>
<li>Demonstrated ability to engage in cross-department planning and the ability to manage your own work schedules and commitments </li>
<li>B2C and B2B background desired</li>
</ul>
<h5>Education:</h5>
<p>BS/BA degree required or equivalent industry experience, with a minimum of 3-5 years of web design/ production experience.</p>
<p>Send your resume to <strong>khalperin AT zonelabs.com</strong>.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/597/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Certificate Assistant for Mac OS X</title>
		<link>http://www.sanbeiji.com/archives/562</link>
		<comments>http://www.sanbeiji.com/archives/562#comments</comments>
		<pubDate>Wed, 25 May 2005 22:34:37 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sanbeiji.com/?p=562</guid>
		<description><![CDATA[Well I had no idea this was coming  stumbled across the feature when I was checking out the new Keychain Access app. In the Keychain Access menu, look for the Certificate Assistant menu item. As Apple states: Apple &#8211; &#8230; <a href="http://www.sanbeiji.com/archives/562">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_brick-red" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.sanbeiji.com%252Farchives%252F562%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Certificate%20Assistant%20for%20Mac%20OS%20X%22%20%7D);"></div>
<p>Well I had no idea this was coming  stumbled across the feature when I was checking out the new Keychain Access app. In the Keychain Access menu, look for the Certificate Assistant menu item. As Apple states:</p>
<p><a href="http://www.apple.com/macosx/newfeatures/over200.html">Apple &#8211; Mac OS X &#8211; 200+ New Features</a></p>
<blockquote>
<p><strong>Certificate Assistant</strong><br />
    Easily request, issue and manage certificates for small workgroups with this utility that blends many functions of a commercial Certificate Authority at none of the cost.</p>
</blockquote>
<p>Well, well, well. What have we here? This is a pleasant suprise &#8211; create my own little self-signed certificates and a <acronym title="Certificate Authority">CA</acronym> using a Mac-based assistant? How easy! </p>
<p>Self-signed certs don&#8217;t do much good for public use of things like <acronym title="Secure Sockets Layer">SSL</acronym> or <acronym title="Secure Multi-Purpose Mail Extensions">S/MIME</acronym>, but can be very nice for testing or for securing private communications. An administrator could go and create their own <acronym title="Certificate Authority">CA</acronym>, install the cert as valid on the machines in the local network, and issue people certificates for <acronym title="Secure Multi-Purpose Mail Extensions">S/MIME</acronym> on the <acronym title="Large Area Network">LAN</acronym>.</p>
<p>I&#8217;d been hoping for better X.509 tools for Mac since I started working at Xcert back in 1998. With the improved Keychain Access, Certificate Manager, client certificate authentication in Safari, and <acronym title="Secure Multi-Purpose Mail Extensions">S/MIME</acronym> built in to Mail and Entourage, it seems that things have finally arrived.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.sanbeiji.com/archives/562/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.sanbeiji.com @ 2012-02-04 03:41:44 -->
