尝试打开word doc的链接时获取第二个登录提示 [英] Getting a second login prompt when attempting to open a link to a word doc

查看:99
本文介绍了尝试打开word doc的链接时获取第二个登录提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个简单的网站,列出了存储在我们服务器上的word文档。我们的网站使用SSL证书进行基本身份验证。因此,当用户第一次访问该站点时,系统会提示他们输入用户名和密码,一旦用户登录,当用户点击链接并点击打开以打开doc(.doc或.docx)这个词时,就会提示他再次登录单击取消两次,提示消失,文档打开。如何删除第二次登录请求?我已经谷歌它并发现用户使用sharepoint描述相同场景的一些问题,但我们没有使用sharepoint。

I have created a simple website, that lists word documents stored on our server. Our site is using basic authentication with SSL certificate. So when the user first goes to the site, they are prompted for a username and password, once they log in and when a user clicks on a link and clicks "open" to open the word doc (.doc or .docx) he's prompted to login again. Clicking "Cancel" two times, and the prompt goes away, and the document opens. How can i remove this second login request? I've google it and found some issues with users using sharepoint describing the same scenario, but we are not using sharepoint.

谢谢!
-Russ

Thank you! -Russ

推荐答案

最终我最终请求PDF文件而不是word文档。似乎IE和Word,使用基本身份验证将需要2个密码请求。当您请求页面时,由IIS提供一个。第二个来自Office,它试图打开word文档。除了将所请求的文档更改为pdf文件之外,无法找到解决方法,然后在没有第二次登录的情况下打开正常。

Eventually I ended up requesting PDF files instead of word documents. it seems that IE and Word, using basic authentication will require 2 password requests. One by IIS when you request the page. The second comes from Office, when it tries to open the word document. Could not find a way around this other than to change the requested documents to pdf files, then they opened up fine without the second login.

这篇关于尝试打开word doc的链接时获取第二个登录提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