xsetaccesscontrol(3) hpux man page | unix.com

Man Page: xsetaccesscontrol

Operating Environment: hpux

Section: 3

XSetAccessControl()													       XSetAccessControl()

Name
  XSetAccessControl - disable or enable access control.

Synopsis
  XSetAccessControl(display, mode)
	Display *display;
	int mode;

Arguments
  display   Specifies a connection to an X server; returned from XOpenDisplay().

  mode	    Specifies whether you want to enable or disable the access control.  Pass one of these constants:  EnableAccess or DisableAccess.

Description
  XSetAccessControl()  specifies  whether  the	server	should check the host access list before allowing access to clients running on remote
  hosts.  If the constant used is DisableAccess, clients from any host have access unchallenged.

  This routine can only be called from a client running on the same host as the server.

  For more information on access control lists, see Volume One, Chapter 15, Other Programming Techniques.

Errors
  BadAccess
  BadValue

See Also
  XAddHost(), XAddHosts(), XDisableAccessControl(), XEnableAccessControl(), XListHosts(), XRemoveHost(), XRemoveHosts().

Xlib - Host Access													       XSetAccessControl()
Related Man Pages
xlisthosts(3x11) - osf1
xaddhost(3x11) - redhat
xremovehosts(3x11) - redhat
xaddhosts(3x11) - osf1
xdisableaccesscontrol(3x11) - osf1
Similar Topics in the Unix Linux Community
How to list file size on HPUX?
PHP Man Pages Now Available (Over 10,000)
awk - Multi-line data to be stored in variable
Seeking Alternative for diff in hp