Print Page | Close Window

Create a Number Verification

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=4376
Printed Date: 30 March 2026 at 3:03pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Create a Number Verification
Posted By: Mikael
Subject: Create a Number Verification
Date Posted: 20 July 2003 at 11:26am

Does anyone know where I can find a asp-script that generate a "Number Verification" to stop automated registrations like this below?
( http://www.winbeta.org/modules.php?name=Your_Account&op=gfx&random_num=504094 - http://www.winbeta.org/modules.php?name=Your_Account&op=gfx&random_num=504094 )

I have tried on many asp-sites but with no results.

Maybe I have to code one myself... Have just to figure out a way to get it secure in a open-source project...




Replies:
Posted By: Mart
Date Posted: 21 July 2003 at 2:42am
http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=8446&lngWId=4 - http://pscode.com/vb/scripts/ShowCode.asp?txtCodeId=8446&lngWId=4


Posted By: Mikael
Date Posted: 03 August 2003 at 9:37am

This code you send to me is good (click on the link above) but is it secure? The number 1 has the filename 1.gif number 2 2.gif etc...

I belive that a web-robot easy can see that in the html-code. Does anyone have any idea how to modify it to make it secure?



Posted By: Mart
Date Posted: 03 August 2003 at 9:59am
You could just change the filenames and edit the script and put a robots.txt in the images folder to stop robots from peeking...


Posted By: Mikael
Date Posted: 03 August 2003 at 3:37pm
Maybe, but that is not a real solution... I'm developing a open-source ASP-application and need a valid way to do it in. My thought is to place all the images into a database and encrypt the keystring to access them. That should be safe enough... what do you think?


Posted By: ljamal
Date Posted: 03 August 2003 at 4:45pm
I was actually working on a program a while back, but stopped.
Basically ...
Create a random string
Use an image generating program to generate the text string and overlay it with a graphic pattern.
Write a cookie with the encryptic string so that you can recall the string for comparison.

-------------
L. Jamal Walton

http://www.ljamal.com/" rel="nofollow - L. Jamal Inc : Web/ Print Design and ASP Programming


Posted By: Mart
Date Posted: 04 August 2003 at 12:36pm
If you do decide to do what ljamal says then I would recommend using asp.net to generate the images, its quite simple and there are a lot of articles on the internet...


Posted By: Mikael
Date Posted: 10 August 2003 at 10:48am

I can't generate images, that function need a jpeg-component installed on the host. Many host doesn't have this. I will also continue using ASP 3.0, but thanks anyway!!! I will find out a secure way to make this funktion secure using encrypted imagepaths. And all the number-images will be stored in a database.

Thanks everyone for all comments!




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net