Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Installer/Setup Issues
Author Message
Defcon
Regular
Regular



Joined: Mar 10, 2005
Posts: 90

PostPosted: Sun Apr 29, 2007 6:14 am Reply with quote

Hye all! I got some question here about security code login. How to change alphabet to number in security code image on login block?

thanxs

Image
 
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Mon Apr 30, 2007 2:54 am Reply with quote

Open includes/class.php-captcha.php
Around line 59 you will see
Code:
 define('CAPTCHA_CHAR_SET', ''); // defaults to A-Z

Change that to
Code:
 define('CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0'); // defaults to A-Z

I would not recommend using double digits as this may force some number off the page and the user wouldnt be able to see them. Also, when using numerical captcha you are limited to 1 in 10 characters per digit as against using alphabetical characters where there is a 1 in 26 possibility per character - in simple terms, the alpha sequence offers more permuations ans is therefore more secure than using numerics.
 
View user's profile Send private message Send e-mail
Defcon







PostPosted: Mon Apr 30, 2007 3:42 am Reply with quote

Guardian2003 wrote:
Open includes/class.php-captcha.php
Around line 59 you will see
Code:
 define('CAPTCHA_CHAR_SET', ''); // defaults to A-Z

Change that to
Code:
 define('CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0'); // defaults to A-Z

I would not recommend using double digits as this may force some number off the page and the user wouldnt be able to see them. Also, when using numerical captcha you are limited to 1 in 10 characters per digit as against using alphabetical characters where there is a 1 in 26 possibility per character - in simple terms, the alpha sequence offers more permuations ans is therefore more secure than using numerics.


Ahaaa... thanxs Guardian2003 hhuhuhuhu
 
Guardian2003







PostPosted: Mon Apr 30, 2007 8:07 am Reply with quote

No problem, happy to help.
 
jlajax
Ardent RavenCMS Supporter



Joined: Oct 12, 2006
Posts: 244
Location: Jacksonville, Florida

PostPosted: Wed Dec 17, 2008 6:06 pm Reply with quote

Guardian2003 wrote:
Open includes/class.php-captcha.php
Around line 59 you will see
Code:
 define('CAPTCHA_CHAR_SET', ''); // defaults to A-Z

Change that to
Code:
 define('CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0'); // defaults to A-Z


Quote:
CAPTCHA_CHAR_SET', '1,2,3,4,5,6,7,8,9,0,A,B,C,D,E,F,G,H,I.J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z'); // defaults to A-Z


Before I try this Will it work? The goal being to display a combination of letters and numbers in the security code. Seems to me this increases options increasing security.

Thanks guys

RavensScripts
 
View user's profile Send private message
Guardian2003







PostPosted: Thu Dec 18, 2008 1:43 am Reply with quote

Yes if you seperate them with a 'comma' not a 'stop' but I would leave out the zero and letter 'o' to avoid confusion.
 
jlajax







PostPosted: Thu Dec 18, 2008 2:39 am Reply with quote

Many Thanks!

RavensScripts
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Installer/Setup Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©