Welcome Guest, Not a member yet? Register   Sign In
Using session class for secure logins
#5

[eluser]jedd[/eluser]
To augment the existing comments.

0/ yes - it involves reading the manual and config files - briefly, config.php/sess_encrypt_cookie=TRUE , encryption_key={insert your random 32-char string here}, and I'd suggest sess_use_database=TRUE too.

1/ sessions can be stored in either place. I concur with the recommendation to store them in the DB, in no small part because it means you can break the 4kb limit you have with cookies.

2/ apart from anything else, CI (by default) does not respect query strings - so, yes, you are protected from the type of url you cited

3/ fingerprinting each user seems like a lot of effort, with little return - certainly it hasn't really paid off for the US gov. I suspect that if you're asking if you need to do this .. then you probably don't (or you shouldn't be designing or security auditing auth systems)

4/ if you reckon the documentation says nothing about security, I suggest you haven't really read the documentation.


Messages In This Thread
Using session class for secure logins - by El Forum - 10-16-2009, 11:49 AM
Using session class for secure logins - by El Forum - 10-16-2009, 12:28 PM
Using session class for secure logins - by El Forum - 10-16-2009, 02:28 PM
Using session class for secure logins - by El Forum - 10-16-2009, 03:10 PM
Using session class for secure logins - by El Forum - 10-16-2009, 07:56 PM
Using session class for secure logins - by El Forum - 10-16-2009, 09:55 PM
Using session class for secure logins - by El Forum - 10-16-2009, 11:13 PM
Using session class for secure logins - by El Forum - 10-17-2009, 12:09 AM
Using session class for secure logins - by El Forum - 10-17-2009, 06:47 AM
Using session class for secure logins - by El Forum - 10-18-2009, 02:17 PM
Using session class for secure logins - by El Forum - 10-18-2009, 03:23 PM
Using session class for secure logins - by El Forum - 10-18-2009, 04:13 PM
Using session class for secure logins - by El Forum - 10-18-2009, 08:29 PM
Using session class for secure logins - by El Forum - 10-18-2009, 08:31 PM
Using session class for secure logins - by El Forum - 10-19-2009, 04:05 AM
Using session class for secure logins - by El Forum - 01-07-2010, 03:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB