Password Protection

by Qing Li
5
4
3
2
1
Score: 57/100

Description

Category: Privacy & Security

The Password Protection plugin provides a way to safeguard sensitive notes in Obsidian by restricting access with a password. It allows users to lock either the entire vault or specific subfolders, prompting for a password when accessing protected notes. Once authenticated, users can access other protected notes without re-entering the password until they choose to lock the vault again. Additional features include an auto-lock function that re-enables password protection after a set period and an option to prevent closing the password prompt without correct entry. The plugin does not encrypt or modify files, ensuring notes remain unchanged while adding a layer of on-screen privacy.

Reviews

No reviews yet.

Stats

66
stars
54,748
downloads
12
forks
806
days
131
days
131
days
7
total PRs
2
open PRs
2
closed PRs
3
merged PRs
39
total issues
11
open issues
28
closed issues
9
commits

Latest Version

4 months ago

Changelog

README file from

Github

English | 中文

Obsidian Downloads


Obsidian Password Protection Plugin

Purpose

I developed this plugin for the Obsidian to prevent my girlfriend from peeking at my private notes/diaries in Obsidian.

What does this plugin do?

No encrypt, no decrypt. This plugin doesn't modify your notes, it only lock the Obsidian and ask password to unlock.

Settings

  • "Enable/Disable password protection": you may set your password or use your password to enable/disable lock protection.
  • "Auto-lock": Specify a number of minutes for auto-locking obsidian since the last right password is typed.
  • "Password prompt": Please type a question to help you remember your password.
  • "Protected folder or file": You may type a path for protecting, if you use the '/', the entire vault will be protected.
  • "More folders or files": Add more paths to be protected, e.g. 'mynotes/diarys', up to 6.

Changelog

  • version 1.1.27 (1/1/2025)
  1. Support adding more protected path.

  2. Support type filepath protected.

  • version 1.1.12 (8/16/2023)
  1. Add the interval setting of Auto-lock password protection. If you set a value greater than 0, when time elapse certain minutes from last unlocked protection or last opened a protected file,the password verify box will pop up again as soon as you open a new protected file.

The systems have been tested:

I have tested the plugin on Windows and iOS (iPhone, iPad) with Obsidian 2023.5.

Installation, Configuration, and Usage

If you can't install the plugin from the community plugin market, you can try this:

  1. Download the latest release: password-protection-1.x.x.zip, this package in cross-platform have been tested in Windows and iOS; Download.

  2. Open the folder for community plugins of Obsidian, usually locate in .obsidian/plugins of the your vault folder.

  3. Unzip the release zip, a new folder appear named "password-protection", two files in the folder: main.js, manifest.json.

  4. Relaunch Obsidian, click "Settings", choice "Community Plugins", you can see the "Password Protection" in installed plugins list, enable the plugin.

  5. See the left-down part of the Settings, the “Password Protection” will appear, click it, the setting page of the plugin is opened, type the path you want to protect, default path is root path.

  6. Enable the button of password protection, a Password Input Modal will popup, enter your password, click "OK".

  7. The password protection plugin start working, when you open a note in the protected path you set, a Password Verify Modal will popup, enter the right password, you just open the note.

Contributing

Contributions to the password-protection plugin are welcome!

  1. If you find any bugs or have any suggestions, please open an issue or submit a pull request.

  2. If you want to display your own native language in the plugin, please refer to the ./langs/en.json file in the source code, create a new language file, and then open an issue attached the file or submit a pull request.

License

This project is licensed under the MIT License.


中文版说明

目的

我开发这个插件的目的是,防止我的女朋友偷看 Obsidian 中我的私人笔记或日记。

这个插件做了什么?

这个插件不会加密和解密你的笔记,也不会修改你的笔记,它只会用弹出密码验证框的形式锁定Obsidian。

设置

  • "开启或关闭密码保护": 这是一个开关,可以打开或关闭密码保护,会弹出密码输入框让你设置或验证密码.
  • "自动开启密码保护的间隔时间": 一段时间后自动打开密码保护。时间从上次关闭密码保护或上次打开一个受保护的文件开始计算,0 代表不自动开启密码保护, 单位:分钟.
  • "密码提示问题": 如果设置了这一项,当你忘记密码时,可以帮助你回忆起你的密码.
  • "需要保护的文件夹或文件": 输入一个要保护的路径,可以是文件或文件夹,如果用默认值 '/',代表保护整个笔记库,打开被保护的文件需要输入一次密码.
  • "更多需要保护的文件夹或文件": 添加更多需要保护的路径, 例如:“我的笔记/日记”, 最多可以添加6条.

新功能

  • 版本: 1.1.12 (2023.8.16)
  1. 增加自动打开密码保护的间隔时间设置,单位:分钟。如果设置的时间大于0,当距离上次关闭密码保护或上次打开一个被保护的文件,过去了设置的时间,插件将自动再次打开密码保护,如果用户再次打开一个受保护的文件,将弹出密码验证框验证密码。

