473,748 Members | 2,793 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple Websites and Single Sign in

Jai
Hi,

I have a problem related to Login System.

I am developing 3 websites for some institution.Now they want that if
anybody had sign up for there site1.com(say), than he or she should be
able to sign in for site2.com and site3.com.

hence, if user has sign up for the membership of site1.com than he/she
should automicallly become the member of site2.com and site3.com.
and
also if the member sign in for the site1.com and if opens sign2.com or
site3.com than there he/she must be shown as "Already Login"

Anybody Please tell me how can i make a Login System(with 1000%
security) which is available to mulitple websites.

If possible give some reference also......

Thanks in advance........ .

Sep 23 '06 #1
4 2720
"Jai" <ja***********@ gmail.comwrote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
I have a problem related to Login System.

I am developing 3 websites for some institution.Now they want that if
anybody had sign up for there site1.com(say), than he or she should be
able to sign in for site2.com and site3.com.

hence, if user has sign up for the membership of site1.com than he/she
should automicallly become the member of site2.com and site3.com.
and
also if the member sign in for the site1.com and if opens sign2.com or
site3.com than there he/she must be shown as "Already Login"

Anybody Please tell me how can i make a Login System(with 1000%
security) which is available to mulitple websites.
All you need is a back-end database that all three sites can access. Create
a single user table holding login details e.g. userid, (encrypted) password
etc Also include a field containing a boolean value to indicate whether the
user is logged on or not. Finally, make sure all three sites use SSL.

