Does Windows 2003 change the security strategy of shared memory?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi all,
First some description.
A service which use the shared memory. The service use SYSTEM user.
So we could attach the shared memory using the shmid( the same as UNIX ). Under Windows 2000, it's OK to attach the shared memory the service created.
But under Windows 2003, it's not possiable to attach the shared memory even using "administrator". But if I stoped the service and started the service using command line, then I can attach the shared memory.
So what I thought is Windows 2003 has changed the security strategy. Sure?


  Thanks a lot.

Flybean
.



Relevant Pages

  • Re: Is shmdt() necessary?
    ... When using shared memory, one process usually attaches to the shared ... memory by calling shmat, and will detach from it before it exits, by ... attach number if one process ends without calling shmdt. ... Some people find it more elegant to explicitly detach everything they ...
    (comp.os.linux.development.system)
  • Windows 2008 R2
    ... There is a restriction with Windows 2008 R2 server where only ... "Adminstrator" user can create shared memory. ... administrator previlege can only attach to the created shared memory ... Other windows versions does not have such restrictions. ...
    (microsoft.public.windows.server.setup)
  • Multiple links to shared memory segments
    ... got a few objects that each need to attach to the same shared memory ... shared memory segment to to the memory architecture. ... I'd like to stay away from creating global pointers for the obvious ...
    (comp.sys.hp.hpux)
  • Re: Multiple links to shared memory segments
    ... |got a few objects that each need to attach to the same shared memory ... I'm using the POSIX shm_openand mmap() functions. ... |shared memory segment to to the memory architecture. ...
    (comp.sys.hp.hpux)
  • Re: Non contiguous Virtual Memory
    ... > There is no need to attach or detach from the shared memory. ... > You will just slide the view over the same section. ... Windows shared memory concept so excuse me if I am asking any silly question ...
    (microsoft.public.win32.programmer.kernel)