[Y-devel] Access control
Andrew Suffield asuffield at debian.org
Sat Mar 6 09:08:36 GMT 2004
On Fri, Mar 05, 2004 at 10:51:26PM +0100, Peter Prohaska wrote:
> On Fri, Mar 05, 2004 at 08:48:07PM +0000, Andrew Suffield wrote:
> > On Fri, Mar 05, 2004 at 07:02:01PM +0100, Peter Prohaska wrote:
> > > On Fri, Mar 05, 2004 at 04:04:56PM +0000, Andrew Suffield wrote:
> > > > On Fri, Mar 05, 2004 at 11:29:58AM +0100, Peter Prohaska wrote:
> > > > > On Fri, Mar 05, 2004 at 10:39:21AM +0000, Leonardo Giordani wrote:
> [..]
> > > > Got those already. Intrinsic in the way DSOs work on an ELF
> > > > platform. You don't normally want to do things that way, though.
> > >
> > > I know, but a system independent aporach is important i think. If that
> > > could be done by delivering / using an ELF lib that does the job would
> > > be good enough probably.
> >
> > I have no interest in making Y run on AIX or OS/390. I doubt anybody
> > does. It's not useful and it just makes the code needlessly
> > complicated.
>
> Just switch between Linux, Mac and Windows and you have problems enough.
> Maybe you can get all you need using just the system functionality. My
> experience is that it leads to problems. That is probably the reason why
> so many different approaches of how "modules" are loaded in different
> applications exist.
No, it's mostly just NIH, or different problems. Old macos isn't
interesting, macosx should have no problems, and win32 is not
worthwhile (link statically there).
> > > > > [- maybe signature verification and checksum verification
> > > >
> > > > Can't imagine any scenarios where this would be useful.
> > >
> > > Loading modules over the network?
> >
> > Insane and impossible. You would need something like java for this,
>
> I definitly do not agree here. If I did, i would probably not install
> debian packages on my box via download from the debian server.
That's a completely different thing.
> > and it's a bad idea anyway; you can just install them on the server
> > properly. Furthermore, even if it were a good idea, signatures and
> > checksums would not do anything useful.
>
> I disagree on both facts. As a user you often cannot "properly" install
> them.
Nor should you be able to. In this scenario you are talking about
introducing a remote exploit to work around the deliberate sysadmin
restriction to prevent you from doing precisely this.
> By the way, what is that? I would like to be able to drag and drop
> a module from my browser showing an ftp or nfs accessed resource, make
> sure i trust it and then drop the cool windowmanager module on the
> desktop to have it "properly" installed. I'm just lazy.
That is a problem for end-user applications to solve, if they
particulary want to implement this rather crazy interface. (Upload to
the server, install the package). It doesn't require any of the stuff
you mentioned above.
> > > What i had in mind (in examples):
> > > (1) Listener example:
> > > I wnat to listen on more then one ip port, currently, that would
> > > require loading the listener module two times with different
> > > parameters => not possible.
> > > So i could introduce some new methods to achieve that but then i think
> > > the more natural aproach is to spawn N Listeners of the tcp
> > > iplementation.
> >
> > It's not. Even if this were a sensible thing to be doing, the right
> > way is simply to bind to all the sockets you want. What you describe
> > would merely make things complicated.
>
> In what is that different in what i describe but that i give "simply
> bind to all the sockets" a name and an interface?
You introduced a great deal of needless effort for what is a very
simple patch. It can be added to the current tcp module by adding
about a dozen lines of code (but there's no point). If it takes more
than a few minutes then you're trying too hard.
> > > (3) ProtocolCodec:
> > > Just reasonable to capsulate a specific implementatino into a module
> > > that can be replaced easiely and is inndependent of where data comes
> > > from and where it goes to. (Why?... license problems with specific
> > > module implementations, code reuse, protocol changes over time may
> > > easily be handled without loosing compatibility if needed)
> >
> > It would help with none of these things.
>
> If you want to recompile the whole server each time you want to add or
> remove something. Ok.
Only if you do it wrong. But how often do you recompile apache to add
or remove ssl support? It's not a real-world problem.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : https://www.debian.org/ |
`. `' |
`- -><- |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040306/f627cdda/attachment.bin
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved