5 replies [Last post]
nedjer
Offline
newbie
Last seen: 5 years 43 weeks ago
Joined: 2008-09-21
Posts: 3
Points: 0

I came onto the site, as I've often done, to get some info - about securing/ protecting a from against spam on this occasion. I've looked at all sorts of options but am looking for a really simple approach that has as little to do with php and the like as possible. I was coming round to the view that remailing everything or using chunks of javascript was the most likely option, until I noticed some css based approaches (which do seem to generally require php) and decided to check for advice/ previous comments here.

As soon as I registered I walked into the site's Captcha routine, which appears to be exactly the kind of simple solution I'm after. I took a look at the code for the form and the xhtml doesn't appear to need to hook up to anything other than as part of the form's html. I will go and test this out later for myself but I've got to go out to a family do for the afternoon (in Scotland here)and I'd like to know more/ have my bubble burst if I have missed something with a quick scan of the code. Basically, is it really that easy to protect a form or is there something I'm missing? If the latter is the case, I'm not overly sensitive so please feel free to call me an idiot.

TIA

Stomme poes
Stomme poes's picture
Offline
Elder
Netherlands
Last seen: 2 years 38 weeks ago
Netherlands
Timezone: GMT+2
Joined: 2008-02-04
Posts: 1854
Points: 378

I dunno the captcha they use

I dunno the captcha they use here. But you should know that captchas vary in readability, and you'll need a non-visual backup. One time I was trying to register on an Ubuntu forum after getting a nasty buggy patch to FF1.5 via their updater. I couldn't register because all I got was, please type in the numbers in the image at right. No way to contact a human at that point, no way to tell anyone that there WAS NO IMAGE. Dummies either had a bug that day or some script couldn't run on my machine, I dunno what.

So always have a way for humans to contact you to say, I cannot see images, I'm half-blind, I'm colour blind, I can't get images with Lynx/cellphone/whatevetr... usually seen on popular forum software, a line called "Contact administrator".

Second thing, for people who can see fine, there are lots of captchas that are just... baffling. I wish I could find the forum thread where someone listed all the most ridiculous captchas out there, including one that looked like an advanced calculus problem! I personally have trouble with lots of captchas and that's prolly a good thing because I'm often cranky and bothersome on forums.

Lastly, you will always get SOME spam no matter how much you lock down your forms. But you prolly know that.

I'm no expert, but I fake one on teh Internets

nedjer
Offline
newbie
Last seen: 5 years 43 weeks ago
Joined: 2008-09-21
Posts: 3
Points: 0

I dunno the captcha they use

Just jumped on for five minutes before I have to go back to duties. Thanks for the reply. I probably should have posted to a different part of the forum, to see if anyone has some really good approaches using css. Try later if I get time. You're totally right about the limitations of Captchas but I'm looking for a bit of a quick fix until I get time to do things properly.

Itching to get back to the machine for a couple of hours to sort it out but that'll have to wait.

gary.turner
gary.turner's picture
Offline
Moderator
Dallas
Last seen: 5 hours 58 min ago
Dallas
Timezone: GMT-5
Joined: 2004-06-25
Posts: 9149
Points: 3133

Captchas are not a css

Captchas are not a css issue.

The captcha images or Turing tests are generated server side, and the response is parsed to determine its validity. CSS is not a part of the test.

cheers,

gary

Unplanned code results in a tangled wad of brain-cramping confusion.

There are enough html & css demos and tutorials to be interesting. Please visit.

nedjer
Offline
newbie
Last seen: 5 years 43 weeks ago
Joined: 2008-09-21
Posts: 3
Points: 0

Sorry didn't explain myself

Sorry didn't explain myself at all well. I was thinking about css in terms of hiding extra fields or the like and seperate from a Captcha.

A non-image Captcha is what I'm going to settle on and I reckon I'd be better signing up to one than trying to glue one in myself.

Thanks

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 48 weeks 3 days ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

Maybe this will help.

Maybe this will help.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference