Clouds in my coffee | Brian Hare's personal blog.

Archive for February 2011

Feb/11

19

New Theme

I have updated to the jQ theme by http://devolux.nh2.me/.

I really liked the default look and I just made some minor changes to suit my needs. I added a welcome paragraph to index.php and also changed the CSS for hyperlinks to actually be underline to help them stand out more. I also sized strong/bold elements to be a tad bit bigger than the other text, but it doesn’t show much.

I am actually looking to perhaps implement an inline code block similar to how www.stackoverlow.com let’s you do with the `codehere` command. It would have the same basic idea but be rounded and not just a sqaure.

No tags

This technique assumes you are running Apache Web Server and have access to edit the Apache configuration files; this technique can be used with .htaccess files but it’s not as secure. It’s generally geared towards users who don’t like having important passwords or information in PHP files owned by Apache’s user (www-data, nobody, etc). This is especially more risky if you don’t limit where users can open files or run suPHP or similar

This technique works by including a root owned file into the public run-time environment variables of apache. using Apache directives you can control which site or even page has access to these variables.

(more…)

No tags

Feb/11

18

Guess Who’s Back

Back again
Brian’s back
tell a friend

OK, but seriously. I am not really the type to blog much because I am quite lazy and even though I am always working on something or busy, I never really want to document what I am doing. Lately though I’ve been tweaking alot of personal stuff as if its going to be released to the public, so I decided to come back and give this another shot.

I originally lost hope in this blog and when I found a new way to secure my MySQL passwords in PHP code, I didn’t bother to update brianhare.com with this handy trick. I ended up changing the MySQL password for the database and never really cared to update it for this blog. Not anymore though.

I will start things off in explaining the apache trick to securing secret passwords in PHP.

No tags

Clouds in my coffee

Welcome to my blog. Things will be changing a lot while I settle in.