RE: How To Allow App Access to File but Not User
From: Marco van Nieuwenhoven (Mvnieuw_at_community.nospam)
Date: 05/27/05
- Previous message: Rhett Gong [MSFT]: "Re: Setting Passwords via DSML with non-admin type Domain User Cre"
- In reply to: Josh Hed: "How To Allow App Access to File but Not User"
- Next in thread: lelteto: "RE: How To Allow App Access to File but Not User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 May 2005 22:29:15 -0700
Hi Josh,
When you run Windows embedded with the MinLogon option the user logged on
has the user SYSTEM. In that case it is difficult to deny access. In that
case you could implement an IFS filter (that's what an anti-virus program
does), but the toolkit is expensive and implementation has a high risk for
blue screens.
In the other case you can let the user log on and make sure that this user
does not have Administrator equivalent rights. When you want to start your
program you can make a stub program which loads your app with RunAs. The stub
program then needs to know the credentials for an account which does have
access rights to that specific file or folder.
Best regards,
Marco van Nieuwenhoven.
"Josh Hed" wrote:
> Windows XP Embedded:
>
> I have an application which needs access to a file but I do not want the
> user running the app to be able to read/modify the file.
>
> How can I do this?
>
> Thanks,
>
> Josh
- Previous message: Rhett Gong [MSFT]: "Re: Setting Passwords via DSML with non-admin type Domain User Cre"
- In reply to: Josh Hed: "How To Allow App Access to File but Not User"
- Next in thread: lelteto: "RE: How To Allow App Access to File but Not User"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|