473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Username & Password as parameters

I am trying to set a scheduled task for one of my ASP.net application
that I developed on a monthly basis. This application requires a login
authentication. I am sending the url of the login page in the Windows
scheduled task. But I also want to send the username and password as
Parameters (that is identified through windows authentication). and
automatically assigned these parameters to loging into the application
and conduct my operation.

The problem here is I am not getting any idea as how to send the login
information as parameters in the url assigned to the schedule task.
Thanks
K

Sep 21 '06 #1
4 2313
Hello kvicky,

smth like http://yousite/youpase.asmx?User=<userName>?Pass=<hashOfPass>
and parse it receiver

kI am trying to set a scheduled task for one of my ASP.net application
kthat I developed on a monthly basis. This application requires a
klogin authentication. I am sending the url of the login page in the
kWindows scheduled task. But I also want to send the username and
kpassword as Parameters (that is identified through windows
kauthentication). and automatically assigned these parameters to
kloging into the application and conduct my operation.
k>
kThe problem here is I am not getting any idea as how to send the
klogin information as parameters in the url assigned to the schedule
ktask.
k>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sep 21 '06 #2
Thanks for your response.
Can you be more specific, what do you mean by hashofPassword

Thanks
K
Michael Nemtsev wrote:
Hello kvicky,

smth like http://yousite/youpase.asmx?User=<userName>?Pass=<hashOfPass>
and parse it receiver

kI am trying to set a scheduled task for one of my ASP.net application
kthat I developed on a monthly basis. This application requires a
klogin authentication. I am sending the url of the login page in the
kWindows scheduled task. But I also want to send the username and
kpassword as Parameters (that is identified through windows
kauthentication). and automatically assigned these parameters to
kloging into the application and conduct my operation.
k>
kThe problem here is I am not getting any idea as how to send the
klogin information as parameters in the url assigned to the schedule
ktask.
k>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sep 21 '06 #3
Hello kvicky,

Don't send and keed pass in plain text, send the hash value of you pass
kThanks for your response.
kCan you be more specific, what do you mean by hashofPassword
kThanks
kK
kMichael Nemtsev wrote:
k>
>Hello kvicky,

smth like
http://yousite/youpase.asmx?User=<userName>?Pass=<hashOfPassand
parse it receiver

kI am trying to set a scheduled task for one of my ASP.net
application
kthat I developed on a monthly basis. This application requires a
klogin authentication. I am sending the url of the login page in
the
kWindows scheduled task. But I also want to send the username and
kpassword as Parameters (that is identified through windows
kauthentication). and automatically assigned these parameters to
kloging into the application and conduct my operation.
k>
kThe problem here is I am not getting any idea as how to send the
klogin information as parameters in the url assigned to the
schedule
ktask.
k>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Sep 21 '06 #4
I don't believe that this is the right solution. If windows
authentication is being used on the server side to identify the caller, then
you need to impersonate that caller. You can do this by setting the
scheduled task to run under the username/password you want to impersonate.

Then, on your HttpWebRequest instances, you would set the
UseDefaultCredentials property to true. This will take use the credentials
of the currently logged in user (the one you specify for your scheduled
task) and use those to identify yourself against your site.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Michael Nemtsev" <ne*****@msn.comwrote in message
news:17***************************@msnews.microsof t.com...
Hello kvicky,

Don't send and keed pass in plain text, send the hash value of you pass
kThanks for your response.
kCan you be more specific, what do you mean by hashofPassword
kThanks
kK
kMichael Nemtsev wrote:
k>
>>Hello kvicky,

smth like
http://yousite/youpase.asmx?User=<userName>?Pass=<hashOfPassand
parse it receiver

kI am trying to set a scheduled task for one of my ASP.net
application
kthat I developed on a monthly basis. This application requires a
klogin authentication. I am sending the url of the login page in
the
kWindows scheduled task. But I also want to send the username and
kpassword as Parameters (that is identified through windows
kauthentication). and automatically assigned these parameters to
kloging into the application and conduct my operation.
k>
kThe problem here is I am not getting any idea as how to send the
klogin information as parameters in the url assigned to the
schedule
ktask.
k>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour
"At times one remains faithful to a cause only because its opponents
do not cease to be insipid." (c) Friedrich Nietzsche
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do
not cease to be insipid." (c) Friedrich Nietzsche


Sep 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Lobang Trader | last post by:
Hi all, I am trying to create a username and a password class. I would like to know what are the RECOMMENDED minimum and maximum length for both fields? These fields will be something like...
2
by: john brown | last post by:
There is a web page that I access frequently and would like to automate the authentication of the username and password. I would like to user a perl script but I'm not really sure about the steps....
15
by: Eugene Anthony | last post by:
Is this method of validation for password and username considered to be secured. In my previous post I was given a solution that uses command object and the values are parsed by parameters. But the...
11
by: Kevin O'Brien | last post by:
Hello, I am creating a sign on screen for my application in which I want to store the username and password in a database table. I was thinking of putting a combo box connected to the database...
0
by: gujarsachin2001 | last post by:
hello friends i m connecting to http or https url programatically through console application using follwoing methods of credentilas but if there is username & password for that url through this...
1
by: gujarsachin2001 | last post by:
hello friends i m connecting to http or https url programatically through console application using follwoing methods of credentilas but if there is username & password for that url through this...
0
by: sanbm79 | last post by:
Hi All, I am facing a problem in posting Web request with username and password credentials. I am working on migrating Java client application to .Net which will send request to Java servlet. ...
3
by: patelxxx | last post by:
Guy's, I'm using the following code and before I even enter my username and password I get the following error: 'Username or password did not match', what I'm I doing wrong? my $session =...
3
by: rodrigo | last post by:
I am trying to retrieve a password protected page using: get = urllib.urlopen('http://password.protected.url"').read() While doing this interactively, I'm asked for the username, then the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.