Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.


Welcome, Guest
Guest Settings
Help

Thread: Check/Set File Security Flag(s) By Group e.g. "Users"


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Nov 12, 2017 8:12 AM Last Post By: Mark Marks Threads: [ Previous | Next ]
Darrel Christen...

Posts: 24
Registered: 12/19/07
Check/Set File Security Flag(s) By Group e.g. "Users"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 12, 2017 7:41 AM
Using Dlephi 10.1, this is for the Windows side of a multi-platform app.

So if you right-click a file and select Properties, then click the Secutity tab you see a list of groups, an Edit... button and a list of Permissions which have a check under Allow or Deny - I need to touch these flags in code.

Specifically in a string I have a fully qualified path to a file, for group "Users" I need to check whether Permission "Modify" is set to Allow or Deny and if need be set it to Allow.

Thanks in advance for any help.

drc :)

Mark Marks

Posts: 251
Registered: 9/11/00
Re: Check/Set File Security Flag(s) By Group e.g. "Users"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Nov 12, 2017 8:12 AM   in response to: Darrel Christen... in response to: Darrel Christen...
Darrel Christenson wrote:

I need to touch these flags in code...

MadExcept has a few add-ons that might help.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02