Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
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

1 solution

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[^]
 
Share this answer
 
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900