Support PIN / Face ID authentication in the iOS Files app integration

Aperta
#4,449 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ios, swift
Ambito
mobile

Direzione di ricerca

Start by locating the iOS File Provider extension and the app PIN and biometric authentication flows; the issue does not name specific files or tests. Determine how extension access is currently blocked when the app PIN is enabled, then assess how authentication and inactivity locking could work within the extension. Done means the Files app requests PIN or Face ID/Touch ID, keeps files inaccessible until authentication succeeds, and locks again after the configured timeout.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

I would like to use my Nextcloud account through Apple's Files app on iOS and iPadOS while keeping the Nextcloud app protected by its app PIN.

Currently, when the app PIN is enabled and configured to be requested every time the Nextcloud app is launched, access through the Files app is completely blocked.
I understand that this restriction is intended to prevent unauthorized access to Nextcloud files through the iOS File Provider extension. However, I would prefer an authentication prompt rather than having access completely disabled.

Proposed solution:
Please implement an authentication mechanism for the Nextcloud File Provider extension that allows users to authenticate directly when accessing Nextcloud through Apple's Files app.

Ideally, this feature should support:

  • PIN authentication: Request the Nextcloud app PIN when accessing Nextcloud through the Files app.
  • Face ID / Touch ID: Allow biometric authentication as an alternative to entering the PIN.
  • Automatic locking: Allow users to configure an inactivity timeout after which authentication is required again.
  • Secure access: Files must remain inaccessible until the user has successfully authenticated.

Expected behavior:

  1. Open Apple's Files app.
  2. Navigate to the Nextcloud location.
  3. Nextcloud requests authentication via PIN or Face ID.
  4. After successful authentication, files and folders become accessible.
  5. After the configured timeout, access is locked again and authentication is required.

Why this matters:
I want to maintain the security provided by Nextcloud's app PIN without sacrificing the convenience of accessing my files through Apple's Files app.

Completely disabling the Files app integration is not an ideal solution. An authentication prompt would provide both security and usability.
Thank you for considering this feature request!

Lingua principale
Swift
Stelle
2.5k
Fork
1k
Merge medio
2g 1h
PR unite (30g)
21

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/ios

Tutte le issue di nextcloud/ios

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.