From: Luke Kenneth Casson Leighton <lkcl@lkcl.net>
To: SELinux <SELinux@tycho.nsa.gov>,
tng-technical@lists.samba-tng.org, samba-technical@samba.org
Subject: Re: se-samba
Date: Sat, 29 May 2004 11:18:42 +0000 [thread overview]
Message-ID: <20040529111842.GA18370@lkcl.net> (raw)
In-Reply-To: <20040529095153.GB16927@lkcl.net>
On Sat, May 29, 2004 at 09:51:53AM +0000, Luke Kenneth Casson Leighton wrote:
> > Basically the idea is that samba runs in it's own domain (ofcourse), but
> > this domain has to be able to access/read/write files in other domains,
> > particularly user domains. However we want the same enforcements over
> > samba that a user would get on the local system, so the idea is to make
> > [...]
> 1) doing user-space avc library calls is fine IF you can guarantee
> that the file system to which you are providing access is NOT
> accessible by any means other than through se-samba [or that
> any such access guarantees no race conditions].
>
> i.e. you must, in effect, write your own userspace file system.
... just to be clear: isolating a filesystem from backdoor access
(i.e. the underlying filesystem, if it's a unix filesysyem, is NOT
accessible via any other means e.g. an NFS export) is not as bad
as it first seems.
you can always use the smbfs (or its newer more unix-centric
cifsfs cousins) linux kernel smb client filesystems to access
such an isolated userspace filesystem, and then re-export that
filesystem via other file servers (e.g. NFS).
i don't expect it to be very fast, it's not very friendly,
but it's minimal coding, minimal administrative setup and
it'll work. fingers crossed. :)
l.
p.s. as is done at the moment, you could always just keep on
giving samba unlimited policy access to the directories it
exports, but that's not the point, is it?
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
next prev parent reply other threads:[~2004-05-29 11:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-20 18:42 se-samba Joshua Brindle
2004-05-20 21:10 ` se-samba Luke Kenneth Casson Leighton
2004-05-20 21:51 ` se-samba Luke Kenneth Casson Leighton
2004-05-29 9:51 ` se-samba Luke Kenneth Casson Leighton
2004-05-29 11:18 ` Luke Kenneth Casson Leighton [this message]
[not found] ` <200405312249.11522.rcoker@redhat.com>
[not found] ` <16571.47722.750708.219840@samba.org>
[not found] ` <20040531232931.GE8312@lkcl.net>
[not found] ` <1086081794.3268.39.camel@localhost.localdomain>
2004-06-01 11:09 ` se-samba Luke Kenneth Casson Leighton
[not found] ` <1086096477.3268.63.camel@localhost.localdomain>
[not found] ` <20040601133547.GU8312@lkcl.net>
[not found] ` <E1BV9Yp-0002wU-00@intern.SerNet.DE>
[not found] ` <16573.1058.707078.949935@samba.org>
2004-06-02 12:00 ` se-samba Luke Kenneth Casson Leighton
2004-06-02 12:45 ` se-samba Luke Kenneth Casson Leighton
2004-06-03 21:12 ` se-samba Luke Kenneth Casson Leighton
2004-06-14 20:00 ` se-samba Matthew Keller
2004-06-18 18:42 ` se-samba Luke Kenneth Casson Leighton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040529111842.GA18370@lkcl.net \
--to=lkcl@lkcl.net \
--cc=SELinux@tycho.nsa.gov \
--cc=samba-technical@samba.org \
--cc=tng-technical@lists.samba-tng.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.