GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   wordpress tip: secure your wordpress blogs (https://gfy.com/showthread.php?t=880971)

fris 01-12-2009 05:57 AM

wordpress tip: secure your wordpress blogs
 
Hackers are people too.

Unfortunately, they're the wrong type of people; the ones who'll look for
ways to break a site and suck all your hard work into oblivion, all
because their imaginary girlfriend dumped them for a PlayStation 3 while
they were busy zapping goblins with their level 32 Warlock.

If you're using the latest version of WordPress, you're already more
secure than many, but there are still ways to be safer.

Use these 5 tips to keep your self-hosted WordPress site safe. Note: most
of these tips apply to general web development too.

1. Protect your plugin directory

Showing which plugins you have installed can expose an exploit in an
outdated plugin, and is an easy target for hackers to gain access to your
site or even worse your server.

Solution:

Create an index.html file and upload it to your /wp-content/plugins/
directory.

2. Don't expose your wordpress version

Its best to remove your wordpress version string from your theme.

If you let people know what version you are running, you can be an easy
target if you are running an older version of wordpress.

Solution:

Look for and remove this line from your themes header.php file.

Code:

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
3. Protect your wordpress files from search engines.

Its best if you don't have any of your core wordpress files indexed by
search engines.

Solution: add the following to your robots.txt

Code:

Disallow: /wp-*
4. Protect your wordpress admin folder.

Limiting you wordpress admin by ip address will give anyone but you or
any staff members access to your admin.

If any unauthorized people try and access your admin will be sent a
forbidden 403 error.

solution: add a .htaccess to your /wp-admin directory (not your root)

Code:

order deny,allow
deny from all
allow from 216.17.172.11 (by ip address)
allow from .fris.sprint.ca (by domain)

5. Permissions, Permissions, Permissions.

Using the correct permissions on your wordpress install is a must,
especially if you are on a shared server.

All your folder permissions should be set to 755, and files should be set
to 644.

Alternatively if you want to edit your theme in the wordpress editor, use
666.

Never use 777 for wordpress permissions, if you do, you're letting all
users on the server do what they want with the site.

On a shared or badly configured server this can mean chaos.

---

On another note I found this password manager that is free and I use it
daily. It has been mentioned on NBC, and PC Magazine.

They have a desktop version and a web version

http://www.passpack.com/en/home/



Sorry if it was long, but its important.

:thumbsup

Libertine 01-12-2009 06:08 AM

Great post! :thumbsup

StaceyJo 01-12-2009 06:24 AM

Very nice post. Thanks. I bookmark this.

Nicky 01-12-2009 06:30 AM

Good stuff as always Fris

tranza 01-12-2009 07:05 AM

Great tip man!

CIVMatt 01-12-2009 07:28 AM

Thanks Fris, good info

LiveDose 01-12-2009 07:32 AM

Bump for good info.

alias 01-12-2009 07:38 AM

ninja tips

Sosa 01-12-2009 07:41 AM

good stuff fris

AtlantisCash 01-12-2009 07:52 AM

Quote:

Originally Posted by fris (Post 15315616)
Hackers are people too.

Unfortunately, they're the wrong type of people; the ones who'll look for
ways to break a site and suck all your hard work into oblivion, all
because their imaginary girlfriend dumped them for a PlayStation 3 while
they were busy zapping goblins with their level 32 Warlock.

If you're using the latest version of WordPress, you're already more
secure than many, but there are still ways to be safer.

Use these 5 tips to keep your self-hosted WordPress site safe. Note: most
of these tips apply to general web development too.

1. Protect your plugin directory

Showing which plugins you have installed can expose an exploit in an
outdated plugin, and is an easy target for hackers to gain access to your
site or even worse your server.

Solution:

Create an index.html file and upload it to your /wp-content/plugins/
directory.

2. Don't expose your wordpress version

Its best to remove your wordpress version string from your theme.

If you let people know what version you are running, you can be an easy
target if you are running an older version of wordpress.

Solution:

Look for and remove this line from your themes header.php file.

Code:

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
3. Protect your wordpress files from search engines.

Its best if you don't have any of your core wordpress files indexed by
search engines.

Solution: add the following to your robots.txt

Code:

Disallow: /wp-*
4. Protect your wordpress admin folder.

Limiting you wordpress admin by ip address will give anyone but you or
any staff members access to your admin.

If any unauthorized people try and access your admin will be sent a
forbidden 403 error.

solution: add a .htaccess to your /wp-admin directory (not your root)

Code:

order deny,allow
deny from all
allow from 216.17.172.11 (by ip address)
allow from .fris.sprint.ca (by domain)

5. Permissions, Permissions, Permissions.

Using the correct permissions on your wordpress install is a must,
especially if you are on a shared server.

All your folder permissions should be set to 755, and files should be set
to 644.

Alternatively if you want to edit your theme in the wordpress editor, use
666.

Never use 777 for wordpress permissions, if you do, you're letting all
users on the server do what they want with the site.

On a shared or badly configured server this can mean chaos.

---

On another note I found this password manager that is free and I use it
daily. It has been mentioned on NBC, and PC Magazine.

They have a desktop version and a web version

http://www.passpack.com/en/home/



Sorry if it was long, but its important.

:thumbsup



fris!,

Since afew days i was thinkin to contact You for something,

May i get Your icq?
:thumbsup

fris 01-12-2009 09:00 AM

icq: 704-299

Ethersync 01-12-2009 09:06 AM

Great advice. I wish I could set this to auto-subscribe to all threads you start :)

