Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 19th, 2005, 05:04 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default Authentication between Windows and Linux...

Huge problems!

I cannot understand how authentication works together with web services. I have found there is different ways to do it, and I seem to be able to make it work between two Windows machines, but not between a Windows and a Linux (with Mono).

I found that user information for the requesting user can be retrieved at the WebService through the User object. Through this object it is possible to ask if the user has been authenticated.

But... I do not get the relation. Some user uA sits at machine mA and requests the web service at machine mB. The method [WebService].User.Identity.IsAuthenticate, does it answer for machine mA or mB?

I need a way to authenticate users requesting from a Windows machine to a Linux box running Mono with the web service, but when I try to output the User.Identity.Name on the web service it is the empty string. I found that this is probably because the user hasn't been authenticated.

Alright, I haven't really touched the web.config or the IIS, since I do not know where to touch! I quess it is possible to change the authentication method and perhaps this way make it work. How do I e.g. change between thee different Windows authentication methods like Basic, Digest etc.?

I previously wrote this in the C# corner of this forum...


I found an article describing a custom way to include the user information in the SOAP header, but I guess this is not secure even though it looks pretty fancy!

Thanks, Jacob.
Danish audio books for download at http://www.lytenbog.dk (Danske lydbøger til download).

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote Connection To Linux from Windows venky_vjti Linux 7 January 5th, 2015 07:37 AM
how to stop and start windows services from linux. ramakula@gmail.com Linux 1 December 12th, 2006 07:53 AM
Incompatibility Linux-Windows jguillen Pro PHP 3 April 19th, 2005 06:49 AM
Connecting to MySQL from .NET on Linux and Windows jacob MySQL 1 February 5th, 2005 06:08 PM
Problem moving php from linux to windows skn8956 Beginning PHP 1 July 9th, 2004 06:21 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.