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 8505267
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T02:16:12+00:00 2026-06-11T02:16:12+00:00

From a recent audit of our Plone 4.01 instance: Where possible encrypt the username

  • 0

From a recent audit of our Plone 4.01 instance:

  1. Where possible encrypt the username stored in the session cookie, or use the one-time session ID to identify the user (at the server end) instead of the username.

    • The usernames were stored in the applications session cookie using base64 encoding, which can be easily decoded.
  2. Invalidate the session ID immediately when the user logs out.

    • When logging out of the PLONE application, the application deletes the cookie, however does not invalidate the user session ID. It was also noted that authenticating with the application a second time did not invalidate previous session cookies.

We would prefer not to add another product to the stack to resolve these findings if possible.

Btw we do have Beaker installed and this is being used for public accounts as part of the ecommerce area of the site, whereas the content admins/authors are using the standard Plone login/security mechanism which is what is drawing the audit findings… perhaps Beaker can be reused for the content authors as well? Not sure if this is a good idea though…

Btw we are also updating to Plone 4.2 soonish.

  • 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-11T02:16:14+00:00Added an answer on June 11, 2026 at 2:16 am

    If you are concerned with cookie security, you should always use SSL encryption. The same username is included in the page output, for example, so the fact that it’s included in the cookie as well isn’t a information leak as such.

    The cookie uses a cryptographic hash that has a limited timespan, the default is 12 hours, after which the cookie will no longer be accepted.

    You can lower this timeout:

    1. go to the ZMI of your plone instance

    2. Find the acl_users folder, then the session plugin:

      Session plugin in the ZMI

    3. Go to the Properties tab (right-most tab)

    4. Change the “Cookie validity timeout (in seconds)” property to a new value.

    Take note of the “Refresh interval (in seconds, -1 to disable refresh)” value below it though; whenever the signed cookie is older than the refresh interval, a new cookie is generated, to refresh the cookie lifetime. So, by default, once every hour, you are issued a new cookie that is valid for 12 hours.

    You don’t want your cookie validity timeout to fall below the refresh interval. If you set these values very low, you may want to think about using a periodic AJAX ‘ping’ request to keep the cookie fresh while the user is still using the site.

    In fact, plone.session already includes a facility to implement this ping for you. Simply enable it by installing the “Session refresh support” add-on in the control panel (“Site setup” > “Add-ons” add-ons icon > check “Session refresh support 3.5”, click “Activate”). This will install the javascript library for you, and it’ll ping the server every 5 minutes, provided there has been some mouse or keyboard activity while the current page is loaded.

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

Sidebar

Related Questions

I'm trying to select most recent date from one table (invoice) to a customer
I am looking on how to use Tornado on Windows. From my recent searches
I came across a recent Audit report in our company for the code we
Does anyone have any experiences from recent daily build of AnkhSVN? Please let me
I want to grab the most recent entry from a table. If I was
I need to select 5 most recent rows from cached Dataview object, is there
i want to select the most recent entry from a table and see if
So, on facebook, the ticker shows recent stories from views to my site, now,
I'm a recent vim convert (from fancy IDEs like eclipse.) I love the :make
I want to launch from my application the activity recent apps, without holding on

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.