Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8238341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T19:46:53+00:00 2026-06-07T19:46:53+00:00

I am going to use the following scheme for implementing SSO – Initial login

  • 0

I am going to use the following scheme for implementing SSO –

Initial login –

  1. Whenever a user loads a client app, he is redirected to the SSO login page.
  2. Once the user logs in, an encrypted cookie token is set on the client and the value is also stored in the session.

Accessing another app –

  1. When the user load another client app, he is redirected again to the SSO login page.
  2. The SSO module first checks if the encrypted cookie exists and then compares the value with the value in the session.
  3. If both of these match, it redirects the user back as authenticated.
  4. Or else it asks the user to enter username / password.

Are there any security vulnerabilities with this scheme?

Thanks,
Murtaza

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T19:46:54+00:00Added an answer on June 7, 2026 at 7:46 pm

    The design seems fairly standard for an SSO scheme. Of course, even if the concept is secure, vulnerabilities can arise in the implementation of the scheme. For instance, a secure implementation would need to guard against compromise of the SSO authentication cookies and vulnerabilities in the identity assertion to the relying system. Additionally, vulnerabilities in the authentication mechanism itself (such as weak passwords) could be amplified in an SSO environment where a single credential can be used to authenticate to multiple applications.

    The use of both the encrypted cookie and session to identify the end user to the relying applications may be redundant, and may not be effective if the motivation is to defend against session hijacking attacks. If a HTTP request that includes these cookies is ever sent in cleartext, both the session ID and encrypted cookie cyphertext would be sent in the clear, potentially opening a spoofing vulnerability. (Of course, the cookie cleartext would not be sent, but an attacker would only need the cookie’s cyphertext content.) To mitigate this threat, the session cookie should be set as secure and the SSO login page accessible only through SSL.

    If the motivation for an encrypted cookie is to allow the credential to be saved past the session lifetime, then care is needed to use appropriate cryptographic practices (e.g., key management and use of standard encryption algorithms). Of course, the cookie should be marked as secure to ensure (for practical purposes) that it is not sent in cleartext. Other countermeasures such as updating the cookie after each assertion to prevent duplication, and limiting the lifetime (e.g., requiring reauthentication every x days) may be warranted.

    The scheme also requires that the verifier make an identity assertion to the RP after successfully authenticating the end user. There are several standard protocols for this, such as OAuth and OpenID.

    Finally, the user should have recourse to terminate the SSO session to prevent unauthorized access when the user leaves the session.

    Of course, the assurance requirements of the relying systems needs to be considered — what is the risk (in terms of likelihood and impact) if the SSO system is compromised? As the risk increases, so too does the cost-effectiveness of strategic and operational countermeasures (e.g., risk and vulnerability assessments) to defend against compromise.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been following the hginit.com tutorial on how to use mercurial. Everything is going
im going to use Sociallib library in my app to interact with social networks.
I'm going to use Codeigniter's session data for my login system, but first I
I'm going to use following ClientScript function (VS2010,C#) in a public static method, but
I going to convert text file to XML. I use the following code. But
I use the following main.xml for my app. <?xml version=1.0 encoding=utf-8?> <LinearLayout xmlns:android=http://schemas.android.com/apk/res/android android:layout_width=fill_parent
I was going to use the following line of code: [[NSSortDescriptor alloc] initWithKey:@title ascending:YES
When I use the following code it feels like I'm going wrong somewhere. object
I am going to use Google app engine Blobstore to store my uploaded files.
For example, I am going to use the following table variable inside one of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.