Heine

  • home
  • drupal
  • about
Home

Drupal

Adding settings to Captcha

Heine — Thu, 01/03/2007 - 16:51

Update: MyCaptcha 1.0 has been released.

I've been adding some settings to the math captcha module I created earlier. An important setting is on which forms you want to have a captcha. While it is possible to hardcode the possible forms a captcha can appear on, I've opted for another approach.

I've created two helper modules called Form store and Form collect. If you enable Form collect, it will collect forms on your site while you visit them. You can view the collected forms on the Form store page. In the image below, you can see that I limited the collection to forms I thought useful for Captcha and that I've given most a more readable description. While I intend to include and add a description to all core forms, this has to be done manually for now.

  • Captcha
  • Drupal
  • 3 comments
  • Read more

Math captcha for anonymous users

Heine — Sat, 24/02/2007 - 12:58

This morning I broke down and wrote a simple math captcha module (for Drupal) to use with user registration and anonymous commenting on this site.

Because this site uses caching for anonymous users, the module needs to make sure that whenever a captcha is displayed, the page is not added to the cache.

  • Captcha
  • Drupal
  • Login to post comments
  • Read more

Cache or PHP-info is none of your business

Heine — Sat, 24/02/2007 - 09:41

I've a few extra scripts in the webroot of several sites to provide me with server information when I need it. These scripts tend to provide too much information to just anyone. Here's how you can quickly limit access to the Drupal admin user (the first user created on the site).

  • Drupal
  • PHP
  • 3 comments
  • Read more

Do a quick security review when porting your module

Heine — Thu, 22/02/2007 - 08:48

Adapted from a mail I sent to the Drupal development list.

Porting a module is an excellent opportunity to keep an eye out for security problems (evidence: DRUPAL-SA-2006-031). Here's a quick security reminder regarding input (user-supplied data). Code samples are only included to make a point, do not hold them against me.

  • Drupal
  • Planet Drupal
  • Security
  • Login to post comments
  • Read more

Gain administrator privileges via an XSS vulnerability in Recipe

Heine — Tue, 20/02/2007 - 22:53

For those with the tendency to downplay cross site scripting (XSS) vulnerabilities, a small videocast on how a vulnerability in the contributed module Recipe can get an attacker administrator access to a Drupal site. The vulnerability was fixed with DRUPAL-SA-2006-014 a long time ago, so I feel it's safe to publish the video now.

» Videocast.

  • Drupal
  • Planet Drupal
  • Security
  • Login to post comments

Alternative PHP Cache on Debian Sarge

Heine — Tue, 20/02/2007 - 22:40

This is a repost about a different (now defunct) server.

Khalid wrote a small guide to Installing the Alternative PHP Cache on Ubuntu Dapper and Debian. The installation on Debian 3.1 (Sarge), requires a few extra steps though.

  • Drupal
  • Performance
  • PHP
  • 2 comments
  • Read more
  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
Syndicate content

Recent posts

  • In doubt? Read the specs!
  • About the Webform SA
  • Psalmen voor Altblokfluit
  • Unserializing user-supplied data, a bad idea
  • Planet Drupal past and current
more

Security reviews

  • Afraid custom code makes your site vulnerable?
  • You don't really trust that module you just downloaded from Drupal.org?

Sleep better after a security review.

Tags

blokfluit blood donation blood supply CSRF Drupal Input Format modx MSM Performance Planet Drupal Security Varnish
more tags
  • home
  • drupal
  • about

Copyright © 2011 by Heine Deelstra. All rights reserved.