Re: Remote user authentication

From: Antonio (antoniopassado_at_hotmail.com)
Date: 01/08/04


Date: Thu, 8 Jan 2004 10:03:56 +0100

Hi,

If I understand your problem right you want to authenticate over the
Internet a user from a machine, however server doesn't know anything about
that user of that machine even if his username and password match one of the
server's users? If yes, why would you need than to authenticate exactly that
user and not the user with such name and password known on the server? When
you authenticate to a system, you provide a name known to that system and I
think here should be the same. If authenticating someone remotely as given
user from the server is OK for you than SSPI should be enough otherwise you
need to elaborate on details of your scenario.

I hope the following information will be relevant to your case. Have a look
at the following functions in MSDN and check out sample codes if they are
available there:

AcquireCredentialsHandle
InitializeSecurityContext
AcceptSecurityContext
CompleteAuthToken

Detailed explanations and good examples can be found in book "Programming
server-side applications for Windows 2000" by Jeffrey Richter and Jason D.
Clark. We've used this API for authenticating remote users over the Internet
similarly to your scenario.

Regards,
Antonio

"Param" <tparames@hotmail.com> wrote in message
news:eIFSOdG0DHA.2160@TK2MSFTNGP12.phx.gbl...
> Hi,
> I have the following requirement:
> I need to authenticate the credentials of a user which is on a remote
> machine (Win2000 Server). The user is only local to that machine and not a
> domain user. Also, the user is a member of "Users" group (or it may belong
> to any group). I will use only IP address and not the DNS for connecting
to
> the remote machine.
> I tried the following approaches:
>
> 1) Using SSPI functions such as "GenClientContext" which involves
preparing
> client and server messages to negotiate, challenge and authenticate. But
> this works fine only for local users and domain users.
>
> 2) Mapping of a drive from remote machine. But this works only for admin
> users.
>
> 3) Changing the password to the same value using NetUserChangePassword.
But
> this fails if password policy restricts.
>
> Is there any other way to authenticate the remote user credentials? Please
> note that I know the password for the Administrator account in that remote
> machine.
>
> Thanks in advance,
> Param.
>
>
>



Relevant Pages

  • Re: Need help! IIS - IE - anonymous, basic and windows integrated authentication
    ... May i ask why you cannot have your internal users authenticate many times? ... (this is done from Internet Explorer). ... > I really need help with IE and IIS settings. ... > second IIS application server in order for Internet users to be able to ...
    (microsoft.public.inetserver.iis)
  • Re: Replication issues with Win2003
    ... The reason I had you do the tracert was to try and see if there was some ... I got replication errors on the 'unaccessable' server. ... >, I can connect and authenticate to ANY ... > DC (local or remote, ...
    (microsoft.public.win2000.active_directory)
  • Re: Requiring User Name and Password for Connection to Network Res
    ... If you don't have a matching account on the server, and if the Guest account on ... then the server should request that you authenticate ...
    (microsoft.public.windowsxp.network_web)
  • Re: Allowing Mail from an appliance &/or other Mail server
    ... this virtual server and restrict by the ip address for the security. ... accomplished by limiting which IP addresses can connect to your SMTP ... Outlook users do not need smtp connectivity to Exchange servers - they ... your smtp relay server configured to authenticate as well. ...
    (microsoft.public.exchange.connectivity)
  • Re: RSS, XPathDocument and ISA proxy server
    ... behind a ISA 2000 proxy server. ... How do I get them to authenticate? ... Create the proper rules so that the web server can function anonymously while the other outbound connections authenticate. ... By the way i have manged to set the proxy and authenticate using asp.net, i have set up a user with permissions limited to reading from the internet and added it to internet users group, adn use that user to authenticate with. ...
    (microsoft.public.isa)

Quantcast