View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12143 | Feature requests | Authentication | public | 2017-02-20 18:10 | 2023-02-08 16:31 |
Reporter | Rudloff | Assigned To | c_schmitz | ||
Priority | none | Severity | feature | ||
Status | assigned | Resolution | reopened | ||
Summary | 12143: Add a login cookie with a duration longer than the session | ||||
Description | Hello, It seems the admin login uses PHP sessions which are destroyed at the end of the browsing session (or even before if the server cleans the sessions every X minutes), which is pretty annoying. | ||||
Tags | No tags attached. | ||||
Bug heat | 16 | ||||
Story point estimate | 3 | ||||
Users affected % | 80 | ||||
I like it, it can be done in plugin currently. But :
|
|
We can use a library like rememberme (https://github.com/gbirke/rememberme) to ensure that the cookie is sufficiently secure. |
|
Here is a basic implementation as a plugin : https://framagit.org/Animafac/limesurvey-rememberme |
|
In fact , for all session : Work too without issue (here for 7 days) Can use 'savePath' => '/outofgarbage/tmp', : to disallow server to garbage session too. I close this one |
|
It's generally not a good idea to store long PHP sessions, especially if you don't use garbage collection, because a lot of sessions can be created quite easily by an attacker and it can fill your drive. What if I run something like this in Bash for example: This is why it is considered a better practice to:
|
|
Hi Rudloff I send it in feedback to Carsten |
|
OK to close it ? |
|
PS : @Rudloff : if you found some time to put your plugin in https://www.limesurvey.org/index.php?option=com_sobipro&sid=61:Authentication&Itemid=729 it's great. If you want i make it : i can (just ask), but better if you do it. |
|
OK you can close the bug. I will submit my plugin but I wan't to add some documentation and tests first. |
|
Thanks |
|
@c_schmitz : maybe we can include this plugin in core plugin for 3.0 ? |
|
Or maybe in LS6? :D How many users could benefit from this? 50%? Seems like a promising quality-of-life feature. |
|
Plugin would have to be reviewed and then included. |
|
Instead of adding a never ending list of core plugins it would be better to finally incorporate limestore in the core plugin list view, for a one-click install experience of remote plugins. |
|
See wordpress success :) |
|
Yeah, let's see if I can push that into Q1 or Q2 (Q = quarter year of 2023). |
|
I consider this feature very useful. Would love to see this at LS 5.x. Adding more and more core plugins doesn't seem to be the best approach. I think this is so useful that it should become a core feature. |
|
More come feature and it make really complex to improve, adapt an existing feature … |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-02-20 18:10 | Rudloff | New Issue | |
2017-02-21 18:59 | DenisChenu | Note Added: 43054 | |
2017-02-21 19:06 | Rudloff | Note Added: 43058 | |
2017-02-23 12:37 | Rudloff | Note Added: 43082 | |
2017-02-23 20:40 | Mazi | Issue Monitored: Mazi | |
2017-02-28 14:19 | DenisChenu | Note Added: 43095 | |
2017-02-28 14:19 | DenisChenu | Status | new => closed |
2017-02-28 14:19 | DenisChenu | Resolution | open => no change required |
2017-02-28 15:28 | Rudloff | Status | closed => feedback |
2017-02-28 15:28 | Rudloff | Resolution | no change required => reopened |
2017-02-28 15:28 | Rudloff | Note Added: 43097 | |
2017-02-28 16:04 | DenisChenu | Note Added: 43098 | |
2017-02-28 16:05 | DenisChenu | Assigned To | => c_schmitz |
2017-02-28 16:05 | DenisChenu | Status | feedback => assigned |
2017-02-28 16:05 | DenisChenu | Status | assigned => feedback |
2017-02-28 16:05 | DenisChenu | Note Added: 43099 | |
2017-02-28 16:06 | DenisChenu | Note Added: 43100 | |
2017-02-28 16:23 | Rudloff | Note Added: 43102 | |
2017-02-28 16:23 | Rudloff | Status | feedback => assigned |
2017-02-28 16:28 | DenisChenu | Note Added: 43103 | |
2017-11-17 11:48 | DenisChenu | Note Added: 45102 | |
2023-02-03 18:32 | ollehar | Note Added: 73663 | |
2023-02-03 18:32 | ollehar | Bug heat | 256 => 258 |
2023-02-03 18:32 | ollehar | Story point estimate | => 3 |
2023-02-03 18:32 | ollehar | Users affected % | => 80 |
2023-02-03 18:32 | ollehar | Note Added: 73664 | |
2023-02-03 18:38 | ollehar | Note Added: 73666 | |
2023-02-04 12:19 | DenisChenu | Note Added: 73674 | |
2023-02-04 13:18 | ollehar | Note Added: 73679 | |
2023-02-04 15:10 | Mazi | Note Added: 73680 | |
2023-02-04 15:10 | Mazi | Bug heat | 258 => 260 |
2023-02-04 15:13 | Mazi | Bug heat | 260 => 266 |
2023-02-04 15:20 | DenisChenu | Note Added: 73682 | |
2023-02-08 16:31 | ollehar | Category | Security => Authentication |
2023-02-08 16:31 | ollehar | Bug heat | 266 => 16 |