Print Page | Close Window

login with security code

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6919
Printed Date: 03 April 2026 at 11:32pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: login with security code
Posted By: melika_1st
Subject: login with security code
Date Posted: 02 November 2003 at 2:48am

hi admin

can you say how we can use security code in our web site login like new version of wwf ? please .....

 



-------------
melika tehrani



Replies:
Posted By: WebWiz-Bruce
Date Posted: 02 November 2003 at 5:43am
Set a session variable in the calling file called:-

Session("lngSecurityCode")

Then use the following to call the file security_images.asp that displays the image:-

<img src="security_image.asp?I=1&<% = hexValue(4) %>" /><img src="security_image.asp?I=2&<% = hexValue(4) %>" /><img src="security_image.asp?I=3&<% = hexValue(4) %>" /><img src="security_image.asp?I=4&<% = hexValue(4) %>" /><img src="security_image.asp?I=5&<% = hexValue(4) %>" /><img src="security_image.asp?I=6&<% = hexValue(4) %>" />

The I=x part tells the image file which part of the session variable to look at so it knows which image to show.

The <% = hexValue(4) %> calles a function in the functions_common.asp file that produces a value to stop browsers caching the image

You then in the page it is sent to call the session variable Session("lngSecurityCode") and check it matches the input value.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: melika_1st
Date Posted: 02 November 2003 at 12:00pm

hi
thanks a lot  admin
I'm so happy for this.

best regards



-------------
melika tehrani


Posted By: anilxp
Date Posted: 02 November 2003 at 5:01pm
Hey, Why don't you make it like the way VeriSign does (security code). Take a look @ it on netsol.com and click on whois. Try whois a domain (e.x.:webwiz.net) and the next step they give you a security code. They look more promising. And I think you should make security code alpha numeric. Six charecters with a background. The log in page should me much more simple. You know what I mean, take off those 2 options like remember me and Add me to active user list. By default keep this option: "NO to remember me" ad "add YES to add me to active user list. THe login page would look a whole lot simpler. Much beter. It would look much like a login page than a sign up form.


Posted By: WebWiz-Bruce
Date Posted: 03 November 2003 at 4:53am
The type of  security code used on verisign won't work with classic ASP without extra expensive components installed on the web server. What we have at the present time is as good as you can get with classic ASP as images can not be made on the fly.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: kmacy
Date Posted: 03 November 2003 at 6:44am

Borg,

I notice that you don't actually use the security code on this live forum.

I'm curious what you feel we should think about when deciding whether or not to use it.  Why did you decide not to turn it on?

Thanks,



-------------
Ken Macy


Posted By: WebWiz-Bruce
Date Posted: 03 November 2003 at 6:51am
The latest version 7.51 checks the ASP session ID, which sould be enough to prevent password cracking tools.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



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