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?