<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Hardening on Lin's Blog</title><link>https://coder.tw/en/tags/hardening/</link><description>Recent content in Hardening on Lin's Blog</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Wed, 25 Jan 2012 15:12:55 +0000</lastBuildDate><atom:link href="https://coder.tw/en/tags/hardening/index.xml" rel="self" type="application/rss+xml"/><item><title>MongoDB Security Settings: Account Setup and Login IP Restrictions</title><link>https://coder.tw/en/posts/mongodb-security-account-ip-settings/</link><pubDate>Wed, 25 Jan 2012 15:12:55 +0000</pubDate><guid>https://coder.tw/en/posts/mongodb-security-account-ip-settings/</guid><description>&lt;p&gt;By default, MongoDB has no protection at all. Anyone can log in remotely without any account, which is really dangerous if you use it for programming. So in this post, I&amp;rsquo;ll show you how to add account settings to MongoDB, so that logging in requires a username and password, and I&amp;rsquo;ll also show you how to restrict logins by IP address.&lt;/p&gt;</description></item><item><title>How to Defend Against Basic SQL Injection in PHP?</title><link>https://coder.tw/en/posts/php-basic-sql-injection-defense/</link><pubDate>Tue, 02 Aug 2011 07:00:27 +0000</pubDate><guid>https://coder.tw/en/posts/php-basic-sql-injection-defense/</guid><description>&lt;p&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/08/2011-08-01_222010.jpg"&gt;&lt;img style="background-image: none; padding-left: 0px; padding-right: 0px; display: block; margin-left: auto; margin-right: auto; padding-top: 0px; border-width: 0px; border-color: initial; border-style: initial;" title="2011-08-01_222010" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2011/08/2011-08-01_222010_thumb.jpg" alt="2011-08-01_222010" width="524" height="401" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For the past few days I&amp;rsquo;ve been writing a small program to organize contacts, so I&amp;rsquo;ve been researching quite a few things. While working on the database side, I wanted to guard against so-called SQL injection, where a malicious string is placed in a parameter to attack the database. So I applied some basic defenses. The following is how to add some basic protection against SQL injection~&lt;/p&gt;</description></item><item><title>Top 10 WordPress Security Tips</title><link>https://coder.tw/en/posts/top-10-wordpress-security-tips/</link><pubDate>Sat, 14 Nov 2009 22:51:54 +0000</pubDate><guid>https://coder.tw/en/posts/top-10-wordpress-security-tips/</guid><description>&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; word-break: break-all; padding: 0px;"&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; word-break: break-all; padding: 0px;"&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; word-break: break-all; padding: 0px;"&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;As the saying goes, the tall tree catches the wind. WordPress is the most widely used blogging platform in the world, so it's also a prime target for hackers everywhere. Strengthening your WordPress security is something every blogger has to do. WordPress releases security updates every so often, but keeping your site safe also depends on you. A Japanese organization once studied computer incidents (computers being attacked) and found that a large share of them came from user mistakes rather than from problems with the system itself. So in this post, I'll borrow an article from the Chinese blog &lt;a href="http://www.williamlong.info/archives/1617.html"&gt;Moonlight Blog&lt;/a&gt; to show you how to check whether your WordPress installation is secure enough.&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top: 10px; margin-right: 0px; margin-bottom: 15px; margin-left: 0px; word-break: break-all; padding: 0px;"&gt;&lt;span onmouseover="_tipon(this)" onmouseout="_tipoff()"&gt;</description></item><item><title>WP Security Scan - Scan Your WordPress for Vulnerabilities</title><link>https://coder.tw/en/posts/wp-security-scan-plugin/</link><pubDate>Sat, 14 Nov 2009 16:39:56 +0000</pubDate><guid>https://coder.tw/en/posts/wp-security-scan-plugin/</guid><description>&lt;p style="text-align: center;"&gt;&lt;a href="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2009/11/2009-11-14-15-27-06.jpg"&gt;&lt;img class="size-medium wp-image-2223 aligncenter" title="2009-11-14 15 27 06" src="https://pub-6c026d2742d14927bfa2d850c31eac91.r2.dev/wp-content/uploads/2009/11/2009-11-14-15-27-06-300x216.jpg" alt="2009-11-14 15 27 06" width="300" height="216" /&gt;&lt;/a&gt;&lt;/p&gt;
WP Security Scan is a WordPress plugin that scans your site and reports WordPress vulnerabilities. If you host your own site, you probably already know that before setting things up you need to configure file permissions — things like 777 and 655. What WP Security Scan actually does is check whether your file permissions are set correctly, and it can also check and change your database prefix. It's a great fit for beginners.</description></item></channel></rss>