Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting permissions for downloads from OneDrive #1621

Open
malee1975 opened this issue Feb 13, 2024 · 0 comments
Open

Setting permissions for downloads from OneDrive #1621

malee1975 opened this issue Feb 13, 2024 · 0 comments

Comments

@malee1975
Copy link

Is it possible when generating a share URL as part of the download operation to limit scope of access?

I am creating an access token on an application level and then requesting a download from OneDrive using NodeJS streams with .getStream(). As part of this process a share URL is generated, this URL is accessible to anonymous users for up to an hour.

I have been reading up on creating share links and setting permissions, with the idea of limiting access to the share URL to either specific users or to the organization generating the share URL.

Is this possible with the SDK?
Are there query parameters or headers that can be added to the initial download request that would limit access to the share URL?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant