473,498 Members | 1,703 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Single Sign On in Web Application & WinForm Application

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
Nov 21 '05 #1
2 2657
VJ
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

"Yavuz Bogazci" <Ya**********@discussions.microsoft.com> wrote in message
news:B6**********************************@microsof t.com...
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

Nov 21 '05 #2
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

"VJ" wrote:
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

"Yavuz Bogazci" <Ya**********@discussions.microsoft.com> wrote in message
news:B6**********************************@microsof t.com...
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


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1517
by: Cowboy \(Gregory A. Beamer\) | last post by:
Quite a few months back, I was able to create a single sign on app for all apps on a single box (perhaps a domain, but never tested) by setting the auth cookie name to an identical value: ...
1
2281
by: Rodney Lane | last post by:
Hi I am investigating the possibility writing an application which uses single sign on with ASP.Net / VB.Net and was wondering if anyone has endeavoured to do this yet. I will most likely be...
3
3563
by: daniel | last post by:
Hi, i want to use dotnet web form to do SSO with AD now, but i don't know to do it. where can i look for relative article or sample code ? thanks.
2
2128
by: KeithH | last post by:
Question. Not sure if it's posted elsewhere, but here is my situation. I would like to create a Signon ASP.NET Application where the user would go to and sign in. Based on the credentials I would...
9
5098
by: MrSpock | last post by:
1. Create a new Windows Application project. 2. Open the project properties and check "Make single instance application". 3. Build. 4. Go to the release folder and run the application. 5. Try to...
20
2666
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
3
2041
by: Joe Fawcett | last post by:
Dear All We have an application where users login, their name/password details are stored in a table, and now we want to add a third party bulletin board that lives in its own virtual directory....
3
3158
by: Pouria | last post by:
Hi, Does anyone have any experience with single sign on for .Net windows applications or windows services? So the idea is to be able to use the user credentials from logging into windows to...
7
2274
by: hamarsheh | last post by:
Hi everbody! i need single sign on software for our php website , For all application, because we used visual basic and php, and another things so we need software to do single sign on , that the...
0
7002
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3093
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
656
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.