Protecting permission editing on a text file


  1. Posts : 7
    Windows 7 Ultimate 32bit
       #1

    Protecting permission editing on a text file


    So I'm wondering is there a way to have a text file editable only by certain local users? In other words, if I were to open the file in another computer via flash drive, is there a way to prevent someone from changing both the file contents and (especially) its permissions?
      My Computer


  2. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #2

    You have to become the owner of the file (just making the makes you the owner). On non system disk (where win7 itself is on so C): All users have FULL ACCESS of the root folder. Since subfolders and files inheret permissions of parent by default... all files and folders can be read/write/delete/execute by all users.

    You want to prevent access to file(s) or a whole folder (or multiple folders)? Or whole disk?
      My Computer


  3. Posts : 7
    Windows 7 Ultimate 32bit
    Thread Starter
       #3

    Kaktussoft said:
    You want to prevent access to file(s) or a whole folder (or multiple folders)? Or whole disk?
    Just a single text file - I need other files/folders within the same directory to remain unaffected.
      My Computer


  4. Posts : 10,796
    Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
       #4

    LanguidLegend said:
    Kaktussoft said:
    You want to prevent access to file(s) or a whole folder (or multiple folders)? Or whole disk?
    Just a single text file - I need other files/folders within the same directory to remain unaffected.
    Just right click the file->security->advanced. Disable inhereted permissions form parent. Add yourself to the list (if not already listed). Give yourself full permission. delete inhereted permissions! press OK multiple times. Test if is working.

    Adminstrators can still do anyting though!! They can become owner of the file and change permissions... So they can regain access again.

    What version of win7 do you have (home premium, professional, ultimate ....)?
    For ultimate and professional you can better encrypt the file. Encryption is much better of course
    Encrypt or decrypt a folder or file
    How Do I: Get Started with the Encrypting File System in Windows 7?
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:19.
Find Us