Re: [Dorset] Problem using Chromium to log in to Web Page Secured with flask-httpauth

2021-01-25 Thread Terry Coles
On Monday, 25 January 2021 14:51:59 GMT Patrick Wigmore wrote: > This means you can have a server-side time-out on the session, after > which the user's session cookie is worthless and they have to get a > new one by logging in anew. I'll look into that once I've deployed the server on the Pi.

Re: [Dorset] Problem using Chromium to log in to Web Page Secured with flask-httpauth

2021-01-25 Thread Patrick Wigmore
On Mon, 25 Jan 2021 13:41:57 +, Terry Coles wrote: > Since we can't force anyone to clear their cookies, I guess this > comes back to my original query; how unsafe is this? I can see > Hamish's point, the session cookie is only going to be stored on > the user's device, so if he keeps it

Re: [Dorset] Problem using Chromium to log in to Web Page Secured with flask-httpauth

2021-01-25 Thread Terry Coles
On Monday, 25 January 2021 13:04:08 GMT Stephen Wolff wrote: > It might be an issue with ‘https’, as Chrome is very fussy about > this nowadays. Not sure whether Chromium is the same, but it is likely > to be. Hmmm. When I did the original Web Server at WMT (Audio Guide, Kiddies Quiz,etc), I

Re: [Dorset] Problem using Chromium to log in to Web Page Secured with flask-httpauth

2021-01-25 Thread Stephen Wolff
I imagine this will be to do with the cookie and session cookie settings you have set for those browsers. My guess is you have Firefox set to clear them when closed, but not with Chromium. Store cookies *was* on in Chromium and off in Firefox. Turning it off in Chromium didn't stop the

Re: [Dorset] Problem using Chromium to log in to Web Page Secured with flask-httpauth

2021-01-25 Thread Terry Coles
On Monday, 25 January 2021 12:39:24 GMT Hamish McIntyre-Bhatty wrote: > I imagine this will be to do with the cookie and session cookie settings > you have set for those browsers. My guess is you have Firefox set to > clear them when closed, but not with Chromium. Store cookies *was* on in

Re: [Dorset] Problem using Chromium to log in to Web Page Secured with flask-httpauth

2021-01-25 Thread Hamish McIntyre-Bhatty
On 25/01/2021 12:34, Terry Coles wrote: > Hi, > > I have set up basic protection for my Minster Control Web page using the > information in the man page for flask-httpauth see: > > http://manpages.ubuntu.com/manpages/groovy/man1/flask-httpauth.1.html > > My App uses the code in the first example

[Dorset] Problem using Chromium to log in to Web Page Secured with flask-httpauth

2021-01-25 Thread Terry Coles
Hi, I have set up basic protection for my Minster Control Web page using the information in the man page for flask-httpauth see: http://manpages.ubuntu.com/manpages/groovy/man1/flask-httpauth.1.html My App uses the code in the first example given and works fine, except that if I log in to my

Re: [Dorset] Flask web development book

2021-01-25 Thread Ralph Corderoy
Hi Terry, > Miguel wrote the preferred solution at SO, although there is nothing > quite like it in the book or the Tutorial (the SO solution uses > request.method and request.form, whereas the book only mentions > request.form once as an example of what can be done with it and it's > not to