已测试的系统

这个插件已经在 Windows 和 iOS (iPhone、iPad) 系统上通过测试,使用2023年5月下载的 Obsidian。

安装、配置和使用

如果你不能从社区插件市场安装这个插件,你可以用下面的方法:

  1. 下载这个插件的最新 Release 版本: password-protection-1.x.x.zip,这个包可以跨平台使用,已经在 Windows 和 iOS 上完成测试; GitHub
    Gitee

  2. 找到你的 Obsidian 配置文件夹的插件文件夹:plugins,一般在你的笔记库所在的目录:.obsidian/plugins;

  3. 在插件文件夹中,解压这个插件 zip 包,得到一个目录:.obsidian/plugins/password-protection,里面有两个文件: main.js 和 manifest.json;

  4. 重新启动 Obsidian,在 Settings 中选择“第三方插件”,在右侧下方的“已安装插件”中,可以看到 Password Protection,点击右侧的启用按钮;

  5. 在 Settings 中左侧下方“第三方插件”列表中,可以看到“Password Protection”,点击后右侧打开插件设置页面,设置一个要保护的路径,默认是根路径(/);

  6. 点击插件的启用按钮,弹出密码设置框,输入两遍密码,插件启用成功;

  7. 当你打开一个位于保护路径下的笔记,将弹出密码验证弹窗,只有输入正确的密码,你才能继续打开笔记。

贡献和帮助

欢迎你对这个插件做出贡献!

  1. 如果你发现任何 Bug 或者有任何建议,请创建一个 issue 在 GitHub,或者 fork 代码仓库修改后提交一个 pull request,或者发送邮件给我:[email protected].

许可证

本插件使用 MIT 许可证: MIT License


Obsidian Downloads


Buy me a coffee?

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Meld Encrypt
5 years ago by meld-cp
Hide secrets in your Obsidian.md vault
Harper
2 years ago by Elijah Potter
Remotely Secure
3 years ago by sboesen
fork of remotely-save with security upgrades
Ledger
5 years ago by Tony Grosinger
Plain text accounting in Obsidian.md
Cryptsidian
5 years ago by triumphantomato
Encrypt all files in your Obsidian.md Vault with a password.
Global Proxy
2 years ago by windingblack
🚀 Obsidian Global Proxy is an Obsidian plugin that makes it easy to configure web proxies and use proxies throughout Obsidian.
Lock Screen
4 years ago by Eric Biewener
Differential ZIP Backup
2 years ago by vorotamoroz
Protected Note
2 years ago by Mikail Gadzhikhanov
Plugin for Obsidian
gpgCrypt
3 years ago by Tjado Mäcke
Seamlessly encrypts your notes using GPG. Supports smartcards for enhanced security! 🔒📝📎
Garble Text
5 years ago by kurakart
Obsidian plugin for exposing Obsidian's garbleText() function
Android nomedia
3 years ago by JakeisAwesome
When syncing Obsidian with Android you will see a lot of media associated with your vaults. This will add the .nomedia file to ever folder in your Vault.
Better Canvas Lock
2 years ago by Mara-Li
An Obsidian plugin that improve the read-only mode of Canvas.
Global Markdown Encryption
3 years ago by shlemiel
a plugin for encrypting obsidian markdowns in-memory, single password based.
HackerOne
3 years ago by neolex
A plugin to get our hackerone reports data into obsidian
Password Protect
2 years ago by Aspharmyx
GPG Encrypt
2 years ago by Luis Jaramillo
Obsidian Plugin GPG Inline Encrypt
Evernote Decryptor
2 years ago by rcmdnk
Obsidian Plugin for encrypted data imported from Evernote
Nova
3 months ago by Shawn Duggan
Nova - AI plugin for Obsidian that edits your documents directly through natural conversation. Stop copying from chat, start collaborating with AI.
Crypt It
2 years ago by fyears
Obsidian plugin allowing users to right click on a file to generate an encryption version of the file using a password.
Blur Mode
a year ago by dangehub
Blur Mode - Blur elements on the obsidian interface for presentations or screenshots|模糊模式 - 对obsidian界面上的元素进行模糊处理以便演示或截图
Age Encrypt
a year ago by Metin Ur
A plugin for Obsidian that provides age-based encryption for your notes.
Peekaboo
2 years ago by Wang Guoshi
An Obsidian plugin protects your privacy by setting a password to hide notes.
Private Mode
a year ago by markusmo3
NSFW filter
2 years ago by catvatar
Obsidian Plugin adding a button to toggle visiblity of NSFW notes
Vault Encrypt
5 months ago by Pluppen
Obsidian Plugin that encrypts/decrypts the entire vault.
Password Audit
a year ago by Sai Prashanth Pulisetti
Password Audit Plugin
Simple Disguise
a year ago by slow-groovin
Obsidian plugin: disguise/obscure/hide the content in a very simple way
Simple Steam Auth
3 months ago by dreamscached
🔑 Generate Steam Guard codes right in your Obsidian vault.