Hi anonymous user-4624,
You cannot restrict to specific drive folder, but you can restrict to specific Site collections using Sites.Selected, as suggested: https://devblogs.microsoft.com/microsoft365dev/controlling-app-access-on-specific-sharepoint-site-collections/
Alternatively delegated permissions will restrict access on sites/drives user have access to that you can use.
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".