I'm currently writing up a small security module to keep people out of my web apps, and I've been thinking about unusual ways of doing so.
For example, there's basic stuff like ip filtering or the password screen, which can be hardcoded, saved/hashed in database, processed via ldap etc, but that's boring.
I've been playing around with the idea of using custom HTTP headers to authenticate - for example, you can only view secret.php if you have the HTTP header 'x-secret-allowed YES'.
Another example would be captchas - captchas are boring, but I've seen a few interesting takes on it like randomly loading pictures from the RSPCA website and saying SELECT THE CAT!
anyway, I'll post source soon, anyone got other interesting ideas? They don't need to be super secure.