Re: Problems with security issues

From: Nick Holmes (nickh_at_nospam.com)
Date: 05/31/04


Date: Mon, 31 May 2004 09:12:27 +0200

Are you getting "Access is denied" exceptions, or something else?

If it's access denied, then you have to grant your application identity
access rights to the folders you want to use (or, use folders you already
have access rights to).

Nick Holmes.

"Steve Sargent" <nothing@nospam.com> wrote in message
news:vd7lb0pm88t277lphjlturro7bhnei1cae@4ax.com...
> Hi:
>
> I'm writing an application that connects to a server and downloads and
> stores files in subdirectories of the application's folder.
>
> This has worked fine...up until I tested the application on an XP
> limited account. It didn't work on the limited account. One of the
> first thing my client does is to create a log file to store various
> errors and messages. If I start up the application for the first time
> in the limited account, it refuses to let me create the file.
>
> My client also stores files from the server for quick access in later
> retrievals. I would imagine this won't work either.
>
> How do I make my application able to store files while in a limited
> account? I've only been writing C# for about 6 months now, so there
> are a lot of topics I haven't yet learned about.
>
> Right now, my application stores the files in directories based on
> settings in the app.config file from within the app's directory.
> Based on the app's directory, the relative paths are appended to the
> app's current directory, and that is where all the logs and stored
> files go. Up to now, this has worked. If this isn't possible for
> limited accounts, what method should be used?
>
> I know alot of programs have personal settings based on the user. I
> don't really know how they do that; so, if this is needed, could
> someone guide me to a resource that covers programming per user.
>
> Thanks in advance for any help provided.
>
> Steve



Relevant Pages

  • Re: Problems with security issues
    ... I am writing an msi installer, so this will be used by people with ... How do you grant an application access rights. ... since the first time a limited account used the ... >> stores files in subdirectories of the application's folder. ...
    (microsoft.public.dotnet.framework)
  • Re: owner/administrater vs.limited
    ... Quite simply, the application doesn't "know" how to handle individual user profiles with differing security permissions levels, or the application is designed to make to make changes to "off-limits" sections of the Windows registry or protected Windows system folders. ... Some Programs Do Not Work If You Log On from Limited Account ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Running an application that requires administrator rights
    ... Quite simply, the application doesn't "know" how to handle individual user profiles with differing security permissions levels, or the application is designed to make to make changes to "off-limits" sections of the Windows registry or protected Windows system folders. ... Some Programs Do Not Work If You Log On from Limited Account ...
    (microsoft.public.windowsxp.general)
  • Re: games not working for limited accounts
    ... and how do you fix this problem so that both account types can play the game? ... Quite simply, the application doesn't "know" how to handle individual user profiles with differing security permissions levels, or the application is designed to make to make changes to "off-limits" sections of the Windows registry or protected Windows system folders. ... Some Programs Do Not Work If You Log On from Limited Account ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Game runs, but not for other users on computer
    ... But after switching to another user (limited account), the program will not allow to play. ... Quite simply, the application doesn't "know" how to handle individual user profiles with differing security permissions levels, or the application is designed to make to make changes to "off-limits" sections of the Windows registry or protected Windows system folders. ...
    (microsoft.public.windowsxp.basics)

Quantcast