Scheduling password protected URLs

  • Thread starter Thread starter MW
  • Start date Start date
M

MW

Hello people,

I was trying to schedule a task in windows 2000 to open up a specific
URL in the browser. I was able to add it as Run
C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://url

The problem is that http://url is a password protected site, and the
script on the page does not execute because it pauses at the "please
type your username and password" box. The password is remembered, but
someone still has to hit enter before the page is accessed

Is there someway to pass the username/password automatically to the URL
so the page executes at a scheduled time?

MW
 
MW said:
I was trying to schedule a task in windows 2000 to open up a specific
URL in the browser. I was able to add it as Run
C:\PROGRA~1\INTERN~1\IEXPLORE.EXE http://url
The problem is that http://url is a password protected site, and the
script on the page does not execute because it pauses at the "please
type your username and password" box. The password is remembered, but
someone still has to hit enter before the page is accessed
Is there someway to pass the username/password automatically to the URL
so the page executes at a scheduled time?

The HTTP protocol specifies a way to do this by using the format
http://username:password@url. However, this mechanism as implemented in
IE has the potential for abuse and Microsoft has chosen to disable it
entirely in a recent security update. Thus it may not work for you if you
have all recent patches applied.

Apart from the potential for abuse, the method has the drawback that the
user name and password are right out there in the open -- in your script,
in IE's history files, and as long as you're connected to that initial
page, in your address bar.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top