freaking code code code … I wish I knew what I was doing wrong ?

22Nov/090

Securing wordpress blogs for home/family use

So I've been trying to secure my family blog (blog.hilbrink.org) ... my sister (and others) have expressed concerns that the content is a little too private, more so since the various kids are mentioned on the blog. So I looked into the problem and found and "Authenticator" plugin (link - its in german), it basically redirect anybody who wants to view the blog to a login page.

its good to make a littel change to the plugin though, arrond line 20 I replaced:

header('Location: ' . get_option('siteurl') . '/wp-login.php?redirect_to=' . urlencode($_SERVER['REQUEST_URI']));

with

header('Location: ' . get_option('siteurl') . '/wp-login.php?redirect_to=index.php');<br />

This way it puts the main blog site infront of the user once they are logged in. At the same time I'm allowing people to register themselves (but I get notified) and I'm planning to put a whitelist of sort in place to avoid people logging from gmail and hotmail accounts (since there are not linked to ADSL accounts they are much harder to vet when it comes to abuse).

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.