Access a document in a document library using username and password in query string?
Is there a way to provide a username and password through link to document to access a docume开发者_如何学编程nt in a document library in MOSS 2007?
I mean: http://server/DocumentLibrary1/document.xml?username=admin&password=P@ssw0rd
I have not come across anything in SharePoint that would allow you to do something like that. And since that is a document and not a server side page, you would need to create a custom HTTP handler to do something like that.
However, doing something insecure like that is not recommend. For instance, see Is a https query string secure?
精彩评论