Re: Semaphore and Shared Memory

From: Date: Wed, 21 Jun 2000 21:54:09 +0000
Subject: Re: Semaphore and Shared Memory
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2540@lists.php.net to get a copy of this message
These functions tend to expect a daemon or other program running simultaneously with the PHP script to communicate with. Another program running with root privs on that machine may be able to snoop upon your communications and data exchanges. Basically, if you use unique keys that are hard to guess, the security issues are minor, especially if you control the machine from the keyboard and console yourself. Note that shared memory does not go away unless the last person to use it turns out the lights. And it is real memory, so it occupies space. Also, semaphores can cause you to deadlock unless your code is designed correctly. Years of real time coding mistakes in the above sentences.... bug On Wed, 21 Jun 2000, Jason wrote: > I've never used these functions before. Are there any security issues with > using them on PHP loaded as an apache module in a virtual user environment? > > Jason

« previous php.general (#2540) next »