Limiting Astiga's access to one folder
Many people keep their music in one folder of a cloud drive, next to documents, photos and other private files. A common question is: can Astiga be given access to just the music folder, and nothing else?
Why Astiga asks for access to your whole drive
When you connect Google Drive, OneDrive, Dropbox or pCloud, the provider decides what kinds of access an app like Astiga can ask for. These providers don’t let apps ask for access to a single folder you choose. The access covers your whole drive.
On the other hand, using a provider that you configure the credentials for yourself (like WebDAV, SFTP or a NAS) can let you limit access to a single folder. See storage you control.
The access Astiga asks for is read-only. Astiga can’t change, add or delete anything in your drive.
The folder you choose when you synchronise your library controls which folder Astiga scans for music. It doesn’t change the permission you gave the provider; in principle Astiga could read any file in your drive, not just the music folder.
For more on what Astiga reads and keeps, see how much data can Astiga read in my storage?
Workaround: a separate account for your music
If you’d rather Astiga couldn’t read the rest of your files and you want to continue using Google Drive or OneDrive, keep your music behind a second account:
- Create a new, separate Google or Microsoft account. This account should hold nothing but music.
- In your main account, share your music folder with the new account. Read-only (“viewer”) sharing is enough.
- Sign in to the new account and add a shortcut to the shared folder:
- Google Drive: add a shortcut to the folder in My Drive
- OneDrive: choose Add shortcut to My files
- Connect the new account to Astiga. When your provider asks you to sign in, use the new account, not your main one.
The shared folder then appears in Astiga like any other folder. You can browse it, play from it and sync it.
Astiga now has access to the new account, and your main account’s other files stay out of reach. Your music still lives in one place, so anything you add to the shared folder shows up in Astiga after your next sync.
The shortcut matters. A folder that has only been shared with the new account, without a shortcut, won’t appear in Astiga.
Storage you control
Some storage lets you create a login that can only see certain folders. For example, on a NAS you can create a dedicated user for Astiga and give it access to your music folder only. For an example, see connecting to a Synology NAS with WebDAV.