The only problem (and it's not much of a problem) I have is that if users
don't log out "cleanly" i.e. by clicking the Log Out button, then the
boolean flag in the database doesn't get updated until their session times
out 20 minutes later...
Sep 23 '06 #2
Consider CardSpace, a single sign-on solution which will be out in
January.

http://cardspace.netfx3.com/

If these sites are all ASP.NET you can also configure them with the
ASP.NET Memberhsip and Role providers and point them to a common
database. If you cannot have them all access the common database, you
can at least synchronize these databases to a central database
regularly.

I created some controls you can use here.

http://brennan.offwhite.net/blog/200...es-management/

Brennan Stehling
http://brennan.offwhite.net/blog/

Mark Rae wrote:
"Jai" <ja***********@ gmail.comwrote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
I have a problem related to Login System.

I am developing 3 websites for some institution.Now they want that if
anybody had sign up for there site1.com(say), than he or she should be
able to sign in for site2.com and site3.com.

hence, if user has sign up for the membership of site1.com than he/she
should automicallly become the member of site2.com and site3.com.
and
also if the member sign in for the site1.com and if opens sign2.com or
site3.com than there he/she must be shown as "Already Login"

Anybody Please tell me how can i make a Login System(with 1000%
security) which is available to mulitple websites.

All you need is a back-end database that all three sites can access. Create
a single user table holding login details e.g. userid, (encrypted) password
etc Also include a field containing a boolean value to indicate whether the
user is logged on or not. Finally, make sure all three sites use SSL.

The only problem (and it's not much of a problem) I have is that if users
don't log out "cleanly" i.e. by clicking the Log Out button, then the
boolean flag in the database doesn't get updated until their session times
out 20 minutes later...
Sep 23 '06 #3
mg
If the sites are under the same domain then write a cookie that contains a
unique key identifying the user, and read the cookie on all the page loads to
see if the user should be logged in. This works because cookies span multiple
..net apps within the same session.
--
mg
we''ll burn that bridge when we get to it
"Brennan Stehling" wrote:
Consider CardSpace, a single sign-on solution which will be out in
January.

http://cardspace.netfx3.com/

If these sites are all ASP.NET you can also configure them with the
ASP.NET Memberhsip and Role providers and point them to a common
database. If you cannot have them all access the common database, you
can at least synchronize these databases to a central database
regularly.

I created some controls you can use here.

http://brennan.offwhite.net/blog/200...es-management/

Brennan Stehling
http://brennan.offwhite.net/blog/

Mark Rae wrote:
"Jai" <ja***********@ gmail.comwrote in message
news:11******** **************@ b28g2000cwb.goo glegroups.com.. .
I have a problem related to Login System.
>
I am developing 3 websites for some institution.Now they want that if
anybody had sign up for there site1.com(say), than he or she should be
able to sign in for site2.com and site3.com.
>
hence, if user has sign up for the membership of site1.com than he/she
should automicallly become the member of site2.com and site3.com.
and
also if the member sign in for the site1.com and if opens sign2.com or
site3.com than there he/she must be shown as "Already Login"
>
Anybody Please tell me how can i make a Login System(with 1000%
security) which is available to mulitple websites.
All you need is a back-end database that all three sites can access. Create
a single user table holding login details e.g. userid, (encrypted) password
etc Also include a field containing a boolean value to indicate whether the
user is logged on or not. Finally, make sure all three sites use SSL.

The only problem (and it's not much of a problem) I have is that if users
don't log out "cleanly" i.e. by clicking the Log Out button, then the
boolean flag in the database doesn't get updated until their session times
out 20 minutes later...

Sep 25 '06 #4
I created a more thorough example.

http://brennan.offwhite.net/blog/200...ith-aspnet-20/

Brennan Stehling
http://brennan.offwhite.net/blog/

Jai wrote:
Hi,

I have a problem related to Login System.

I am developing 3 websites for some institution.Now they want that if
anybody had sign up for there site1.com(say), than he or she should be
able to sign in for site2.com and site3.com.

hence, if user has sign up for the membership of site1.com than he/she
should automicallly become the member of site2.com and site3.com.
and
also if the member sign in for the site1.com and if opens sign2.com or
site3.com than there he/she must be shown as "Already Login"

Anybody Please tell me how can i make a Login System(with 1000%
security) which is available to mulitple websites.

If possible give some reference also......

Thanks in advance........ .
Sep 26 '06 #5

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

Similar topics

5
10522
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to do this? (IIS 5 or 6 In case you're wondering why I would do this, we have many web sites on a single server, and there are groups of sites that need to share common configuration information. I'd like to ease some administration by having one...
4
2327
by: Jeff | last post by:
We have multiple ASP.Net web apps in development. As a standard we are looking to go with SQL Server to hold state information. Can we have the multiple apps all point to a single State DB? Or do we need to install multiple instances of the State database on to the SQL Server (one for each Web app)? It would seem that you could run into troubles pointing several web apps at the same DB, because you would introduce the possibility (a...
1
1074
by: Zeng | last post by:
Hello, If I have 20 websites hosted on the same machine and all point to the same application code, how many instances of my app will be running? 1 or 20? This is a very common case where private labeling is implemented, hope someone would know. Thanks! -zeng
9
2773
by: Graham | last post by:
I have been having some fun learning and using the new Controls and methods in .Net 2.0 which will make my life in the future easier and faster. Specifically the new databinding practises and wizards. But, I have found that trying to do something "outside the norm" adds a rather large level of complexity and/or data replication. Background I have been commissioned to create a web-based application for a client. It has a formsaunthentication...
6
1958
by: Steve Mauldin | last post by:
I have three websites that were developed by using the same code in .net. They are all located under wwwroot on my desktop running windows 2000 pro.because Windows 2000 pro only supports a single Default Web Site I have to switch the IIS path to test the code on my own box. Once I boot up, I change the path on the Default Web Site in the Internet Services Manager to point to project A and I start up the IDE and I select project A to edit...
0
1478
by: CNN_news | last post by:
I would like to run multiple instances of TYPO3 (a cms written in PHP) on a single server. You can run multiple websites in two methods: multisite or multiple instances. In multiple instance, each instance uses the same source files but has its own database and private file storage area.
2
2453
by: Spam Catcher | last post by:
Hi all, I'm looking to implement a single sign on solution for .NET applications. This single sign on solution will need to work against a variety of back- end databases (i.e. SQL (mainly), Active Directory (some), Custom Data Sources (XML, MDB, Custom Web Service, etc). Is there any sample code on implementing a simple single sign on service? The app would need:
1
3092
by: Fred Nelson | last post by:
Hi: This is a newby question and I hope there is a simple solution: I'm working on a C#.NET solution that will have two separate websites. I'm wondering if there is a way to have one solution with two separate websites or if I need to create three solutions: One for each website and also one that is just a shared class library. Any info would be helpful - I've played around and read around and can't
13
8672
by: Samir Chouaieb | last post by:
Hello, I am trying to find a solution to a login mechanism for different domains on different servers with PHP5. I have one main domain with the user data and several other domains that need a login to show data. I want the user to login only once when he visits any of my domains.
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9541
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9370
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8242
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4602
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.