Click here to Skip to main content
11,813,557 members (44,502 online)
Rate this: bad
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 at 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
0 Abhinav S 275
1 Palash Mondal_ 190
2 KrunalRohit 150
4 Manas_Kumar 115
0 OriginalGriff 3,877
1 KrunalRohit 2,526
2 Maciej Los 2,245
3 CPallini 2,240
4 ppolymorphe 1,750

Advertise | Privacy | Mobile
Web04 | 2.8.151002.1 | Last Updated 22 Jul 2011
Copyright © CodeProject, 1999-2015
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