Jump to content
  • 0

Link to external password protected file


Scottster

Question

I need to create a link to an external url that is password protected. I need to accomplish the following:

'http://User:Password@www.testsite.ca/TestInvoice.pdf'

I need it to work on all browsers, though (the above link does not work in Internet Explorer).

Is there a way to pass the username and password to an external url with javascript?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...