Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just understand somewhat about what's the purpose of shared memory which is for faster exchange or use of data among several programs. But having seen a lot of people trying to or talking about secure it, I dont understand how it could be dangerous & what could be done to secure it ?

I am asking this in context of configuring a server environment on a VPS.

share|improve this question
up vote 0 down vote accepted

It can be dangerous if the program creating it is written wrong and sets up the permissions so that other users can attach to it. You secure it by writing the program properly to restrict the permissions to only that user. As such this isn't an administration problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.