Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin UI logout or session timeout setting #162

Closed
dptom opened this issue Apr 20, 2015 · 6 comments
Closed

Admin UI logout or session timeout setting #162

dptom opened this issue Apr 20, 2015 · 6 comments

Comments

@dptom
Copy link

dptom commented Apr 20, 2015

I've had a bit of an issue with the admin sessions surviving browser closure. Where is the timeout setting for the grr server or can we put a logout on to the page? I've noticed that the admin session remains in place when the network connection is broken (because of this crappy wireless network in EWR - and my VPN). Thoughts. I'll check the developer documentation and see if this is something I can easily add.

@scudette
Copy link
Contributor

There is no such thing as an "admin session" - the web app simply uses
basic auth to authenticate to the server. The UI does not use cookies or a
session per-se. The lifetime of the basic auth depends on the browser.

http://stackoverflow.com/questions/5957822/how-to-clear-basic-authentication-details-in-chrome

On 21 April 2015 at 00:44, dptom notifications@github.com wrote:

I've had a bit of an issue with the admin sessions surviving browser
closure. Where is the timeout setting for the grr server or can we put a
logout on to the page? I've noticed that the admin session remains in place
when the network connection is broken (because of this crappy wireless
network in EWR - and my VPN). Thoughts. I'll check the developer
documentation and see if this is something I can easily add.


Reply to this email directly or view it on GitHub
#162.

@dptom
Copy link
Author

dptom commented Apr 21, 2015

Okay. I'm just thinking it would be nice to have a logout link or control on every screen so that when we're using a browser like Firefox or Safari ( I know these may be evil words for Google, but some companies don't let us use that browser ) we can kill the login session. I may be over-simplifying, but I'm thinking of adding a logout link next to the API in the footer and firing a js to tell Django to logout. Not certain if it will work, but thought I'd give it a try.


Tom Arnold, CISSP, ISSMP, CFS, PCI/PA QSA, Visa SA, PCI PFI, GCFE
Principal, Head of Digital Forensics

Payment Software Company (PSC)
591 W. Hamilton Ave. | Suite 200 | Campbell | CA 95008 | USA

email tom@paysw.com | web www.paysw.com
tel. +1.408.228.0961 x 102 | mobile +1.408.406.1758 | fax +1.408.340.5433

This e-mail message is for the sole use of the intended recipient and may contain confidential and privileged information of Payment Software Company, Inc. (PSC). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

On Apr 20, 2015, at 6:56 PM, Michael Cohen notifications@github.com wrote:

There is no such thing as an "admin session" - the web app simply uses
basic auth to authenticate to the server. The UI does not use cookies or a
session per-se. The lifetime of the basic auth depends on the browser.

http://stackoverflow.com/questions/5957822/how-to-clear-basic-authentication-details-in-chrome

On 21 April 2015 at 00:44, dptom notifications@github.com wrote:

I've had a bit of an issue with the admin sessions surviving browser
closure. Where is the timeout setting for the grr server or can we put a
logout on to the page? I've noticed that the admin session remains in place
when the network connection is broken (because of this crappy wireless
network in EWR - and my VPN). Thoughts. I'll check the developer
documentation and see if this is something I can easily add.


Reply to this email directly or view it on GitHub
#162.


Reply to this email directly or view it on GitHub.

@pidydx
Copy link
Contributor

pidydx commented Apr 21, 2015

From an older issue. #24

@dptom
Copy link
Author

dptom commented Apr 21, 2015

Thanks.... This answered my question. Thank you. I searched through the issues, but didn't come up with this. Please close out my issue as I'll look at my own authentication implementation as suggested.

Best,


Tom Arnold, CISSP, ISSMP, CFS, PCI/PA QSA, Visa SA, PCI PFI, GCFE
Principal, Head of Digital Forensics

Payment Software Company (PSC)
591 W. Hamilton Ave. | Suite 200 | Campbell | CA 95008 | USA

email tom@paysw.com | web www.paysw.com
tel. +1.408.228.0961 x 102 | mobile +1.408.406.1758 | fax +1.408.340.5433

This e-mail message is for the sole use of the intended recipient and may contain confidential and privileged information of Payment Software Company, Inc. (PSC). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

On Apr 20, 2015, at 9:33 PM, Sean Gillespie notifications@github.com wrote:

From an older issue. #24


Reply to this email directly or view it on GitHub.

@pidydx
Copy link
Contributor

pidydx commented Apr 21, 2015

No problem! I just remembered it from before and I had to dig for it a bit myself. For your own auth you will implement a class in gui/webauth.py b/gui/webauth.py and then just configure GRR to use that class instead of the default. I can't close the issue, but I think you should have a close button or maybe one of the others can get it.

@dptom
Copy link
Author

dptom commented Apr 21, 2015

Excellent. Thanks

Tom Arnold
Principal
PSC

Prepared on iPhone, so please excuse any typos.... Autocorrect sometimes becomes over zealous

On Apr 20, 2015, at 22:13, Sean Gillespie notifications@github.com wrote:

No problem. I just remembered it from before and I had to dig for it a bit myself. For your own auth you will implement a class in gui/webauth.py b/gui/webauth.py and then just configure GRR to use that class instead of the default.


Reply to this email directly or view it on GitHub.

@destijl destijl closed this as completed May 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants