Re: limited users can not run my application




Phil Wilson skrev:

This doesn't seem to me to be anything to do with the setup - and anyway
setups don't cause a security breach by allowing a limited user to run an
app as though they were an administrator.

Your app just needs to be coded to know what folders and registry locations
can be used by limited users. Example: a common error is to attempt to
create files in the installation folder (Program Files\.....etc) but limited
users don't have write access to this folder. That's why there are folders
in Documents & Settings for this situation. The same is true of most entries
in HKLM, which is why you should be using HKCU.


ok, thanks. I did not know that Program folder had restricted access
for limited users. I will try re-arrange folders and files in my
application to use the "documents and settings/all users/application
data/myAppDir/" path

Please see my recent post "How do I add a directory in VS2003 setup
project", cause I am having problems with creating the "documents and
settings/all users/application data/myAppDir/" folder.

I really hope you can help me out.

thanks.

.



Relevant Pages

  • Re: Administrator and User Accounts
    ... Check the location of where your program resides via properties tab of entry ... You can check / change the accessibility of folders for particular users by ... run (messages include 'need to install software' or 'folder to which the ... I thought that limited users would have access to all installed ...
    (microsoft.public.windowsxp.general)
  • "Access Denied" on Home Network
    ... I have 4 users on the XP machine (my Kids). ... I have set them as Limited users. ... The folders show up under Network Neighborhood, but I am unable to open. ... Is this by design or should be able to access the shared files? ...
    (microsoft.public.windowsxp.security_admin)
  • Re: More before-the-fact advice for 2K and XP?
    ... Windows users do run as limited users, ... done relative to new folders and/or ACLing of existing folders ... While I agree that Windows could more effectively facilitate ... with by adjustment of ACLs. ...
    (microsoft.public.security)
  • Re: Write access denied when limited privilege.
    ... admin later - this is also why limited users are unable to create files at ... Your app should not be attempting to write to HKLM, %WinDir%, or Program ... > Our InstallShield Expresssuccesfully installs our app for ... > priviledge and NOT with limited priviledge. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Using custom action to change users group right
    ... Limited users can't write files to the Program Files folder. ... the app is wrong because it's got conflicting requirements. ... The application is deployed by an administrator through windows installer ... How can we create a custom action in a setup project to give the ...
    (microsoft.public.vsnet.setup)

Loading