P
Paul G
Hi There,
I am using authorization on an Apache webserver. I was initially having a
problem allowing authorized users to download any MS Office docs, but I seem
to have overcome that by including the username and password in the URL. I
am not trying to allow multiple users to share a file, I just want them to
be able to download with a simple left click from the web browser.
this works:
i.e.
href="myusername:[email protected]/mydoc.doc"
I don't really like doing this - because I have to print the password, but
it did keep Word happy.
BUT...
href="myusername:[email protected]/myxls.xls"
does not work.
Excel appears to have another layer of it's own auth procedures and it
forgets what credentials have been supplied when it runs it's "Transferring
files..." dialog upon loading the file. As is the case with this entire
situation, I can hit cancel a few times and get the file - but that is not a
good way of doing things. I don't know why office asks for the credentials
at all, if you hit cancel , you get the document either way.
Does anybody know of a workaround for this? Maybe something I can do when
creating the file to keep it from running that dialog?
Any help would be greatly appreciated,
-Paul
I am using authorization on an Apache webserver. I was initially having a
problem allowing authorized users to download any MS Office docs, but I seem
to have overcome that by including the username and password in the URL. I
am not trying to allow multiple users to share a file, I just want them to
be able to download with a simple left click from the web browser.
this works:
i.e.
href="myusername:[email protected]/mydoc.doc"
I don't really like doing this - because I have to print the password, but
it did keep Word happy.
BUT...
href="myusername:[email protected]/myxls.xls"
does not work.
Excel appears to have another layer of it's own auth procedures and it
forgets what credentials have been supplied when it runs it's "Transferring
files..." dialog upon loading the file. As is the case with this entire
situation, I can hit cancel a few times and get the file - but that is not a
good way of doing things. I don't know why office asks for the credentials
at all, if you hit cancel , you get the document either way.
Does anybody know of a workaround for this? Maybe something I can do when
creating the file to keep it from running that dialog?
Any help would be greatly appreciated,
-Paul