<?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>Sakin Shrestha &#62; Management and IT Consultant (Wordpress Expert) &#187; Security</title>
	<atom:link href="http://sakinshrestha.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://sakinshrestha.com</link>
	<description>Articles related to Management, Technology, WordPress,  News, Travel to Nepal</description>
	<lastBuildDate>Sun, 29 Aug 2010 02:56:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>WordPress 2.8.6 Security Release</title>
		<link>http://sakinshrestha.com/wordpress/wordpress-2-8-6-security-release/</link>
		<comments>http://sakinshrestha.com/wordpress/wordpress-2-8-6-security-release/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 06:28:07 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=326</guid>
		<description><![CDATA[Another Security Update by WordPress. I think now must of us have felt that how can I keep updated with the release which in not even 1 month when they release WordPress 2.8.5 Hardening Release on October 20, 2009. This version fixes two security problems that can be exploited by registered, logged in users who [...]]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_404" class="wp-caption aligncenter" style="width: 588px"><a href="http://www.sakinshrestha.com/wp-content/uploads/2009/11/WordpressSecurityRelease2.8.6.jpg"><img src="http://www.sakinshrestha.com/wp-content/uploads/2009/11/WordpressSecurityRelease2.8.6.jpg" alt="Wordpress Security Release 2.8.6" title="Wordpress Security Release 2.8.6" width="578" height="200" class="size-full wp-image-404" /></a><p class="wp-caption-text">Wordpress Security Release 2.8.6</p></div><br />
Another Security Update by WordPress. I think now must of us have felt that how can I keep updated with the release which in not even 1 month when they release WordPress 2.8.5 Hardening Release on October 20, 2009.</p>
<p>This version fixes two security problems that can be exploited by registered, logged in users who have posting privileges. So, for the site which have registration open or have many authorized user with the posting privileges. You are highly recommended to update it. But for the wordpress site which haven&#8217;t open the registration or those who don&#8217;t have unauthorized logged in users who have posting privileges. Just check for the unnecessary users and delete them. <span id="more-326"></span></p>
<p>The first problem is an XSS vulnerability in Press This discovered by Benjamin Flesch.  The second problem, discovered by Dawid Golunski, is an issue with sanitizing uploaded file names that can be exploited in certain Apache configurations.</p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/wordpress-2-8-6-security-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix if Your WordPress Site is Hacked</title>
		<link>http://sakinshrestha.com/wordpress/fix-if-your-wordpress-site-is-hacked/</link>
		<comments>http://sakinshrestha.com/wordpress/fix-if-your-wordpress-site-is-hacked/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 03:53:29 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=282</guid>
		<description><![CDATA[In the recent months there has been increasing numbers of website being hacked. WordPress sites are also being hacked. Getting your website hacked in very painful and it takes lot of time to fix it and also it affects your site ranking, cause your visitors to be exposed to virus and torjan attacks. So, it [...]]]></description>
			<content:encoded><![CDATA[<p>In the recent months there has been increasing numbers of website being hacked. WordPress sites are also being hacked. Getting your website hacked in very painful and it takes lot of time to fix it and also it affects your site ranking, cause your visitors to be exposed to virus and torjan attacks. So, it is better to make your site more secure and prevent it from hacking. Please read the article <a href="http://www.sakinshrestha.com/wordpress-security-tips" title="Wordpress Security Tips">WordPress Security Tips </a> to make your wordpress site secure.</p>
<p>But what to do if your WordPress site has already been hacked. Most of the souses in the internet tell us to Upgrade the WordPress to the latest version. It somehow fix the issues in many cases but it will not work in the following condition:</p>
<ul>
<li>If the hacker have left a back door files hidden in a directory where it wouldn&#8217;t get overwritten with an upgrade.</li>
<li>If the hacker have inserted code into your theme. </li>
<li>If the hacker have created user account with admin privileges.</li>
<li>If the hacker have added script in your database. </li>
</ul>
<p>Under any of the above listed condition the update of WordPress to the latest version will not solve the issue. The hacker will hack again with the use of back door. So, I would like to list out the steps that you should take to clean the hacks and restore your WordPress site.<span id="more-282"></span></p>
<ol>
<li><strong>Backup the Files and Database: </strong>First thing is to backup the files. In wordpress site, you need to backup your current theme, upload folder and database. All the custom plugin you have developed or modified. Make the list of the plugins you used. For more information on Backup please visit <a href="http://codex.wordpress.org/WordPress_Backups" title="Wordpress Backup" target="blank">WordPress Backup by WordPress.org</a>
</li>
<li><strong>Scan the Files and Your Computer: </strong>You need to completely scan your computer and the files you have backup for any virus or malware. I use Kaspersky Internet Security 2010 to scan for the virus and malware. You can use any of the top antivirus program. Also don&#8217;t forget to scan your wordpress theme. I have recently found the script added in the theme such as iframes, no script tags and display:none style attributes. Check it and delete such codes. For this you need to know detail about the theme or your can hire any wordpress expert.
</li>
<li><strong>Delete all of the files and folders: </strong> After you make sure that all your files, folders, database are backed up from the live server. Now you need to delete all the files and folders in the WP directory from the live server.
</li>
<li><strong>Change the FTP and Control Panel Password: </strong>You need to change all the FTP access and control access. As it might have been hacked by the hacked. So, you need to change the password to make sure they don&#8217;t have any access.
</li>
<li><strong>Upload the Fresh WordPress Installation: </strong>Now upload the fresh latest version of the WordPress to your live server. Don&#8217;t forget to edit the wp-config.php file. Refer to my article <a href="http://www.sakinshrestha.com/wordpress-security-tips" title="Wordpress Security Tips">WordPress Security Tips </a> point no 2 for more details about editing wp-config.php file.
</li>
<li><strong>Run the database upgrade: </strong>Now you need to run the databse upgrade. You can do this by just pointing your browser at /wp-admin/upgrade.php (For example: http://www.yoursitename.com/wp-admin/upgrade.php)
</li>
<li><strong>Change the default admin user and password: </strong>Once you have installed a fresh copy and your site is running. Now you need to change the default user admin to some other name you can remember and also change the password. Refer to my article <a href="http://www.sakinshrestha.com/wordpress-security-tips" title="Wordpress Security Tips">WordPress Security Tips </a> point no 4 and 5 fro more details.
</li>
<li><strong>Check the Users and change the password: </strong>Now you need to check if the hacker have created any users. So, you need to check the list of the user and delete the user which you don&#8217;t recognize. After you have list of safe users. Change the password of all the safe users and send them email about the changes and ask them to change again.
</li>
<li><strong>Now you need to check your Database for any back door: </strong> I have seen in wordpress site that has been hacked recently have the scripts such as iframes, no script tags and display:none style attributes. The following query run against the database can help you find out the database file for infection:<br />
SELECT * FROM wp_posts WHERE post_content LIKE &#8216;%<iframe%'<br />
UNION<br />
SELECT * FROM wp_posts WHERE post_content LIKE '%<noscript%'<br />
UNION<br />
SELECT * FROM wp_posts WHERE post_content LIKE '%display:%'<br />
For more please refer to the article <a href="http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/" title="How To Completely Clean Your Hacked WordPress Installation" target="_blank">How To Completely Clean Your Hacked WordPress Installation by Smackdown</a> point no 8.
</li>
<li><strong>Check the file permission :</strong>There might be file permission 777 which hacker can used it to hack it again. So, you should check the file permission and then give the correct file permission as follows: <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All folder permissions should be set to 755<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;All files permissions should be set to 644<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Files that you want to edit in the WordPress Theme editors permissions should be set to 666 <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Never ever use 777 for WordPress permissions
</li>
<li><strong>The following plugins will be very helpful:</strong>
<ul>
<li><a title="AntiVirus Plugin" href="http://wordpress.org/extend/plugins/antivirus/" target="_blank">AntiVirus Plugin</a></li>
<li><a title="WP Security Scan Plugin" href="http://wordpress.org/extend/plugins/wp-security-scan/" target="_blank">WP Security Scan Plugin</a></li>
<li><a title="Login Lockdown plugin" href="http://www.bad-neighborhood.com/login-lockdown.html" target="_blank">Login Lockdown plugin</a></li>
<li><a title="WordPress Database Backup plugin" href="http://www.ilfilosofo.com/blog/wp-db-backup/" target="_blank">WordPress Database Backup plugin</a></li>
<li><a title="WordPress Backup" href="http://wordpress.org/extend/plugins/wordpress-backup/" target="_blank">WordPress Backup</a></li>
<li><a title="Admin SSL Plugin" href="http://wordpress.org/extend/plugins/admin-ssl-secure-admin/" target="_blank">Admin SSL Plugin</a></li>
</ul>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/fix-if-your-wordpress-site-is-hacked/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Keeping That New PC Clean and Pure</title>
		<link>http://sakinshrestha.com/technology/it-tips-tricks/keeping-that-new-pc-clean-and-pure/</link>
		<comments>http://sakinshrestha.com/technology/it-tips-tricks/keeping-that-new-pc-clean-and-pure/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 10:15:07 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[IT Tips & Tricks]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=250</guid>
		<description><![CDATA[A new PC, whether you know it or not, may well have freed you from many malicious programs that steal credit card numbers and other valuable information or otherwise obstruct your safe and private use of the Internet. Now is the time — while you’re getting everything set up just the way you like it [...]]]></description>
			<content:encoded><![CDATA[<p>A new PC, whether you know it or not, may well have freed you from many malicious programs that steal credit card numbers and other valuable information or otherwise obstruct your safe and private use of the Internet. Now is the time — while you’re getting everything set up just the way you like it — to take some steps to keep your new machine clean and free of malware. Here is what you need to do before you do anything else.<span id="more-250"></span></p>
<p><span>CHECK YOUR FIREWALL SETTINGS </span> Do this before you even connect your computer to the Internet. Firewalls prevent certain unwanted traffic from reaching your computer, including worms that spread through network connections. New laptops and desktops with Windows Vista (and, come Oct. 22, the next version of the operating system, Windows 7) and netbooks using Windows XP SP2 or higher have a <a title="Microsoft’s firewall FAQ." href="http://www.microsoft.com/security/firewalls/faq.aspx" target="_blank">firewall</a> that is built in and turned on by default. You can make sure all is well by going to the Windows Security Center, clicking Start, then Control Panel, then Security Center and Windows Firewall.</p>
<p>Mac users can check and adjust their firewall settings by clicking on the <a title="More information about Apple Inc." href="http://topics.nytimes.com/top/news/business/companies/apple_computer_inc/index.html?inline=nyt-org" target="_blank">Apple</a> icon and going to System Preferences and clicking on Security and then Firewall. At a minimum, choose “allow only essential services.” A better option is to select “set access for specific services and applications” and play gatekeeper, allowing programs to connect as you need them, said Rich Mogull, founder of the security consultant firm Securosis.</p>
<p><span>UPDATE YOUR SOFTWARE </span> Even though you have a new machine, chances are that security fixes have been issued since the manufacturer loaded the software, so you will want to download those as soon as you get online.</p>
<p>Your new PC may prompt you to check for updates from <a title="More information about Microsoft Corp" href="http://topics.nytimes.com/top/news/business/companies/microsoft_corporation/index.html?inline=nyt-org" target="_blank">Microsoft</a>, but, if not, open Windows Update by clicking the Start button, then All Programs and then Windows Update. On the left pane, click “check for updates.” (For more information about Windows Security, see <a href="http://microsoft.com/protect" target="_blank">microsoft.com/protect</a>.)</p>
<p>To help you keep Microsoft products up to date, Windows will prompt owners of new machines to sign up for automatic updates. You will see a screen asking if you want to “Help protect Windows automatically.” Choose the first option, “Use recommended settings,” so you get everything and don’t have to worry about it again.</p>
<p>Barring an urgent problem, updates come out on the second Tuesday of the month. To schedule exactly what time your updates are installed — say at 3 a.m., when you are asleep — open Windows Update and select Change Settings and make your choices. This is also a good time to turn on the Internet Explorer Phishing Filter, which can help keep you from turning over personal information to the wrong people.</p>
<p>For Mac users, your computer will automatically check for updates once a week. If you are a paranoid person, have it check more frequently by clicking Software Update in the System Preferences panel and then choose Daily.</p>
<p><span>ADD SECURITY SOFTWARE </span> Firewalls won’t help fend off viruses or Trojan horses that can come through e-mail messages, Web sites and pop-up ads. Given the frightening number of malicious programs that aim for Windows PCs, owners of these machines really need to use some security software. There are several free antivirus programs, like <a title="Home page for AVG antivirus software." href="http://free.avg.com/" target="_blank">AVG 8.5 Free</a>, <a title="Home page for Avast." href="http://www.avast.com/" target="_blank">Avast Antivirus</a> and the forthcoming <a title="Home page for Microsoft Secruity Essentials." href="http://www.microsoft.com/SECURITY_ESSENTIALS/" target="_blank">Microsoft Security Essentials</a>, so even penniless students have no excuse to go without. Note that Vista comes with Windows Defender, which blocks spyware and pop-up ads, and that program can be downloaded free by Windows XP SP2 machines.</p>
<p>Since a lot of malicious programs now come through Web sites, you will also want to use one of the many free tools available to help you avoid malicious sites. Microsoft’s newest browser, Internet Explorer 8, will warn you if you try to visit sites it deems unsafe, deceptive or carriers of a common Web attack type called “cross-site scripting” attacks. Other browsers, including Chrome, Firefox and Safari, also warn users about potentially unsafe sites, using a blacklist kept by <a title="More information about Google Inc" href="http://topics.nytimes.com/top/news/business/companies/google_inc/index.html?inline=nyt-org" target="_blank">Google</a>. There is also <a title="Home page for McAfee Site Advisor." href="http://www.siteadvisor.com/" target="_blank">McAfee’s SiteAdvisor</a>, a free add-on for the Internet Explorer and Firefox browsers (the latter works on both Windows and Mac), that shows site reputation information within search results pages, including warnings about potentially dangerous sites.</p>
<p>There are few malicious programs that aim for Macs, so an antivirus program isn’t essential at this point. That said, some Mac experts think that the days of peace and security for Macs may be waning. There have a been a few Trojan horses recently, and some Web attacks don’t care which operating system you use. If you frequent file-sharing sites, or your employer requires it, buy a Mac antivirus program.</p>
<p><span>SORT OUT THE APPLICATIONS</span> New Windows PCs typically come loaded with all kinds of third-party programs, many of which you will never use.</p>
<p>“In a lot of cases, that’s extra software that might have vulnerabilities” that hackers could exploit, says Chad Dougherty, a vulnerability analyst at the CERT Program at the Carnegie Mellon Software Engineering Institute.</p>
<p>To avoid problems, eliminate the programs you don’t need by clicking the Start button and choosing Control Panel and then Programs to see a list of what is on your machine. Select unwanted programs and then hit the Uninstall button at the top of the program list.</p>
<p>Then sign up for automatic updates from the makers of any software you intend to keep — or that you later install yourself, for that matter. To help you make sure you have checked out everything, download <a title="Web site for Secunia PSI." href="http://secunia.com/vulnerability_scanning/personal/" target="_blank">Secunia PSI</a>, a free tool that will help you make sure that all the programs on your PC get security patches.</p>
<p>Speaking of that, always be careful about which software you install from the Internet, whether you have a PC or a Mac. These programs can contain vulnerabilities, and pirated programs and random add-ons may be outright malicious.</p>
<p>Source: <a title="NYTimes" href="http://www.nytimes.com/2009/09/03/technology/personaltech/03basics.html?_r=1" target="_blank">NYTimes</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/technology/it-tips-tricks/keeping-that-new-pc-clean-and-pure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Security Tips</title>
		<link>http://sakinshrestha.com/wordpress/wordpress-security-tips/</link>
		<comments>http://sakinshrestha.com/wordpress/wordpress-security-tips/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 02:45:30 +0000</pubDate>
		<dc:creator>sakin</dc:creator>
				<category><![CDATA[IT Tips & Tricks]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Wordpress Plugins]]></category>

		<guid isPermaLink="false">http://www.sakinshrestha.com/?p=255</guid>
		<description><![CDATA[Posted on: September 5, 2009 Updates on: August 29, 2009 As the WordPress is getting popular and used by many people, now the hackers are also being active and involved in hacking wordpress site. I have recently received lot of request to fix the WordPress hacks. I would like to list some WordPress Security Tips [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_381" class="wp-caption aligncenter" style="width: 588px"><img class="size-full wp-image-381" title="Wordpress Security Tips" src="http://www.sakinshrestha.com/wp-content/uploads/2009/11/WordpressSecurityTips.jpg" alt="Wordpress Security Tips" width="578" height="200" /><p class="wp-caption-text">Wordpress Security Tips</p></div>
<p><strong>Posted on:</strong> September 5, 2009<br />
<strong>Updates on:</strong> August 29, 2009</p>
<p>As the WordPress is getting popular and used by many people, now the hackers are also being active and involved in hacking wordpress site. I have recently received lot of request to fix the WordPress hacks. I would like to list some WordPress Security Tips to help you protect from hacks.<span id="more-255"></span></p>
<ol>
<li><strong>Keep up to date with the latest WordPress Version: </strong>Always keep your WordPress site updated with the latest version of WordPress. The WordPress developers do not maintain security patched for older WordPress versions. In August 12, 2009, WordPress released version 2.8.4 as the security release. Older version of WordPress is more open to hacks.<strong>My Tips: </strong>Regularly update your WordPress site. You can use the plugin &#8220;<a title="Wordpress Automatic upgrade" href="http://wordpress.org/extend/plugins/wordpress-automatic-upgrade/" target="_blank&quot;">WordPress Automatic upgrade</a>&#8221;  or <a title="Instant Upgrade Plugin" href="http://www.zirona.com/software/wordpress-instant-upgrade" target="_blank">Instant Upgrade Plugin</a> Further, you need to keep your plugin and theme to be up to date as well.</li>
<li><strong>Populate wp-config.php Properly: </strong> Go through each line in wp-config.php, not only the first block for database configuration.<strong>My Tips: </strong>Use <a title="WordPress secret key generation tool" href="https://api.wordpress.org/secret-key/1.1/salt/" target="_blank">WordPress secret key generation tool</a> to generate random salts for WordPress cookies. These keys are used to insure better encryption of information stored in WordPress user’s cookies. To make it more secure modify the the WordPress table prefix to something other than <em>wp_</em>. Adding random characters and numbers to the end of wp, such as <em>wp52sk1_</em> obfuscates it enough but still allows you to recognize the tables as those belong to WordPress.</li>
<li><strong>Correct File Permissions: </strong>You should give the correct file permission and if you give full permission to files and folders then the hackers can hack it easily.<strong>My Tips: </strong> Set the permission as follows:All folder permissions should be set to 755All files permissions should be set to 644Files that you want to edit in the WordPress Theme editors permissions should be set to 666
<p>Never ever use 777 for WordPress permissions</li>
<li><strong>Don&#8217;t Use the Default admin Username: </strong> WordPress is open source application and now most of people know that it has the administrator username as admin. This make it easy for hackers to to hack the password when they already know the administrator username.<strong>My Tips: </strong> Change the default administrator username admin to something else. Now i am going to show how to change the default admin username.You may use phpMyAdmin and paste the SQL command (the update line) to execute it.update wp52sk1_users set user_login=&#8217;myadmin&#8217; where user_login=&#8217;admin&#8217;;wp52sk1_ is the database prefex that I change. The default prefex is wp_Alternatively, you may edit the value manually using phpMyAdmin web interface.
<p>Now your admin user is myadmin instead of admin</li>
<li><strong>Pick Secure Password for Admin: </strong>Changing your admin username to something else is not a guarantee that people will not be able to guess it. For instance, if you use your username as the displayed meta data in every post, or you enable author specific page in multi-author blog, you will reveal your user name to the world.<strong>My Tips </strong> With this assumption, you should pick secure password for your WordPress login. Combine upper and lowercase characters and numbers.</li>
<li><strong>Hide WordPress Version in the Header Tag: </strong>Although you have deleted the WordPress version meta data from your theme, you may still get WordPress version line in the page returned by the blog software. The culprit is, since version 2.5 WordPress has added the feature to generate this code. This will allow the hacker to know about the wordpress version you are using which will help them to hack it.<strong>My Tips: </strong> Add the following line to the functions.php file in your theme directory: (Create a blank PHP file with this name if your theme doesn’t already have one)&lt;?php remove_action(&#8216;wp_head&#8217;, &#8216;wp_generator&#8217;); ?&gt;</li>
<li><strong>Nobody should be allowed to search your entire server:</strong> If you allow then the hacker will find the way to hack easily.<strong>My Tips; </strong> Do not use the following search code in the search.php in your theme folder:&lt;?php echo $_SERVER [&#8216;PHP_SELF&#8217;}; ?&gt;Use the following instead:&lt;?php cloginfo (&#8216;home&#8217;); ?&gt;
<p>Also block WP-folder from being indexed by search engines, the best way to block them is in your robots.txt file. Add the following line to your list:</p>
<p>Disallow: /wp-*</li>
<li><strong>Prevent directory listing: </strong>The problem in many cases, the default WordPress installation allows hackers to use their web browser as a file browser to look through the contents of the folder on your server. Normally it is harmless but some web hosts don&#8217;t even bother to turn off directory listing by default. This means that there are several things hackers can do. There might be loop hole in the theme and plugin you used for your site. The author of the plugin and theme might have made mistakes in their code that allow unexpected access, hackers can use your directory listing to find out if you have got those vulnerable files and then attack your site. Also people can browse the non-WordPress contents of your web server to discover folders and files that you might not be ready to announce that you thought were not accessible to the general public. Many directory listing feature a line in the footer telling visitors your server version. Hacker can cross-reference these version numbers with list of known vulnerabilities and bring your site down or gain illegal access.<strong>My Tips: </strong> Edit the .htaccess file and add the following line at the bottom.Options All –Indexes</li>
<li><strong>Protect WordPress Administration Files: </strong>WordPress administration files are in wp-admin directory of your WordPress installation, except wp-config.php.<strong>My Tips: </strong> Use .htaccess to restrict access and allow only specific IP address to this directory and file. If you have static IP address and you always blog from your computer, this can be an option. If you don&#8217;t know you IP address then you can find your IP my visiting the site: <a title="Whatismyip.com" href="http://whatismyip.com/" target="_blank&quot;">http://whatismyip.com/</a>You need to put a .htaccess file in wp-admin and add the code. See the Example:Order Deny,AllowAllow from 202.79.40.130deny from all
<p>For more refer to Apache&#8217;s documentation on <a title="Apache's documentation on mode_access" href="http://httpd.apache.org/docs/1.3/mod/mod_access.html" target="_blank">mod_access</a> to see the example: <a title="Protecting The WordPress wp-admin Folder" href="http://www.reubenyau.com/protecting-the-wordpress-wp-admin-folder/" target="_blank">Protecting The WordPress wp-admin Folder</a></p>
<p><strong>Alternate Solution through user and password combination: </strong> There is another way to protect wp-admin directory with user and password combination. It also adds another level of security. Apache has complete information on <a title=" " href="http://httpd.apache.org/docs/2.0/howto/auth.html" target="_blank">authentication, authorization and access control</a>. Example:</p>
<p>AuthType Basic</p>
<p>AuthName &#8220;WordPress Dashboard&#8221;</p>
<p>AuthUserFile /home/user/.htpasswds/blog/wp-admin/.htpasswd</p>
<p>Require user adminuser</p>
<p>and then generate the encrypted password using the htpasswd command.</p>
<p>$ htpasswd –cm .htpassed adminuser</p>
<p>If you have cPanel then it is very easy as it has a feature called Web Protect which allows you to accomplish the same thing.</p>
<p><strong>Note: </strong>if you find it hard to use it in code then just use this plugin <a title="AskApache Password Protect" href="http://www.askapache.com/wordpress/htaccess-password-protect.html" target="_blank">AskApache Password Protect</a></p>
<p>Further, I recommend the plugin <a title="Login Lockdown plugin" href="http://www.bad-neighborhood.com/login-lockdown.html" target="_blank">Login Lockdown plugin</a> which record the IP address and timestamp of every failed WordPress login attempt. If more than a certain number of attempts are detected within a short period of time from the same IP range, then the login function is disabled for all requests from that range. This helps to prevent brute force password discovery.</p>
<p><strong>Note:</strong> <a title="the Htaccess and Htpasswd generator" href="http://www.htaccesstools.com/htpasswd-generator/" target="_blank">the Htaccess and Htpasswd generator</a> helps to create the necessary files with desired values.</li>
<li><strong>Restrict File Access to wp-content Directory: </strong>The wp-content directory contains your theme, plugin files and uploaded. WordPress doesn&#8217;t access the PHP files in the plugins and themes directory via HTTP. the only request from web browser are for image files, javascripts, and css. For this reason you may restrict wp-content so that it only allows those file extensions but not PHP or any other file extensions. This prevents people from accessing  any files directly.<strong>My Tips: </strong> Include the following lines in .htaccess within wp-content:Oder Allow, DenyDeny From all&lt;files ?\.(jpg|gif|png|js|css)$? ~&gt;
<p>Allow from all</p>
<p>&lt;/files&gt;</li>
<li><strong>Take regular backups of your site and Database: </strong> No matter how hard you protect your site there might be some loop for hackers. There is never 100% security when it&#8217;s online.<strong><br />
My Tips: </strong> Take regular backups of your file directories as well as the database. So, if there is any problem then you can just upload the backup copy. Use <a title="WordPress Database Backup plugin" href="http://www.ilfilosofo.com/blog/wp-db-backup/" target="_blank">WordPress Database Backup plugin</a> or <a title="WP-DB Manager" href="http://lesterchan.net/portfolio/programming/php/" target="_blank">WP-DB Manager</a> to backup your Database and User  <a title="http://wordpress.org/extend/plugins/wordpress-backup//" target="_blank">WordPress Backup</a> Plugin to backup your upload directory (images), current theme directory, and plugins directory.</li>
<li><strong>Stop worrying about your wp-config.php file: </strong> During the server problem, i have seen in one of my friend blog that his wp-config.php file can be viewed in the browser and his database username and password are there and it can be hacked anytime.<strong>My Tips: </strong> You can secure your wp-config.php by adding the following to the .htaccess file at the top level of your WordPress install:&lt;FilesMatch ^wp-config.php$&gt;deny from all&lt;/FilesMatch&gt;This will make it harder for your database username and password to fall into the wrong hands in the event of a server problem.</li>
<li><strong>Protect Your Blog With a Solid Password: </strong> Easy password with alphabetic and number can be hacked using the software easily.<strong>My Tips: </strong>Creating a strong password that is also memorable is one of the easiest defenses against being hacked. Use strong password my combining the alphabetic, numbers and symbols. There are a lot of online password strength checker that you could check.Also you might check lorelle’s article on blogherald called <a title="Protect Your Blog With a Solid Password" target="_blank">Protect Your Blog With a Solid Password </a>, offering tips and tricks to help create a strong password that is also memorable, and how to deal with all the myriad passwords we seem to accumulate online.</li>
<li><strong>The following plugins will be very helpful:</strong>
<ul>
<li><a title="WordPress Exploit Scanner" href="http://wordpress.org/extend/plugins/exploit-scanner/" target="_blank">WordPress Exploit Scanner:</a> It searches the files on your website, and the posts and comments tables of your database for anything suspicious. It also examines your list of active plugins for unusual filenames.</li>
<li><a title="AntiVirus Plugin" href="http://wordpress.org/extend/plugins/antivirus/" target="_blank">AntiVirus Plugin:</a> It is a smart and effective solution to protect your blog against exploits and spam injections.</li>
<li><a title="WP Security Scan Plugin" href="http://wordpress.org/extend/plugins/wp-security-scan/" target="_blank">WP Security Scan Plugin:</a> It scans your WordPress installation for security vulnerabilities and suggests corrective actions.</li>
<li><a title="Admin SSL Plugin" href="http://wordpress.org/extend/plugins/admin-ssl-secure-admin/" target="_blank">Admin SSL Plugin:</a> Recommended only for the advance users. It secures login page, admin area, posts, pages &#8211; whatever you want &#8211; using Private or Shared SSL. Once you have activated the plugin please go to the Admin SSL config page to enable SSL, and read the installation instructions.</li>
</ul>
</li>
<p><strong>Further reading:</strong></p>
<p><a title="Hardening WordPress" href="http://codex.wordpress.org/Hardening_WordPress" target="_blank&quot;">Hardening WordPress</a></p>
<p><a title="FAQ My site was hacked" href="http://codex.wordpress.org/FAQ_My_site_was_hacked" target="_blank&quot;">FAQ My site was hacked</a></p>
<p><a title="10 Steps To Protect The Admin Area In WordPress" href="http://www.smashingmagazine.com/2009/01/26/10-steps-to-protect-the-admin-area-in-wordpress/" target="_blank&quot;">10 Steps To Protect The Admin Area In WordPress</a></ol>
]]></content:encoded>
			<wfw:commentRss>http://sakinshrestha.com/wordpress/wordpress-security-tips/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)

Served from: sakinshrestha.com @ 2010-09-06 11:25:14 -->