我们有一个sharepoint 2007网站,这是在HTTPS上设置的。此网站有许多页面,其中包含从其他网站引用的外部内容,这些网站不是在https上设置的。内容是一些rss提要、图像等。现在,每当用户打开sharepoint站点时,浏览器都会提示用户是否要查看不安全的内容。我们有一个非常庞大的用户基础,我们不能去每一台机器上设置浏览器设置来显示不安全的内容或将网站添加到受信任区域。有没有什么方法可以让浏览器以编程方式显示不安全的内容?可能使用了活动的x或其他什么?请告诉我这个问题的可能解决方案是什么。
发布于 2011-02-02 21:34:39
如果您的系统位于域中并运行IE,则可以使用组策略对象执行此操作。
来自某些IE设置的GPO注册表项:http://technet.microsoft.com/en-us/library/cc775996(WS.10).aspx
发布于 2011-02-02 21:43:38
您可以使用自己的web服务器作为代理,one possible example here。我还没有测试它,只是在谷歌上第一次点击了它。我不太习惯在IIS上使用代理,但我已经在apache上使用过mod_proxy。
然后,您可以通过https: proxy将所有流量路由到外部站点,并避免客户端上的警告。
在我看来,这有两个主要的优势:
发布于 2013-07-24 21:29:21
编辑XSL代码。将"GetSafe.html“替换为这个。
<xsl:template name="GetSafeHtml">
<xsl:param name="Html"/>
<xsl:choose>
<xsl:when test="$rss_IsDesignMode = 'True'">
<xsl:call-template name="strip-tags">
<xsl:with-param name="text" select="$Html"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="strip-tags">
<xsl:with-param name="text" select="rssaggwrt:MakeSafe($Html)"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="strip-tags">
<xsl:param name="text"/>
<xsl:choose>
<xsl:when test="contains($text, '<')">
<xsl:value-of select="substring-before($text, '<')"/>
<xsl:call-template name="strip-tags">
<xsl:with-param name="text" select="substring-after($text, '>')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>https://stackoverflow.com/questions/4875030
复制相似问题