Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / November 2004

Tip: Looking for answers? Try searching our database.

secure web service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Lloyd Dupont - 16 Nov 2004 03:23 GMT
I'm building a Java Web Services exposed on the internet which I want to
restrain the use to only a few authorized programs, that is .NET Windows
Service (like IIS, Apache, etc..) I also intend to write.

I had a hard time finding clear and simple on how to use security with web
services.
Let's imagine I get it right (I'm not sure) I runned a 'secure' Hello web
services on Sun's app server.

Now I try to connect to it with a .NET client.
It's unclear to me how to connect with the right certificate.

I try something like that:

MyHelloService ds = new MyHelloService();
ds.Url = https://IHOOK-LLOYD.5dservices.com.au:8181/hello-jaxrpc/hello;
ds.Timeout = 10000;
ds.ClientCertificates.Add(GetCert());
textRemote.Text = ds.sayHello(textUser.Text);

and the get cert return a new X509Certificate(buf)
where buf is the content of client.cer generate by java's keytool tool.

it doenst't work..... :(

on the other hand I found a sample on MSDN with plenty of interop and plenty
of line just to authenticate, I can't belive it's so complex!

any tips, links, others?
Lloyd Dupont - 16 Nov 2004 03:42 GMT
I found that!
http://msdn.microsoft.com/webservices/building/interop/default.aspx?pull=/librar
y/en-us/dnbda/html/interopsun.asp


> I'm building a Java Web Services exposed on the internet which I want to
> restrain the use to only a few authorized programs, that is .NET Windows
[quoted text clipped - 25 lines]
>
> any tips, links, others?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.