iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Graphics & Design Discussion Forum Post your graphics design questions/comments/ideas in here. Ask questions, post tutorials, discuss trends and best practices. Sub-forum for website accessibility and usability.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-29-2003, 03:23 PM
WebProWorld Member
 
Join Date: Aug 2003
Location: Jersey City, NJ
Posts: 74
jazzmatazz2005 RepRank 0
Default preventing automated login's

Im getting ready to put up a new section on my site but i want to prevent automated logins. I want to creat something that most of you have seen where it shows you some letters or numberes that i guess were automaticall generated to prevent automated logings and ask you to put in those same numbers or letters.

Can any of you WPW experts please tell me how I can do this (in detail...im not that good at this) or where i can go to find what im looking for.

Paul
Reply With Quote
  #2 (permalink)  
Old 10-29-2003, 03:47 PM
redcircle's Avatar
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Grand Rapids, MI USA
Posts: 425
redcircle RepRank 0
Default

You would need some type of server side programming language and a graphics application.

PHP and GD can get this done. Here is a link on a tutorial on how to create images on the fly. http://www.phpbuilder.com/columns/rasmus19990124.php3
Reply With Quote
  #3 (permalink)  
Old 10-30-2003, 01:10 PM
WebProWorld Member
 
Join Date: Aug 2003
Location: United Kingdom
Posts: 45
OSFan RepRank 0
Default

I developed something like this one using PHP and GD. I was asked to develop something simple for a guestbook, and I based it on the IP address of the user (the logic probably being that any person wanting to genuinely use your servers, would not be using multiple proxies to login).

I took the IP address of the user. I took a random number (which was inserted as a hidden field).

I performed any sort of calculation on the two numbers, then took the MD5. I then took a preset number of the digits from the MD5 result, such as $result[1].$result[6].....

I took 8, then wrote this out as an image (robots cannot interpret images - incase they try, use a background such as a hashed background).

The same calculation is used in the authentication script, and just makes sure they match.

There are probably "off the shelf" scripts you can download for this, and include them in your projects.
Reply With Quote
Reply

  WebProWorld > Site Design > Graphics & Design Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:00 AM.



Search Engine Optimization by vBSEO 3.3.0