Is it possible to password lock the application upon opening

There is some validity to what @mo1ddfsa says. Even without any additional encryption, it might be useful for the app to pop up a password prompt and simply exit if you don’t enter it correctly. It would cover plenty of cases, I think - like at work or at home, when someone might be nosy while you’re not paying attention, but won’t have the time, will or knowledge to do anything more difficult.

That being said, I don’t see it as critically necessary - at work I’d solved this by running Joplin Portable off of an encrypted thumb drive.

Maybe you could try something like that as well, @mo1ddfsa? Create a local encrypted container with Joplin Portable inside, unlock it with a password and run Joplin.

2 Likes

I can understand there would be a use for this, but as there are other ways to do it it’s relatively low priority in my list. I wouldn’t be opposed to a pull request for it though.

Yes if you want more security, the best way is indeed to use something like Truecrypt (that’s what I use for my notes or emails for instance). It would also prevent access to your data if your laptop is stolen for example.

If what you’re interested in is simply to hide the application from other users of your computer, and you’re not worry they’ll dig in the folders to find your data, there are various tricks you can use - https://www.online-tech-tips.com/computer-tips/hide-windows-desktop-screen/

1 Like

Are there any such tips for hiding the application an ipad?

I would like a better option for making my notes less convenient to read. Currently uninstalling Joplin when I loan my device to others and re-installing Joplin and re-entering all the server specifics afterwards is the workaround - this is not pleasant.

An Application key would be a way to make this kind of shared use pleasant, until IOS (or whichever poorly designed operating system you happen to be running on) offers proper support for a multi-user situation.

The protection is against casual Joplin browsing by a potentially curious, but otherwise trusted associate, not high-security protection against a malicious actor that has full access to the device (not expecting keyloggers and the like here, as you mention in the FAQ).

Furthermore, you may be interested to know that the Nextcloud app does offer an application pin that can be activated. perhaps there is a discussion about their motivation for that feature somewhere that would be worth reviewing.

2 Likes

I don’t know about ipads, but some Androids (and Windows Phones, way back when) have a “second space” feature - you could basically set up a second profile and specify which apps it can access. (Then you could activate it and hand it to your trusted associate.)

Alternatively, Android also has an “App lock” - you can specify that certain apps that will require a password to run (different from the one that unlocks the device), very useful.

Maybe iOS has something similar?

1 Like

Lineage OS (Android) handles a guest user nicely, I believe IOS does not provide this functionality

Sadly iOS doesn’t provide a mechanism for you to choose what apps are locked. The app developer has to do it.

Personally I’d love to have the option to have Joplin locked on my iPad / iPhone. While I’m happy to let my kids / others use my iPad sometimes there are things I don’t want them to read. A passcode lock would prevent that.

I’d be happy to add it myself to the iOS app ~but I don’t see the source on Github, just the main Joplin software — I found the code in the ReactNativeClient.

1 Like

Initially I thought Joplin ticked all the boxes, but not having a passcode to open the app is a serious deficiency. The assumption that access to the device with the app is secure at all times is questionable. All of us have given a phone to someone to make call, play a game, look something up online, send some text messages etc. and have not intended for confidential information to be viewable by simply opening an app.

