Click here to Skip to main content
13,095,921 members (55,161 online)
Rate this:
Please Sign up or sign in to vote.
I have a C# Windows Application I am developing for a company. I also have a custom back-end system I wrote, that uses my custom data provider, as well. Basically, when you login to the windows application I would like it to verify the username and password that they use for their website. That way they can manage their accounts from one simple management area.

I was thinking of a post back to the server with the window's form data, and emulating a web browser. The cookies would return the user permissions. Not sure if this is the proper way of doing it, or what?

I wouldn't mind implementing a simple API to do this in my back-end code. Is it even possible to do it via the webserver, or would I have to develop an actual server application?
Posted 21-Jul-11 21:34pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Does it really have to go to sockets layer and developing APIs? You probably want to use WCF authentication service. MSDN has some docs on this topic: How to: Enable the WCF Authentication Service[^]
Thomas Mack 23-Jul-11 2:52am
Thanks. I'll look into it some. I was just tossing ideas out there so I really have no clue how I would want to do this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170813.1 | Last Updated 22 Jul 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100