qxm 01-12-2009 09:08 AM

u deserve rep for this ...lol ... good post m8 :)

Sarah_Jayne 01-12-2009 09:22 AM

a nice one once again :)

Axel XXX 01-12-2009 09:43 AM

Great post :thumbsup

kmanrox 01-12-2009 10:23 AM

hey frissy, stop plagiarizing and start posting reference links to the places you're scraping content from


http://wordprezzie.com/wordpress-security-tips/

dav3 01-12-2009 10:24 AM

thank you wordpress ninja!

TyroneGoldberg 01-12-2009 10:29 AM

good tips and will use...

thanks

DutchTeenCash 01-12-2009 10:29 AM

great post thanks

fris 01-12-2009 10:34 AM

Quote:

Originally Posted by kmanrox (Post 15316602)
hey frissy, stop plagiarizing and start posting reference links to the places you're scraping content from


http://wordprezzie.com/wordpress-security-tips/

I never said i wrote it, im just gathering informaiton for people to use.

but thanks for pointing out that I should have linked that article.

:thumbsup

seeric 01-12-2009 10:41 AM

thanks man.

didn't have the dissallow wp- part

now i do.

good lookin out.

kush 01-12-2009 11:24 AM

Great tips to implement!

Itchy 01-12-2009 12:15 PM

:thumbsup:thumbsup I know im changeing things up on my blogs thans for the great tips

Altheon 01-12-2009 01:27 PM

I'd go with RoboForm in lieu of PassPack. With Roboform you keep the passwords on your local machine. I think people are way too trusting of these web apps.

HomerSimpson 01-12-2009 03:58 PM

finally a useful post!

Supz 01-12-2009 04:08 PM

This is an awesome post.

wizzart 01-12-2009 05:48 PM

very good tips :)

JTCash 01-13-2009 05:47 AM

That is useful! Thank you!

Toni_N 01-13-2009 05:52 AM

great tips

TyroneGoldberg 01-13-2009 11:24 AM

bump as i found out i fucked up on a certain part....

Nookster 01-13-2009 11:53 AM

Good post for those whom do not know. :thumbsup

gimme-website 01-13-2009 12:06 PM

Important yet so simple. Thank you for excellent tips!

V_RocKs 01-13-2009 01:01 PM

Where you reading my source code again?

Altheon 01-14-2009 11:04 AM

Just a warning!!!

If you use .htaccess to restrict access to the WordPress directory and you are running Super Cache or one of the other cache plugins your site will be messed up. So you may want to skip that step.


All times are GMT -7. The time now is 04:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123