Click here to Skip to main content
16,011,804 members
Home / Discussions / Web Development
   

Web Development

 
GeneralIcon address toolbar Pin
marnicola6-Feb-03 9:53
marnicola6-Feb-03 9:53 
GeneralRe: Icon address toolbar Pin
David Wulff7-Feb-03 4:47
David Wulff7-Feb-03 4:47 
GeneralLDAP VBScript & ASP Pin
Robby6-Feb-03 8:24
Robby6-Feb-03 8:24 
QuestionAdding hidden form variables on client side? Pin
devvvy5-Feb-03 22:37
devvvy5-Feb-03 22:37 
QuestionWhich is correct? Pin
Vasudevan Deepak Kumar5-Feb-03 19:49
Vasudevan Deepak Kumar5-Feb-03 19:49 
AnswerRe: Which is correct? Pin
Paul Riley5-Feb-03 22:49
Paul Riley5-Feb-03 22:49 
Generalsecurity in ASP Pin
devvvy5-Feb-03 14:32
devvvy5-Feb-03 14:32 
GeneralRe: security in ASP Pin
David Wulff5-Feb-03 16:07
David Wulff5-Feb-03 16:07 
norm wrote:
btw, I try to avoid Session variables as much as I can.

The way I'd prevent a brute force attack like that would be to verify the logon information (name, password, etc) and if not valid create a session variable holding the time the logon failed and the number of attempts, and then increment the latter on each failed attempt. When you've hit three failed logon attempts within, say, one minute, you'd block that session from logging in either till it expires or for a set period of time. (Make sure you feed the block information back to the user in case they have a legitimate reason for getting the information wrong). When the user logs in correctly, check if those two variables exist, and if so delete them. Then store the result of the log in in a session variable rather than put/getting it from the client every trip.

If you really don't want to touch the session object I suppose you could encrypt some of the logon information at the server and store it in the document as a key, (but keep one field, i.e. the name, plaintext so you have something to recalculate the key with), then in future trips fetch the information on the user however you currently are, encrypt the key and compare it with the one the client is sending you.


GeneralRe: security in ASP Pin
devvvy5-Feb-03 19:03
devvvy5-Feb-03 19:03 
GeneralRe: security in ASP Pin
David Wulff6-Feb-03 5:31
David Wulff6-Feb-03 5:31 
GeneralSILLY: HTML checkbox Pin
devvvy5-Feb-03 11:51
devvvy5-Feb-03 11:51 
GeneralRe: SILLY: HTML checkbox Pin
David Wulff5-Feb-03 16:10
David Wulff5-Feb-03 16:10 
GeneralRe: SILLY: HTML checkbox Pin
devvvy5-Feb-03 18:57
devvvy5-Feb-03 18:57 
GeneralRe: SILLY: HTML checkbox Pin
Richard Deeming6-Feb-03 0:40
mveRichard Deeming6-Feb-03 0:40 
GeneralTwo questions Pin
georgiek505-Feb-03 11:23
georgiek505-Feb-03 11:23 
GeneralRe: Two questions Pin
TigerNinja_6-Feb-03 4:21
TigerNinja_6-Feb-03 4:21 
GeneralRe: Two questions Pin
georgiek506-Feb-03 6:16
georgiek506-Feb-03 6:16 
GeneralTricky Page Reload Pin
Steven M Hunt5-Feb-03 11:05
Steven M Hunt5-Feb-03 11:05 
GeneralRe: Tricky Page Reload Pin
devvvy5-Feb-03 12:08
devvvy5-Feb-03 12:08 
GeneralRe: Tricky Page Reload Pin
Steven M Hunt5-Feb-03 13:33
Steven M Hunt5-Feb-03 13:33 
GeneralRe: Tricky Page Reload Pin
devvvy5-Feb-03 13:56
devvvy5-Feb-03 13:56 
GeneralPlease help and help me ...! Pin
Thuy Dinh4-Feb-03 20:00
Thuy Dinh4-Feb-03 20:00 
GeneralRe: Please help and help me ...! Pin
Christian Graus4-Feb-03 21:02
protectorChristian Graus4-Feb-03 21:02 
GeneralRe: Please help and help me ...! Pin
Vasudevan Deepak Kumar4-Feb-03 21:29
Vasudevan Deepak Kumar4-Feb-03 21:29 
GeneralRe: Please help and help me ...! Pin
Thuy Dinh6-Feb-03 5:01
Thuy Dinh6-Feb-03 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.