[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Network security manager
From: |
Ted Zlatanov |
Subject: |
Re: Network security manager |
Date: |
Wed, 19 Nov 2014 10:36:10 -0500 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
On Wed, 19 Nov 2014 15:45:52 +0100 Lars Magne Ingebrigtsen <address@hidden>
wrote:
LMI> Ted Zlatanov <address@hidden> writes:
>> Would it work to use the logic of "the buffer that initiated the
>> connection is in the foreground"? In that case, we could store the
>> buffer name as an optional record in the process info structure--
>> `open-network-stream' could figure it out mostly automatically?
LMI> Hm... so shr would tell `url-retrieve' that the buffer that the "user
LMI> buffer" for the request is "*eww*", and then if that's the buffer that's
LMI> active when url.el finally has decided which server to connect to, and
LMI> the NSM decides to query the user -- then NSM would only query the user
LMI> if the user's active buffer is the same buffer?
Yes!
LMI> If you `M-x eww RET http://google.com RET', then we don't create the
LMI> *eww* buffer until we have downloaded the HTML. (Which will actually be
LMI> from https://www.google.com, since there's a redirect.) Meanwhile the
LMI> user may well have left the buffer she typed `M-x eww' in, but that
LMI> (probably) shouldn't stop NSM from querying about whether the user
LMI> really wants to visit the version of https://www.google.com that seems
LMI> to be signed by an invalid Chinese CA for some strange reason or
LMI> other...
You could create the *eww* buffer immediately? Or just look for that
buffer name (if you store just the name in the process)?
At medium or lower `nsm-security-level', I wouldn't expect to be queried
in the case you describe. But at high or above, I would.
Ted
- Re: Network security manager, (continued)
- Re: Network security manager, Ted Zlatanov, 2014/11/19
- Re: Network security manager, Toke Høiland-Jørgensen, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/18
- Re: Network security manager, Stefan Monnier, 2014/11/18
- Re: Network security manager, Eli Zaretskii, 2014/11/18
- Re: Network security manager, Stefan Monnier, 2014/11/19
- Re: Network security manager, Ted Zlatanov, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- Re: Network security manager,
Ted Zlatanov <=
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- Re: Network security manager, Ted Zlatanov, 2014/11/19
- Re: Network security manager, Lars Magne Ingebrigtsen, 2014/11/19
- EWW buffers, Ivan Shmakov, 2014/11/19
- Re: EWW buffers, Lars Magne Ingebrigtsen, 2014/11/19
- bug#19109: eww-setup-buffer: use set-buffer instead of switch-to-buffer, Ivan Shmakov, 2014/11/19
- Message not available
- Message not available
- Message not available
- mailing control@, but requesting that no replies be sent there, Ivan Shmakov, 2014/11/23
- Re: bug#19109: mailing control@, but requesting that no replies be sent there, Glenn Morris, 2014/11/23
- Re: mailing control@, but requesting that no replies be sent there, Ivan Shmakov, 2014/11/24
- Re: mailing control@, but requesting that no replies be sent there, Stephen J. Turnbull, 2014/11/24