Community
    • Login

    Lock file

    Scheduled Pinned Locked Moved Security
    7 Posts 5 Posters 209 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User
      last edited by

      Hi Don,

      Please add the option for a password lock (similar to MS Word’s feature) for the text file.
      When opening the file again anywhere, the password will be required to view the contents.

      Regards.

      donhoD 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        Hi @Fast,

        As our Feature Request FAQ explains, this is the Community of Notepad++ users. Don doesn’t track feature requests here.

        The NppCrypt plugin (you can install it via Plugins > Plugins Admin) might give you the feature you want – it will encrypt the file, and when you load it, you have to decrypt it before being able to understand/edit the file. (Since the feature exists in a plugin, Don is not likely to implement it natively, even if you were to put your request in the right place.)

        ? 1 Reply Last reply Reply Quote 2
        • ?
          A Former User @PeterJones
          last edited by

          @PeterJones Noted.
          I’ll try GitHub anyway.

          Also, I have tried the nppcrypt plugin, however it is unreliable, as anyone can open the file and erase the encrypted content.

          Regards,

          PeterJonesP Mark OlsonM CoisesC 3 Replies Last reply Reply Quote 0
          • PeterJonesP
            PeterJones @A Former User
            last edited by PeterJones

            @Fast said in Lock file:

            however it is unreliable, as anyone can open the file and erase the encrypted content.

            That’s not the same as “unreliable”. MS Word has the exact same problem for the exact same reason: anyone can delete a MS Word file and then create another empty document with the same name, even if it has a password lock, giving the same effect as “open the file and erase the encrypted content” that you complained about for N++ w/ NppCrypt, so that’s not an advantage of one solution over the other. And if Notepad++ implemented any such solution natively, it would have the same problem.

            I’ll try GitHub anyway.

            Feel free. Just don’t be surprised if it’s ignored or rejected.

            1 Reply Last reply Reply Quote 2
            • Mark OlsonM
              Mark Olson @A Former User
              last edited by Mark Olson

              @Fast
              In addition to the objections raised by @PeterJones above, password locking text files seems practically useless, unless your password lock applies whenever any program tries to open that file, at which point it’s no longer a Notepad++ extension but just a general-use program.

              Microsoft Word and Excel can get some utility out of password locking a file because many Word and Excel documents are useless unless opened by those programs, but any file that people would open in Notepad++ could be edited in any other text editor.

              1 Reply Last reply Reply Quote 1
              • CoisesC
                Coises @A Former User
                last edited by

                @Fast said in Lock file:

                anyone can open the file and erase the encrypted content.

                You have to manage that with Windows file permissions, not password protection.

                Encrypting a file doesn’t prevent it from being vandalized. It just prevents someone who doesn’t know the encryption key from reading it. Nothing Notepad++ (or any application) can do can protect the file from being overwritten by someone else who has access to your computer unless you protect it with the access control features of Windows.

                And since someone who has access to your computer could also damage or destroy it in other ways, you need a backup if your purpose is protection against loss of data.

                1 Reply Last reply Reply Quote 4
                • donhoD
                  donho @A Former User
                  last edited by

                  Here’s my reply:
                  https://github.com/notepad-plus-plus/notepad-plus-plus/issues/16638#issuecomment-2947240947

                  1 Reply Last reply Reply Quote 2
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors