I want to give users full access to certain folders in the ProgramData folder. Can this be done with Delphi code?

Recommended Answers

All 3 Replies

Probably only if your program runs under administrator rights.

What are the Delphi statements that would give full control to all users?

You need to use the ACL library. Think it would be best to read up on it on MSDN. There is a wrapper on SourceForge, but I've never used it. It may be a good start to work from.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.