Multiple choice technology programming languages

How can we give an pass phrase (like password) to a file ,to restrict its access ?

  1. vim +X file

  2. vim -X file

  3. vim -p file

  4. vim +p file

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The vim +X filename command enables encryption mode, prompting for a passphrase when the file is first saved. The -X option disables X11 connection, and -p opens in tab/split mode, not encryption.