firewall Spyware removal internet speed test web security service free software and tips


Go Back   Web Security > Special > Wordpress
FAQ Members List Search Today's Posts Mark Forums Read

Wordpress Wordpress installations, themes and mods.

Advertisements

protecting the wp-admin folder

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-11-2008,
Junior Member
 
Join Date: Mar 2008
Posts: 2
Default protecting the wp-admin folder

Hi
I recently set up a a wordpress blog and had a lot of people telling me that I should password protect the /wp-admin folder. There is even a plugin called AskApache Passpro that sets up the .htaccess files for you.

The thing is, when a user first logs in after he/she registers they are redirected to the profile page which located at /wp-admin/profile.php and they are presented with the admin login window.

I would have thought that this was a common enough problem, since everyone suggests to protect this folder but my 2 wordpress support forum posts (bumped three times so that could be called 6), my email to the AskApache guy and googling and reading readme's and blogs has turned up nothing.
Nada.
Nary an typed syllable.

I wonder has anyone had this problem? It has to be common - I am only using the software with default settings etcetera.

Ed
Reply With Quote
  #2 (permalink)  
Old 03-11-2008,
AMPC's Avatar
Administrator
 
Join Date: Jan 2007
Posts: 1,415
Default Protecting Wordpress wp-admin

Hello Ed,

I have always used the default configuration, but I do see that a lot of people are protecting the wp-admin directory by adding a .htaccess file to it with the following contents:

Quote:
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
order deny,allow
deny from all
# whitelist home IP address
allow from 12.23.34.45
# whitelist work IP address
allow from 11.22.33.44
allow from 11.22.32.44
# IP while in Florida; remove when back from fishing
allow from 98.87.76.65
This will prevent access to wp-admin folder from all IP addresses except those mentioned above.

Not that you have mentioned this, I must go out and do this on my blogs - My luck, if I don't do it now, I'll wish I had

BTW - After 5 posts, you can put your site's url in your signature. You'll find that valuable

Best regards,

Jim.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is .


Powered by a CPU
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.3.2 © 2009, Crawlability, Inc.