[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Emacs: Client/Server

From: Stefan Monnier
Subject: Re: GNU Emacs: Client/Server
Date: 29 Jan 2004 10:35:23 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>  The fact that "emacsclient" does not build on MS Windows platform
>  (correct me if I am wrong), we end up depending on "gnuserv"
>  functionality. This is *NOT* part of distribution and therefore makes it
>  difficult to keep update with changes in "gnuserv" (if there are any,
>  recently).

I feel like the best way forward is to support TCP sockets rather than only
unix sockets.  This would be an improvement under Unix and would give us
W32 support "for free".

I opposed such a move in the past based on the fact that it implies
a serious security concern.  Of course, the security issue just means we
have to be super extra careful and do proper authentication.

Recently (while bitching at the stupid imap server that keeps asking for my
password even though I already authenticated myself elsewhere), it occurred
to me that a cheap authentication scheme is to see whether the remote
process has write access to a particular file: i.e. send a random string
to the remote process, and when the remote process replies, check whether
[ `cat ~/.server-check` = "$the-random-string" ].
Of course, the NFS propagation delay may make this unusable, but maybe
if we check [ -d "~/.server-$the-random-string" ] instead, it will work.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]