public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: cgf@bbc.com (Chris Faylor)
To: gnu-win32@cygnus.com
Subject: Re: Feedback needed on proposed cygwin feature
Date: Fri, 05 Dec 1997 08:07:00 -0000	[thread overview]
Message-ID: <EKq253.2A6@bbc.com> (raw)
In-Reply-To: <34870542.A0933226@twinspot.net>

In article < 34870542.A0933226@twinspot.net >,
Tomas Fasth  <tomas.fasth@twinspot.net> wrote:
>Chris Faylor wrote:
>
>> What security considerations are there that are not also present with
>> any other scheme, whether it is using extended attributes or setting options
>> in the registry?  You would have to have the right privileges to change
>> the binary.
>
>The binary is normally a single entity, shared among users. Configuring
>a certain  behavior at compile time is just fine, having it modified
>after installment is not. It will simply introduce all kinds of
>nightmares.
>
>If a user wants to change the behavior of a certain binary, it has to be
>done within that particular user's environment only. Otherwise, you will
>end up with a situation where no-one can trust current settings and
>being forced to check/reset the settings at each and every point of use.
>
>If I remember right, the registry allow user specific entries. Also,
>it's nothing new in the Unix environment to have configuration files for
>binaries stored within the file system space controlled by current user.
>We just have to figure out a viable structure to store such information
>into.
>
>> How does a virus detection program detect the difference between installing
>> a new version of bash or changing a byte in the existing file?
>
>It does not. At both occations the virus tripwire will be sprung.

Can you point me to some specific virus software that will complain given
the above scenario?

>But a binary installation is normally a system level activity, or at
>least done with an intention to share the binary among some or all of
>the users on that system.
>
>A change of a binary's runtime behavior should not require a change to
>the binary itself. I'm quite surprised that this option came up in the
>discussion in the first place. Everybody having worked in the Unix
>environment should realize the obvious security breach such solution
>would introduce. NT is certainly not an exception.

I guess I need more explanation about why it is "obvious" that modifying
the binary results in a security breach.  A user either has the right
to modify the binary or they don't.  If they don't, it is not a security
problem.  If they do then they can replace 'ls' with 'rm' if they want to.
They can also edit the binary with 'vi'.  So what?

Your point about individual users not being able to set their own per-binary
defaults is a good one, though.  So, I guess that means that we're back
to the registry, with all its attendent quirks.
-- 
http://www.bbc.com/	cgf@bbc.com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

  reply	other threads:[~1997-12-05  8:07 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-02  9:41 marcus
1997-12-03  6:00 ` Tomas Fasth
1997-12-03 18:36   ` Chris Faylor
1997-12-04 13:02     ` Tomas Fasth
1997-12-05  8:07       ` Chris Faylor [this message]
1997-12-03  7:38 ` Chris Faylor
  -- strict thread matches above, loose matches on Subject: below --
1997-12-04 17:09 Chris Faylor
1997-12-04 17:07 Michael Anthon
1997-12-05  8:07 ` Chris Faylor
1997-12-02 20:23 Earnie Boyd
1997-12-02 16:54 dahms
1997-12-03  7:38 ` Theodore Jump
1997-12-02  7:22 Chris Faylor
1997-12-02  6:11 Chris Faylor
1997-12-01 22:51 Chris Faylor
1997-12-01 22:51 Chris Faylor
1997-12-01 22:51 ` Jason Zions
1997-12-01 11:43 JONCKHEERE
1997-12-02  7:23 ` Chris Faylor
1997-12-01  5:09 Earnie Boyd
1997-12-01  2:03 Chris Faylor
1997-12-01  9:09 ` Norm Peterson
1997-12-01 11:47 ` Jason Zions
1997-12-01 22:10 ` Justin Smith
1997-12-01 22:51 ` Michael Hirmke
1997-12-02  7:16   ` Chris Faylor
1997-12-02  9:41     ` Fergus Henderson
1997-12-03  7:38       ` Chris Faylor
1997-12-01 22:51 ` Theodore Jump
1997-12-02  5:17 ` Kimon Kontovasilis

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=EKq253.2A6@bbc.com \
    --to=cgf@bbc.com \
    --cc=gnu-win32@cygnus.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).