Perl

How to Query Active Directory Security Group Membership

I haven't posted in a while, so I wanted to get back into a routine by sharing this tidbit.

A common task a developer may encounter is the need to find out what security group a user is a member of. This is critical information for an app to utilize a role-based authorization mechanism in web apps, client/server apps, login scripts, etc. When querying LDAP, this is as easy as enumerating the 'memberOf' attribute of the user account, right?

Image Viewer/Resizer

There have been times I wanted to post a link to an image on a web page, forum, or elsewhere on the web but I didn't want to manually resize a large image everytime and store duplicates. Instead, I coded this simple tool to take a single image and resize it on the fly.

Crypt File Manager

I found myself always in need of some personal information that I stored on my home PC, but while I was not at home; things like: banking information, PINs, web site passwords, etc. Being security-minded, I knew I did not want to print out this information and risk somehow losing it. I could copy it up to my Yahoo! Notepad account or under a password protected directory of my web site but that's grossly insecure.

Symmetric Crypt Tool

As an experiment with symmetric encryption, I put together a simple example to show how it works. You can choose from DES or Blowfish ciphers and encrypted output can be binary, hex string, or base64 encoded.

Live demos of some simple web tools I developed

As an IT guy, I look to using computers to solve some of my day to day problems. I say computers in plural because I readily use two at home and one at work, and I could also be in the internet cafe near my work. For instance, I store my personal passwords and other sensitive information in Crypt File Manager. It stays secure by encryption in such a way that not even my web host provider can access the data and the password is not stored anywhere on the web server or browser. This solution works great because I can access it wherever I want with only a web browser.

Syndicate content

About Shawn Poulson / Exploding Coder
Software developer and designer

I'm a software developer in the Philadelphia/Baltimore metro area that loves web technology and creating compelling and useful applications. This blog was created to showcase some of my ideas and share my passion and experiences with others in the same field. Read more...

My portfolio...

Other places you can find me online: