Re: Username & Password as parameters



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]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Michael Nemtsev" <nemtsev@xxxxxxx> wrote in message
news:1799a79b3ae9058c8abe5e0bfce24@xxxxxxxxxxxxxxxxxxxxxxx
Hello kvicky,

Don't send and keed pass in plain text, send the hash value of you pass


k> Thanks for your response.
k> Can you be more specific, what do you mean by hashofPassword
k> Thanks
k> K
k> Michael Nemtsev wrote:
k>
Hello kvicky,

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

k> I am trying to set a scheduled task for one of my ASP.net
application
k> that I developed on a monthly basis. This application requires a
k> login authentication. I am sending the url of the login page in
the
k> Windows scheduled task. But I also want to send the username and
k> password as Parameters (that is identified through windows
k> authentication). and automatically assigned these parameters to
k> loging into the application and conduct my operation.
k>
k> The problem here is I am not getting any idea as how to send the
k> login information as parameters in the url assigned to the
schedule
k> task.
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




.



Relevant Pages

  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... > is turning on/off Kerberos is occuring. ... It control how IE deals with "Authentication: ... when you put IIS6 in a domain and have "Integrated Windows Authentication" ...
    (microsoft.public.windows.server.security)
  • Re: Change in ASP.Net authentication between Win2000 and Win2003
    ... > is turning on/off Kerberos is occuring. ... It control how IE deals with "Authentication: ... when you put IIS6 in a domain and have "Integrated Windows Authentication" ...
    (microsoft.public.inetserver.iis.security)
  • Re: Need help configuring Wireless Connection profile
    ... and I can only use the intel OR windows utility, not both at the same time. ... Windows authentication for all users,4129,LRG\ryanv,4149,Wireless WPA2 ... SMALL BUSINESS SERVER: ... STEP #1 Install Certificate Services ...
    (microsoft.public.windowsxp.general)
  • Re: form authentication and webservices
    ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... We will be using Windows Authentication on the Web Services side (same ... Dominick Baier ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)