How to change shared folder perms programmatically in user-level mode



I'm creating a folder and sharing it in an Installshield app run on an 2000
box which is member of a domain (user-level security). I need to change the
share permissions in code after sharing the folder to make it read only from
the network. AddShareNet (structure type 2) ignores the permissions
parameter when used in user-level security mode.


--
Thank you,
Scott

-----------------------------------------------
Scott Kellish
SoftSystem Solutions, LLC
18 Ridge Road
Clark, NJ 07066

Voice/Fax: 732.382.1873
Cell: 732.261.5856
ICQ: 161-756-325
E-Mail: skellish@xxxxxxxxxxxxxxxxxxxxxxx
Web: www.SoftSystemSolutions.com
-----------------------------------------------




....Their strength is to sit still. --Is. 30:7


.



Relevant Pages

  • Re: XP Home: selective folder sharing
    ... Adding Test made no difference for sharing the Test folder in XP Safe Mode. ... In Control Panel/Network on the 98SE machine, I found the network login set ... click the Permissions button to ...
    (microsoft.public.windowsxp.network_web)
  • disabling simple file sharing+sharing folder gives network full ac
    ... I turned off simple file sharing. ... any other machine without any credential prompts. ... has been removed, users have read-only permissions, Administrators and SYSTEM ... I get a warning prompt that the folder is shared for administrative ...
    (microsoft.public.windowsxp.network_web)
  • Re: LAN problem with new PC
    ... permissions with sharing, actual sharing permissions and also the NTFS ... Have you tried going to network places from scratch, ... You can more easily view folder permissions (On the machine ...
    (microsoft.public.win2000.networking)
  • Re: Cannot write to shared folder on W2K8 server
    ... Even with sharing the folders the different ways as described from Ace, the share exactly does what i configure based on the share/ntfs permissions. ... I got a folder on a W2K8 Standard server. ... NTFS Permissions / Domain Admins = FULL, ...
    (microsoft.public.windows.server.general)
  • Re: Sharing External USB Hard Drive
    ... I tried your suggestion to create a folder on the drive and share ... I am also sharing a flash drive and a DVD drive attached to the Vista machine without a problem. ... The sharing and permissions settings are the same for all of them. ...
    (microsoft.public.windows.vista.networking_sharing)