Service fails under XP Home

Hello,

To do low-level access on disk drives even from a plain user account,
my idea was to have a service running in the Local System which would
communicate with the main application through mapped files and would
do the “dirty” job for the app, even if the user has no admininstrator
rights.

This scheme worked fine under Windows 2000. It fails under Windows XP
Home edition. The error number is 229, and is not in the error codes.
Checking what happens under Win2K, i now find that what worked in the
beta version doesn’t work anymore in the distributed version.

I’m rather clueless. Does some of you have an idea about what I should
look for?

Thanks in advance.


Best Regards
Pierre Duhem
Logiciels & Services Duhem, Paris (France)
xxxxx@macdisk.com

Can you explain what you mean by “low-level access” ? If you allow a regular
user to read the entire disk it might be a security hole.


Nar Ganapathy
Windows Core OS group
This posting is provided “AS IS” with no warranties, and confers no rights.
“Pierre Duhem” wrote in message news:xxxxx@ntdev…
>
> Hello,
>
> To do low-level access on disk drives even from a plain user account,
> my idea was to have a service running in the Local System which would
> communicate with the main application through mapped files and would
> do the “dirty” job for the app, even if the user has no admininstrator
> rights.
>
> This scheme worked fine under Windows 2000. It fails under Windows XP
> Home edition. The error number is 229, and is not in the error codes.
> Checking what happens under Win2K, i now find that what worked in the
> beta version doesn’t work anymore in the distributed version.
>
> I’m rather clueless. Does some of you have an idea about what I should
> look for?
>
> Thanks in advance.
>
>
>
> –
> Best Regards
> Pierre Duhem
> Logiciels & Services Duhem, Paris (France)
> xxxxx@macdisk.com
>
>
>

Hello Nar,

NGM> Can you explain what you mean by “low-level access” ? If you allow a regular
NGM> user to read the entire disk it might be a security hole.

Of course it is. But I offer admins a way to barr access to selected
drives. My app reads/writes Macintosh media on a PC.
Therefore, I need to access the drive, even from an user account.

Anyway, I solved the problem under Win2K (plain user). As a matter of
fact, the mapping to the file took too much time and ended with
errors. I now create a thread and everything is fine.


Best Regards
Pierre Duhem
Logiciels & Services Duhem, Paris (France)
xxxxx@macdisk.com