Even if you have the website open for anonymous access and anonymous users can access your documents in a document library, opening an office document will always require entering username and password. You can open the document, if you cancel the request for username and password three times. Still this can be annoying.
Untill now I was avoiding this by publishing PDF documents and making links to them. But you can change this. Let's say we're in a subsite /sub1 and have a Word document called mydocument.doc in a document library called Docs.
Linking to /sub1/Docs/mydocument.doc will request username and password from anyone opening the document. To avoid this, correct the hyperlink in your refference to:
/_layouts/download.aspx?SourceUrl=/sub1/Docs/mydocument.doc
is going to result in a simple download.
Now I can publish also Office documents for public.
UPDATE: Seems I was making the mistake of testing this authenticated. The _layouts/download.aspx requires authentication, so we're still stuck with the same problem. But it doesn't ask for username when opening word :)
4 comments:
Thanks!
I had a client who was annoyed at this behaviour, and I ended up getting rid of it by changing the authentication method in central admin... that was a while ago so I'd have to look at what I changed it to, but I think I changed it from Kerberos to straight NTLM.
Thanks for such a useful info
http://designwebsite.wordpress.com
Can u give me another working example? I tried this out but could not find it..
Post a Comment