PDA

View Full Version : does AccessControl plug-in support x64?


zanz
19th August 2008, 23:30
Is AccessControl plug-in supported on x64? Is there any alternative to access control for x64 system? Thanks so much!

fabian.rap.more
21st August 2008, 15:55
I guess the best way to find out is to actuallt try it on a x64 system...

zanz
21st August 2008, 17:04
I tried, I can set permissions on HKU node, but I cannot set permissions on HKLM node. I'm using the same code for 32 bit systems it works fine. I just modified the SetRegView 64 before I make a call to registry.

Despite several tries in different ways, I'm unable to set permissions on HKLM on a 64 bit system :-(

Anders
21st August 2008, 18:00
SetRegView does not apply to plugins...

I think the access plugin just uses a string as the path to the object it is operating on, if that is the case, you can't operate on the 64 bit view of the registry unless there is a special registry path like HKLM\Software\WoW64 (I think this only exists for 64>32)

The only way to do this AFAIK would be to rewrite the access plugin so it would operate on a actual registry handle and not a path, this way you could pass in the 64viewOn32bit flag when you open the handle