Idea: Grant application access to single folder

I have no support/technical question and have seen the support category. (Be aware that direct support questions will be deleted.)

on

Which general topic do you have

Hi,

I was thinking of writing a dumb application[1] that would be much cooler if it supported multi-device persistent storage. However, writing my own ad-hoc service for that would be a significant chunk of work. So I thought if maybe there was a generic way to implement this?

I’ve searched, but I haven’t found a way for an application (web, mobile, desktop) to pop up a dialog where I can log in to Nextcloud but not grant access to all my Nextcloud storage.

If I could do this, my app could simply store its data in Nextcloud, it would gain multidevice capabilities, and I wouldn’t have to do much. (Ideally, there would be libraries to add this capability to apps.)

Have I missed a way of doing this? Thoughts on implementing such a feature?

It would also be awesome if this supported multiple storage backends.

(I thought about implementing some kind of mediator service based on rclone that could even adapt existing proprietary services such as Google Drive or iCloud, but that sounds more complex… although it would be useful to much more people…)

Thoughts? I wrote some longer notes here.


  1. If you’re curious, a Klondike solitaire. I have a desktop one and a mobile one, but they don’t share data. ↩︎

Update: after writing the message above I discovered you can create public shares with dedicated WebDAV credentials. The process is clunky, the documentation has issues, and it has CORS challenges, but it can be done. (I updated https://alex.corcoles.net/notes/tech/customizable-external-storage-for-applications with the details.)