|
-
October 8th, 2003, 11:36 PM
#1
-
October 9th, 2003, 02:56 PM
#2
watch out for the way you check the validity of your login. For example. If you check the users passwords in a function that returns the vlaue true to a variable named 'passcheck' someone could pass 'that value to your script and defeat your login process.
One way that you could protect against this, and solve your session problem is create a login database. When someone's password is checked it creates a random number that can be checked as they move from page to page. Every time it is checked, a new time stamp is also placed in the data base. If this time stamp is over a certain lenght of time, then the login is timed out. To do house keeping you could use a cron job to clean out the login database once a day or so.
Hope this helps.
DeafLamb
-
October 9th, 2003, 05:46 PM
#3
-
October 13th, 2003, 11:37 AM
#4
thanx
Thanx fot your answers guys..
watch out for the way you check the validity of your login. For example. If you check the users passwords in a function that returns the vlaue true to a variable named 'passcheck' someone could pass 'that value to your script and defeat your login process.
But he has to know the now the name of that variable, right?
I've already read it. Thanx
-
October 13th, 2003, 02:00 PM
#5
yes they would have to know the name of the variable. You would be surprised though how easy it can be to guess the names of variables used for common purposes.
DeafLamb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|