NTLM security in HTTP request

조회 수: 8 (최근 30일)
Andrés Aguilar
Andrés Aguilar 2024년 3월 7일
답변: Shlok 2025년 3월 3일
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.

답변 (1개)

Shlok
Shlok 2025년 3월 3일
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:

카테고리

Help CenterFile Exchange에서 Web Services에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by