qing396255k downloadsLock and protect your private notes and diary with a password, no encrypt, no decrypt.
English | 中文
I developed this plugin for the Obsidian to prevent my girlfriend from peeking at my private notes/diaries in Obsidian.
No encrypt, no decrypt. This plugin doesn't modify your notes, it only lock the Obsidian and ask password to unlock.
Support adding more protected path.
Support type filepath protected.
I have tested the plugin on Windows and iOS (iPhone, iPad) with Obsidian 2023.5.
If you can't install the plugin from the community plugin market, you can try this:
Download the latest release: password-protection-1.x.x.zip, this package in cross-platform have been tested in Windows and iOS; Download.
Open the folder for community plugins of Obsidian, usually locate in .obsidian/plugins of the your vault folder.
Unzip the release zip, a new folder appear named "password-protection", two files in the folder: main.js, manifest.json.
Relaunch Obsidian, click "Settings", choice "Community Plugins", you can see the "Password Protection" in installed plugins list, enable the plugin.
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.
Enable the button of password protection, a Password Input Modal will popup, enter your password, click "OK".
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.
Contributions to the password-protection plugin are welcome!
If you find any bugs or have any suggestions, please open an issue or submit a pull request.
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.
This project is licensed under the MIT License.
我开发这个插件的目的是,防止我的女朋友偷看 Obsidian 中我的私人笔记或日记。
这个插件不会加密和解密你的笔记,也不会修改你的笔记,它只会用弹出密码验证框的形式锁定Obsidian。
这个插件已经在 Windows 和 iOS (iPhone、iPad) 系统上通过测试,使用2023年5月下载的 Obsidian。
如果你不能从社区插件市场安装这个插件,你可以用下面的方法:
下载这个插件的最新 Release 版本: password-protection-1.x.x.zip,这个包可以跨平台使用,已经在 Windows 和 iOS 上完成测试; GitHub
Gitee
找到你的 Obsidian 配置文件夹的插件文件夹:plugins,一般在你的笔记库所在的目录:.obsidian/plugins;
在插件文件夹中,解压这个插件 zip 包,得到一个目录:.obsidian/plugins/password-protection,里面有两个文件: main.js 和 manifest.json;
重新启动 Obsidian,在 Settings 中选择“第三方插件”,在右侧下方的“已安装插件”中,可以看到 Password Protection,点击右侧的启用按钮;
在 Settings 中左侧下方“第三方插件”列表中,可以看到“Password Protection”,点击后右侧打开插件设置页面,设置一个要保护的路径,默认是根路径(/);
点击插件的启用按钮,弹出密码设置框,输入两遍密码,插件启用成功;
当你打开一个位于保护路径下的笔记,将弹出密码验证弹窗,只有输入正确的密码,你才能继续打开笔记。
欢迎你对这个插件做出贡献!
本插件使用 MIT 许可证: MIT License