How can I restrict file editing to certain programs with admin rights?

0
0
Asked By CuriousCat99 On

I'm looking for a way to make a specific file on my Windows 10 Pro machine require administrative permissions to edit, while still allowing regular users to read it. My goal is to prevent programs run as administrators from modifying this file, particularly because I'm using Left 4 Dead 2 and its mod handling is getting messy with too many mods. I've tried tweaking permissions and ownership before by following online tutorials, but it's been a challenge. Sometimes my settings leave me with a file that no one can even touch, not to mention almost locking myself out completely. I want just the right balance – normal users can read it, but only certain admin-level processes should be able to write to it. Any advice would be greatly appreciated!

1 Answer

Answered By TechWhiz88 On

It sounds like you're trying to implement pretty strict file permissions! To do this, you'll want to use the built-in file permissions feature in Windows. You can access this by right-clicking on your target file, selecting 'Properties', and then navigating to the 'Security' tab. From there, you can edit the permissions for different user groups. Make sure to set it so that the 'Users' group only has read permissions and the 'Administrators' group has full control. Just be careful when changing these settings, as it can get tricky!

GameGuru12 -

Yeah, be cautious with ownership settings too. If you change the owner to something like SYSTEM, it might even prevent all users from editing it, including admins. Just keep backups of your important files before tweaking!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.