home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.security
- Path: sparky!uunet!ferkel.ucsb.edu!taco!rock!stanford.edu!agate!netsys!decwrl!elroy.jpl.nasa.gov!sdd.hp.com!scd.hp.com!hpscdm!cupnews0.cup.hp.com!hppad.waterloo.hp.com!dolson
- From: dolson@waterloo.hp.com (Dave Dolson)
- Subject: Re: Window watching programs
- Sender: news@waterloo.hp.com (NetNews)
- Message-ID: <BxGuDB.6nC@waterloo.hp.com>
- Date: Mon, 9 Nov 1992 20:31:58 GMT
- Distribution: na
- References: <Bx77D0.1In@cs.dal.ca>
- Organization: HP Panacom Div Waterloo ON Canada
- X-Newsreader: TIN [version 1.1.4 PL6]
- Lines: 35
-
- Scott King (gordon@ug.cs.dal.ca) wrote:
- : I have recently come across a program on the net that will allow a user to
- : continuously monitor a window (including the root window) on another
- : machine.
- Not only that, but you have complete read/write access to every window or
- resource in the X system. You can close all their windows, lock up the
- terminal, paint them black, etc.
-
- : The disturbing part of it is that you seem to be able to do
- : this to any machine without even having an account on it or having to set
- : up permission to do so with xhost. Is there a way to protect a machine
- : from people using such programs? If so, how?
- Unfortunately, security measures never seem to be on by default. Turning it on
- is machine-specific. On workstations this may be an X command line option.
- On X terminals it may be a config screen option.
-
- Any X implementation which claims to be X11/R4 or later should have implemented
- client authorization (MIT-MAGIC-COOKIE-1). This applies to X terminals as
- well.
- I don't know about other vendors, but on Hewlett Packard machines, a 16-byte
- "magic cookie" is stored in a file in your home directory called .Xauthority.
- It is readable only by you. All X applications must read the file and present
- the cookie to the X server before being allowed to connect. The cookie is
- generated at the start of each session by 'xdm'.
-
- A caveat of using client authorization is that all X applications must have
- been compiled using X11R4 or later libraries.
-
- Of course this is only secure if no one is snooping on your LAN.
-
- David Dolson
- Hewlett-Packard (Canada) Ltd.
- Panacom Automation Division
- (519) 886-5320
- dolson@waterloo.hp.com
-