Tag Archives: code

Check out some good common sense blog security tips

Image: Hacker Inside LogoI couldn’t have said it much better myself, so I decided to link to this article rather than write my own version of it. Although, I might write a follow up that gets a little more in depth or something. However, that’s for another day, for now check out this post on the site “Spice Up Your Blog” where the author goes over “5 Ways Your Blog’s Design Is Making You Susceptible To A Hacker”.

Now this isn’t just for server operators, it focuses on things that also make a difference to those that run their own blog too. This is because a “Hacker”, or maybe a visitor with malicious intent, can wreak havoc on your blog even without touching the rest of the server. If they can get access to your database for example, you can kiss all of your posts, pages and pretty much everything else goodbye if they are feeling especially destructive. Even if they don’t destroy your data, they can post things on your blog that you don’t want, like advertisements; porn; we own you messages; what have you. Even worse, is when your site gets compromised and no one knows it. In these cases the hackers can do all sorts of fun things. One especially nasty trick I have seen is when they plant a virus alongside your sites files and then append a small bit of code to your pages so that your visitors get infected, talk about your reputation plummeting faster than a stone tossed out a window.

With all this in mind, take a look at the following page and see if any of the things they talk about there sound like they might be up your alley. It pays to be careful, I hope this helps!

5 Ways Your Blog’s Design Is Making You Susceptible To A Hacker

 

Check out this cool service – Pastebin

I just recently found this, and I know, a bunch of you probably already know about it and maybe have for a long time. But hey, I just found out about it and it is so cool I just had to tell everyone! The site is called Pastebin and it’s a cool site (the site is very well done!) and service for anytime you are working with code, log files, and/or other gobs of strangely formatted text.

We all know how tough it is to try and past the source of our scripts, or contents of config files or log files into regular forum input boxes. Heck, for that matter, let us not forget how tough it is getting that kind of stuff posted correctly in WordPress itself. This Pastebin site allows you to past your copious amounts of text there, where it has all of the magic juju to display it properly, even formatting code correctly with syntax highlighting. All you have to do, once you paste your text into the bin, is add the link to your post or article or whatever. Then anyone reading it can go check it out at Pastebin and not try and decipher the text in whatever manner it would have gotten mangled on the screen in the first place.

I think this is going to be a great headache save for lots of us as more and more communication goes online, especially in the tech crowd.  Go check out Pastebin [link]now and see for yourself.  They have a Pro option with extra goodies, but you most certainly can use the service for free too.  If you like it, tell your friends too and help ’em out!

Generate Random Unique Number

I have found many times when writing stuff in PHP that I have come across a need to generate a random number. That’s not too bad in and of itself, but what about when you need a unique ID key or something like that. For example, say you are writing the next best helpdesk application and need unique case numbers and don’t want to simply use a counter. For whatever reason, I put this little function together and it has served me well. Check it out …

Continue reading Generate Random Unique Number