lkml.org 
[lkml]   [1998]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: foreign fs security features (was Re: NCPFS overhaul)
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
> A directory fred exists you cannot see
> You do
> mkdir fred
> do you
> a) return -EEXIST revealing the invisible space
> b) create another fred

Ah, come on, this is security by obscurity: you're just hiding
names from people that can't see them.

The usual "secure" thing to do is "pause a second, then return an
error". What this means in a world of plentiful parallel resources
(cheap fork) is maybe best left to the imagination. I suppose you could
make the penalty cumulative on a per user basis: if another request
which impacts on a hidden resource comes in while one is still pending.
[But you'd want to be able to disable this for people who don't care
about enforcing the obscurity, and just want to interoperate.]

--
Raul

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.075 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site