|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
login filter
<i><b>Originally posted by : Bryant</b></i><br />Im creating a login page and I want to filter out certain characters from the input for security purpose. Does anybody know a way to do this?<br />Thanks<br />Bryant.<br />
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Tommy Lim (tommylim@e-land.com.sg)</b></i><br />Hi,<br /><br />I have a question.<br /><br />>You said filter out certain characters from the input.<br />1) Do you mean you want to CHECK & FILTER the characters once it's been key into the textbox?<br /><br />2) Or you mean, after the user click submit, then you would like to CHECK the characters follow by filtering.<br /><br />The 1st one, you probably got to use JAVASCRIPT.<br /><br />The 2nd one is pretty simple.<br />Just do a <br />request.form("textboxname")<br />Get the value and do a string compare.<br />Finally, filter those character you don't want.<br /><br />Tommie<br /><br />------------<br />Bryant at 5/20/2002 10:23:11 AM<br /><br />Im creating a login page and I want to filter out certain characters from the input for security purpose. Does anybody know a way to do this?<br />Thanks<br />Bryant.<br />
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Bryant</b></i><br />Hi Tommie,<br /><br />the filter function is kinda limited so i used regular expressions instead. <br />Thanks.<br />Bryant.<br /><br /><br />------------<br />Tommy Lim at 5/21/2002 8:53:56 AM<br /><br />Hi,<br /><br />I have a question.<br /><br />>You said filter out certain characters from the input.<br />1) Do you mean you want to CHECK & FILTER the characters once it's been key into the textbox?<br /><br />2) Or you mean, after the user click submit, then you would like to CHECK the characters follow by filtering.<br /><br />The 1st one, you probably got to use JAVASCRIPT.<br /><br />The 2nd one is pretty simple.<br />Just do a <br />request.form("textboxname")<br />Get the value and do a string compare.<br />Finally, filter those character you don't want.<br /><br />Tommie<br /><br />------------<br />Bryant at 5/20/2002 10:23:11 AM<br /><br />Im creating a login page and I want to filter out certain characters from the input for security purpose. Does anybody know a way to do this?<br />Thanks<br />Bryant.<br />
|
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > login filter |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|