SLIME and security

Discussion of programming Lisps using Emacs, including SLIME and other tools
Post Reply
audwinc
Posts: 12
Joined: Thu Sep 02, 2010 11:46 am

SLIME and security

Post by audwinc » Fri Sep 03, 2010 9:04 am

Is there a way now to limit who can access the Lisp image with emacs? I want only a subset of people with access to my system to be able to connect to a running Lisp with SLIME. I remember reading a while back that this was an issue, but maybe there is some kind of ACL trick for blocking port connections based on the logged-in user?

~a

ramarren
Posts: 613
Joined: Sun Jun 29, 2008 4:02 am
Location: Warsaw, Poland
Contact:

Re: SLIME and security

Post by ramarren » Fri Sep 03, 2010 10:06 am

There is the 'slime-secret' functionality, which as far as I can tell is undocumented. I have never used it, but the source seems simple enough: if there is a file ~/.slime-secret, then only those users with matching first line will be able to connect. Swank source at this level is quite easy to modify if you have additional requirements.

Post Reply