Setting permissions for downloads from OneDrive

Abierto
#1,621 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
18/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
node.js, typescript

Línea de trabajo

Start with the linked Actions.md getStream entry and the Microsoft Graph create-link and list-permissions documentation. Trace how the download request generates its share URL, then determine whether request parameters or headers can constrain access and document the supported outcome.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
TypeScript
Estrellas
833
Forks
240
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoftgraph/msgraph-sdk-javascript

Todos los issues de microsoftgraph/msgraph-sdk-javascript

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.