NTLM security in HTTP request

17 visualizaciones (últimos 30 días)
Andrés Aguilar
Andrés Aguilar el 7 de Mzo. de 2024
Respondida: Shlok el 3 de Mzo. de 2025 a las 10:58
Hi everyone:
I'll provide some context first:
At work we had some API calls to SharePoint 2010 that read and wrote stuff items to a sharepoint list.
This was achieved suing webread and webwrite.
But our company is moving our lists to SharePoint 2019.
I was able to adapt all the GET calls to work with the new api (before it used _vti_bin), but when I started adapting the POST calls, I started getting the 403 FORBIDDEN status.
The IT department informed me that I should use a "Transport" security mode, and later on they said that the correct option should be "NTLM".
I looked at these resources:
But I keep getting 403.
Now the actual question(s) is(are):
What approach is recommended to acheive this? Does webwrite support NTLM? If so how is this case configured?
Thank you very much for your time!
Andrés.

Respuestas (1)

Shlok
Shlok el 3 de Mzo. de 2025 a las 10:58
Hi Andrés,
I understand that you want to adapt your API calls to work with SharePoint 2019 and are encountering issues with NTLM authentication.
Previously, “webwrite” did not support NTLM authentication before MATLAB R2018a. However, it is now supported in the newer versions. Using NTLM authentication with webwrite should work in the above-mentioned use case. You might be encountering a 403 Forbidden error due to insufficient permissions, a locked site, or browser cache issues. Checking your permissions, unlocking the site, and clearing the cache might help resolve the issue.
To know more about webwrite, refer to the following MathWorks documentation link:

Categorías

Más información sobre Call Web Services from MATLAB Using HTTP en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by