I’ve used TiddlyFolio (http://tiddlyfolio.tiddlyspot.com/) for a number of years but never had a version on my phone (the wiki file was synced with – backed up to – WebDAV storage and readable online via the web, given a password and access to the storage). It’s based on what is now an old version of TiddlyWiki, so I thought I’d look for alternatives. TiddlyFolio optionally encrypts individual notes with a global password requested when the app is opened. If the wiki file is copied the encrypted note contents are unreadable.

I’d like to endorse the request to add an optional passcode to open the app.

3 Likes

I would like to have this feature too. I used a app on my android phone for locking joplin. But this was really worse. To much spam in the system.

1 Like

As a workaround, there are a number of applock apps on the play store. This might not be exactly what you need but it might be useful until such a time they this feature is implemented in Joplin.

1 Like

It turns out that TiddlyWiki now includes an encryption module as part of the core functionality. This means that an entire wiki full of notes can be encrypted and decrypted with a single password. The current version is v5.1.7, dating from May 2018. The next release, v5.1.8, due quite soon, will include the ability to use https, which means that a password can be used securely to open and save a file remotely.

I set up Joplin for my wife but abandoned it after a couple of days in favour of TiddlyWiki v5 because of the better security. I’ll futz with Joplin a bit longer as it seems quite good apart from this weakness, which I hope will be temporary.

Glad you found a solution that suits you needs. Stick around with Joplin though, I see great things happening

I also would like this feature. I see there is a feature request for this:

1 Like

I sort of faked this on macOS.

I created an encrypted RW sparse bundle disk image and moved the contents of ~/.config/joplin-desktop into it. I also moved the actual Joplin.app there, then created an Applescript app that mounts the disk image at the path where Joplin expects it to be. It’s encrypted so it requires a password, then launches the app from the mounted image; If you don’t get the password right, all the data is secure inside the sparse bundle disk image.

Applescript code:

do shell script "hdiutil attach -nobrowse ~/.config/moJoplinRW.sparsebundle -mountpoint ~/.config/joplin-desktop"

do shell script "open ~/.config/joplin-desktop/Joplin.app"

I realize there is still some residual Joplin related data elsewhere on the Mac, but I don’t believe it includes any sensitive data. (correct me if I’m wrong please!) I couldn’t seem to get WebDAV syncing working so I finally ended up making a Dropbox account just for this use. I enabled E2EE andI figured if its encrypted client side before uploading, it is secure from Dropbox employees snooping with their master key.

I agree it would be nice to add a passcode or fingerprint activation for iOS or Android, but I hope this helps other Mac users.

I would like to request this be moved to a higher priority than it is now. Github has an issue for this that has been locked https://github.com/laurent22/joplin/issues/289

I use Joplin religiously to get my day-to-day tasks and notes in one central location and is essential to my daily workflow and do have my personal notes and private work related notes that I do not want anyone looking, i.e my boss who can remote into my machine and view my computer at anytime, or my colleagues when I leave my desk.

A simple pin or password would be ideal to password protect personal notebooks. I am by no means a developer and love Joplin. I would request that this be moved above any new features being developed for Joplin.

1 Like

Hello, and welcome to the forum!

As has been said many time s here already, no, simply adding a pin would not help; in fact, it might hurt you. It’s been explained here a few times, but I’ll try again.

The fact of the matter is, if your boss can access your computer remotely anytime, it will take him all of 15 minutes to google where Joplin stores data and read them directly from disk.

In a non-developer’s terminology, look, I googled that the default location ofr Joplin’s data in the folder <username>\.config\joplin-desktop\database.sqlite.
After that, it takes all of 5 minutes (or less, if you have the free viewer already installed) to open the database directly.

Like this.

See that notes thing there? Double-click that, and you can view all the notes, you don’t even need to have Joplin installed. One could just copy this one file and steal all your data in seconds, pin or no pin.
Adding a pin to the app would not fix that in any way, it would only give you a false sense of security at best, and then give you a reason to come here and complain once you found out someone just took your data despite the pin. So it is not a ‘simple pin’, if it’s supposed to actually work.

If you really insist on having your private data on your work computer, there are some ways to make it work. (I use Joplin like that myself.)
You would have found them, had you searched this forum. You could use the portable app from a USB stick or an encrypted container (in Cryptomator or VeraCrypt or something), for example.

2 Likes

I also like to have this feature and I’am more than happy just to have one simple login dialog box. don’t even need to syn across device.

All I need is asking for password upon opening the app. [ password: ________ ]. that’s all.

Pls pls laurent
Thanks for Joplin

we don’t meant to protect from hacker. just from prying co-worker.

@laurent I don't understand why you insist that you don't give priority to adding this function, even though some users urged to add this function two years ago!
"DB data encryption" is completely different from "Lock a note with password",encryption is more for hackers, locking is more for "users".
Even if other ways can achieve the "Lock a note with password", it is far less convenient than Joplin has this function, especially in the case of multi terminal use!
After I understand Joplin, I really want to use it, because it does a lot of functions well,but I want to the function of the "Lock",like what other users said two years ago in github
Obviously, you've been reluctant to add this feature to Joplin, I'm so disappointed for that~

2 Likes

But then again, it's much more important that you lock your screen as soon as you step away from your computer.

1 Like