RE: How To Allow App Access to File but Not User

From: Marco van Nieuwenhoven (Mvnieuw_at_community.nospam)
Date: 05/27/05

  • Next message: Muhammad Aftab Alam: "Encryption using CryptEncryptMessage"
    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


  • Next message: Muhammad Aftab Alam: "Encryption using CryptEncryptMessage"

    Relevant Pages

    • Re: VB6 Auto Updating App
      ... A typical way to handle this is to create a small stub program that the user ... In the main app I do a comparison of the ... Dim Vsys As New FileSystemObject ... Unload frmMain ...
      (comp.lang.basic.visual.misc)
    • apt CDROM Method
      ... apt CDROM method /var/lib/apt/methods/CDROM has quit finding my DVDRW for some reason. ... These changes haven't effected any other app that requires or needs access to the DVD.... ...
      (Debian-User)
    • Re: Disconnect users from application ???
      ... Another approach is to write a small, stub program that looks in its ... This, of course, depends on how often they re-start the application. ... The advantage is that the users automatically adopt newer programs as ... My stub program is a command-line Delphi app with no user interface. ...
      (borland.public.delphi.non-technical)
    • How To Allow App Access to File but Not User
      ... 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. ...
      (microsoft.public.platformsdk.security)
    • Re: apt CDROM Method
      ... > These changes haven't effected any other app that requires or needs access to the DVD.... ... have you ran apt-setup? ... Angelina Carlton ...
      (Debian-User)