Secure Session Plugin

Description

Trac plugin to lock an authenticated user into using https://.

Bugs/Feature Requests

Existing bugs and feature requests for SecSessionPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out SecSessionPlugin from here using Subversion, or browse the source with Trac.

Example

Requires setup in trac.ini

[components]
secsession.* = enabled

The web server must also be configured to only allow access to the login url via https. An example rewrite rule for apache might look like the following:

RewriteEngine On
RewriteRule ^/login https://%{SERVER_NAME}/login [L]

Author/Contributors

Author: pacopablo
Contributors: csabahenk

Comments/Discussion

This works great and is very useful (I'm using it with trac 0.9.5), just one issue I'd like to know if anyone has found a workaround for: normally in trac when you click on "login", after the login you stay on the page you were on. With the suggested setup here people always get moved to the base of the wiki. Anyone found a way to get back to the original trac behavior?

I'd like to know if it works with tracd, too.