Re: maybea silly question



"mayayana" <mayaXXyana@xxxxxxxxx> wrote in message
news:evZrmrpTJHA.4916@xxxxxxxxxxxxxxxxxxxxxxx
This time the explanation is quite clear.
Thanks from me.

Just one clarification: In cases where one
wants to save global settings for all users,
App Data won't work. The options seem to
be only the all users documents folder or a
custom folder with permissions specifically set.

Per user AppData is writable by the same user and there is no need to change
the permissions, but All Users AppData(CSIDL_COMMON_APPDATA) can be written
to by all users after setting the permission on your subfolder(See Q240176
if using PDW).

By default, CSIDL_COMMON_APPDATA is not fully read/write by all users, so
you must set the permission at install time. Here is a test I did to see
what can be done with the default permissions in XP Pro+SP2(This can change
in future versions of Windows):

Permissions tests on XP+SP2 for C:\Documents and Settings\All
Users\Application Data:
---------------------------------------------------------------------------

Default Windows:

- Power Users can modify files, and delete files and folders created by
Admins and Users.
- Member of the limited "Users" groups can create, modify, delete their own
files and folders only. They cannot overwrite files created by Admins, or
Power Users. They cannot delete or modify any files or folders created by
Admins, Power Users, or other members of the "Users" group.

After using Inno Setup to change the permissions on the subfolder with
"users-full" or "users-modify" flags:

- Full modify, delete, including folders.


Finally, all users documents(CSIDL_COMMON_DOCUMENTS) or Public folder in
Vista can be read and written to by all users, but it's usually for files
created by the user, such as DOC, BMP files, etc., not INI files, although
you can save INI files there, but some users may find it strange and may
give them a reason to stop using your program...



.



Relevant Pages

  • Re: Folder Rights
    ... >Then go into the advance permissions and select add, ... >> so that users can create, modify, save files but can't ... The advanced security option ... This disables the creation of folders, ...
    (microsoft.public.win2000.security)
  • Re: no redirection
    ... what are the permissions on the shared folders? ... > 2003 server) so mydoc,app data,desktop are redirected to ... > but still the app data fails to sync. ...
    (microsoft.public.win2000.group_policy)
  • Authenticated users permissions
    ... Authenticated Users (Modify) access. ... folders / files from this folder to child folders. ... Inherited permissions for Authenticated Users, ...
    (microsoft.public.security)
  • Re: Shared folder permissions
    ... create new files and folders, read, modify the contents of the documents, ... click Modify to allow them more access than the default of Read & Execute, ... Select the one with Modify permissions ... > need to go into Site Settings and create a new Site Group with only the ...
    (microsoft.public.windows.server.sbs)
  • Re: Shared folder security tab...Windows 2003 server
    ... add and modify files, one can only execute and add ... While this worked for local folders ... network are still showing the security tab. ... You actually need to restrict the permissions granted because 0 ...
    (microsoft.public.windowsxp.security_admin)

Loading