Is it possible to use Powershell to set access permissions for a specific file type within an existing shared folder on a server (server 2008 R2)?
I have a situation where a folder, filled with lots of different file types, is being shared and I’m being asked if I can limit access on just the .ini files within that folder, without changing it for all files in that directory. Problem is, there’s more than 60 .ini files there, so I’d have to change the permissions on each file, individually, and additional .ini files may be created in the future.
I’m wondering if there’s an Access Control List that could be created, or something, using Powershell to accomplish this goal?
Thanks very much for all help, in advance.