Single Sign On in Web Application & WinForm Application

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

i have a question:

I have a ASP.Net based WebApplication where Users have to Login to
authenticate. I have a Desktop App wich needs the same Auth. information,
too. But i have solved it in the way, that the user has to login in both Apps
separate. The Users doesn't want such a solution. How can i realize a
SIngleSignOn for both Apps? Perhaps Cookies?

thanks
Yavuz Bogazci
 
I have Implemented a very similar architecture for one of our programs..

1. The users sign on Desktop, this is verified and I store the information
in my local APP (Encrypted) file..
2. Then every time the user requests a Web page. I take this login
information and then encrypt the login information, send it as a Query
String parameter to the Web Page.
3. The ASP.NET page reads the query string parameter, also the Query string
says the request is from the client and not a direct webpage typed in
browser. it decrypts this information and automatically authenticates the
user & will show the requested page

Works really well for us.. , you have to watch for Time out of the
webpages.. requested from client.. & see if you want to handle them
differently than from direct page request.

VJ
 
Hi,

thank you for this answer, but my users have to login first in the web
application. so i can't create come file from my codebehind with asp.net.

yavuz bogazci
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top