本文介绍了Provider Hosted Addin将High-Trust加载项转换为Low-Trust加载项。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道,当加载项首先作为高信任度开发时,如果想要将高信任提供商托管加载项转换为低信任加载项,会有什么问题。

I am wondering what gotchas are there if one wants to convert High-Trust Provider Hosted Add-in to Low-Trust one when the add-in was developed first as a high-trust.

即使代码在High-Trust和Low-Trust加载项之间运行的方式存在其他主要技术差异,还是只是一种切换证书配置的简单方式。 

I.e are there other main technical differences in the way the code runs between High-Trust and Low-Trust add-ins or is it just a simple manner of switching the certificate configuration. 

我想知道任何开发陷阱,并不关心可能需要的网络级别更改。

I am wondering about any development gotchas, and not concerned about networking level changes that may be required.

推荐答案

根据您的描述,我的理解是您希望将High-Trust加载项转换为Low-Trust加载项。

According to your description, my understanding is that you want to convert High-Trust add-in to Low-Trust one.

高信任应用程序使用服务器与SharePoint之间的服务器到服务器协议。它是高度信任的,因为它可以在不知道用户密码的情况下断言任何用户的身份,并且SharePoint会相信它代表用户工作。

A high trust app uses the server to server protocol between your server and SharePoint. It is high trust because it can assert the identity of any user without knowing the user’s password and SharePoint will trust that it is working on behalf of the user.

低信任应用程序与使用应用程序标识的SharePoint服务器。不允许或信任假装成其他人并且它具有在应用清单中定义的权限。

A low trust app communicates with the SharePoint server using the app’s identity. It is not allowed or trusted to pretend to be someone else and it has the permissions defined in the app manifest.

因此,就我而言,将高信任转换为低信任是一种简单的方式来切换证书配置。

So, as far as I am concerned, convert high trust to low trust is a simple manner of switching the certificate configuration.

最好的问候,

Andy Wu


这篇关于Provider Hosted Addin将High-Trust加载项转换为Low-Trust加载项。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 00:30