Locking down Redmine registration and anonymous access

Redmine can expose projects and sign-up forms to anyone who finds the URL. This page explains how to require login, choose a registration mode, restrict email domains and check the Anonymous role before go-live.

On this page

Why a Redmine instance should not be open to the public

A Redmine instance should not be reachable by anonymous visitors unless the project is meant to be public. If you inherited a server or set one up quickly, confirm that people who are not signed in cannot see projects, issues or wiki pages, and that strangers cannot create accounts. Three groups of settings decide this: whether sign-in is required before anything is visible, how new accounts come into being (self-registration, administrator creation or an approval step), and what the Anonymous role allows on public projects. Each control matters at a different moment, for example when a project is shared with an outside client, so none of them should be left to chance.

Self-registration deserves the closest look. The registration mode should follow how people actually join your organization. Open sign-up rarely suits an internal tracker, while administrator-created accounts or a manual approval step keep control with you. If self-registration stays on, Redmine 4.2.0 added allowed and disallowed email domain settings for user addresses, which filter who can register from a given domain. Redmine 4.2 changelog describes the feature. Domain rules narrow the list of addresses but do not verify identity, so pair them with email verification and an approval step for sensitive data. Decide deliberately whether users may delete their own accounts, because deletion affects the history of issues the account created or was assigned.

Settings drift after upgrades, plugin changes and handovers between administrators, so a fixed-scope review is a practical way to confirm the current state. Ask a reviewer to test from a signed-out browser: the home page, a project list, a direct issue URL, the wiki and the registration form. Have them attempt registration from an address on each domain you intend to allow. Record each setting that differs from your written policy, and who approved it. Confirm the labels and available modes against the documentation for the release you run, since they depend on the version.

Which registration and access settings fit which organization

This table compares the main Redmine registration and anonymous access settings by the organization type they suit and what breaks for external users when each one is tightened. Read each row as a trade-off: the more closed the setting, the more work falls on administrators to create and manage accounts.

SettingFits best whenWhat breaks for external users if tightened
Authentication requiredProject data is internal, and even project names or wiki pages should not be visible to outsidersAnonymous visitors see a login page instead of public projects, so partners and the public lose read access to any project they relied on
Self-registration disabledAdministrators or an identity system create every account, such as an internal workforce with LDAP or a managed directoryClients and contractors cannot create their own accounts, so each new external user needs an administrator to add them
Registration with manual activationSmall or regulated teams that want a person to approve each new account before it can sign inApproval adds a delay for each external user, and requests pile up if no administrator monitors the queue
Registration with email activationOpen communities or customer portals where users verify an address but no administrator approves each oneUsers on addresses outside your expected domains can still register unless domain rules are also set, so spam accounts may appear
Allowed email domains (Redmine 4.2.0 or later)You know the organizations whose staff should have accounts, such as a partner domain listUsers with personal or new addresses are refused, so contractors on other domains must be added by an administrator
Disallowed email domains (Redmine 4.2.0 or later)Open registration is acceptable but disposable or known spam domains should be blockedLegitimate users on blocked domains are refused, so review the list when your external contacts change
Account deletion by usersUsers must be able to remove their own data for privacy reasons, and your retention rules allow itUsers may delete accounts that hold issue history, so confirm how authored issues and comments are kept before enabling it
Anonymous role on public projectsA public project, such as a published roadmap or documentation space, must be readable without a loginEach permission granted to Anonymous is open to the internet, so an over-broad grant exposes issues or files to anyone

How to close registration and anonymous access step by step

This sequence removes public access from a Redmine instance, then controls how new accounts are created and who can use them. It ends with a tested result: an anonymous visitor sees nothing sensitive, and a new user gets only the access your policy allows.

  1. Inventory public projects and Anonymous permissions

    An administrator lists every project whose visibility is public, using the Projects list under Administration, and opens the Anonymous role under Roles and workflows to record which permissions it holds. Each public project should be a deliberate decision with a named owner. The output is a written list of projects and Anonymous permissions that you can review before changing anything. The step is done when every public project has been either approved for public read access or queued for change.

  2. Remove anonymous access from private projects

    The administrator sets each project that should not be public to private in its settings, then removes view and other permissions from the Anonymous role that are not needed for approved public projects. Check the Anonymous role's API-related permissions as well, because they control what unauthenticated API calls can read. Confirm the exact option labels in your Redmine version before you start. The step is complete when the role holds only the permissions recorded in the inventory.

  3. Require login for every page

    In Administration, open Settings, go to the Authentication tab, and set the option that requires authentication so that visitors must sign in before they can see content. Save the change and keep an administrator session open in case a configuration error needs correcting. The check is to open the base URL and a project URL in a private browser window and confirm that each one redirects to the sign-in page rather than showing content.

  4. Choose the self-registration mode

    On the same Authentication tab, select the self-registration mode that matches your onboarding process. The options typically range from disabled registration to email activation, manual activation by an administrator, or automatic activation, so confirm the labels in your version and record the choice with its owner. Regulated organizations often prefer administrator activation so that each account is reviewed before it can sign in. The check is a private-window visit to the registration page, which should show the form or the closed message that matches the chosen mode.

  5. Configure allowed and disallowed email domains

    Redmine 4.2.0 added settings for allowed and disallowed email domains for user addresses, and these appear in the Authentication settings. Enter the domains your staff and approved external contractors use, and add any domains that must be blocked, such as free webmail providers if your policy forbids them. Test the rules with one address inside an allowed domain and one outside it. The step is complete when the allowed address is accepted for registration and the blocked address is rejected with an error.

  6. Decide whether users can delete their own accounts

    Decide whether users may delete their own accounts from their profile. Account deletion interacts with your retention, audit and personal data obligations, because the records a user created may remain in issues and history. Agree the answer with your compliance or data protection lead, then set the option in the Authentication tab or leave it off. Confirm how deletion treats the user's issues and time entries in a staging copy before relying on it. The step is done when the decision is written down and the setting matches it.

  7. Test as an anonymous visitor

    Using a private browser window with no session, the tester tries the sign-in page, the home page, every public project URL, the wiki and attachment links, and the REST API endpoints for issues and projects. Each request should either redirect to sign-in or return only content approved in the inventory. Record each result against the test list. The step is done when no private project data is visible to an unauthenticated visitor, and any gap is logged as a defect to fix before go-live.

  8. Test as a newly registered user

    The tester registers a new account using an allowed address, then tries one with a disallowed domain, and confirms the activation step matches the chosen registration mode. After sign-in, the new user should see only the projects and roles that the process grants by default, with no access to administration pages. The check is a short record of each attempt, its outcome and the account's effective permissions, which the owner signs off before the change is announced.

How the Anonymous role and public projects interact with login rules

A project in Redmine is only readable without an account when two things line up: the project is marked public, and the Anonymous role has been granted the permissions to view its content. Login requirements do not override this. If you turn on the setting that requires authentication for everything, the Anonymous role stops mattering for the whole instance, but the check you need to make is whether any project still carries public visibility with Anonymous permissions attached. Redmine also has a Non-member role, which applies to logged-in users who are not members of a given project. A private project with a broad Non-member grant can be readable by every account on the instance, including accounts you did not intend to share with, so review both roles per project rather than trusting the project's visibility flag alone.

Confirm the exact permissions in your own version before you rely on them. The role screens under Administration and the permission lists differ between Redmine releases, and the defaults that ship with a fresh install are not the same as a long-running instance that has been edited over the years. Test the result the way an outsider would: sign out, open each project's URL and the issue, wiki and file pages directly, and try the REST API without a key. Repeat the test with a low-privilege account that is not a member of the project, since that is the Non-member path most teams forget to check.

Accounts that come from LDAP follow the directory for their lifecycle. Redmine authenticates them against the directory, so disabling or removing a user in Active Directory or OpenLDAP is the step that actually ends their access, not an action in Redmine alone. Local accounts are different: they remain valid until an administrator locks them, so your offboarding runbook should name who does that for each account type. Record which accounts are local and which are directory-backed, because this determines where a leaver's access must be removed and what evidence an auditor will ask to see.

How a request moves from anonymous visitor to project access

The path starts when an anonymous visitor reaches Redmine from the public internet. Redmine first checks whether login is required, then whether self-registration is open and, for new accounts, whether the email domain is allowed. If administrator activation is configured, the account waits for approval before it can sign in. Only after authentication does Redmine apply project visibility and the role permissions of the Anonymous or member role, so each check is worth confirming in your own instance.

Decision path from anonymous request through the trust boundary to project permissions.

Security and operational risks to review after tightening access

Tightening registration and anonymous access closes the obvious doors, but the remaining gaps tend to sit in older settings, public projects nobody revisited and paths outside the Redmine login page. Review each item below once the changes are live, and again after any upgrade or configuration change.

Forgotten public projects

A project set to public stays readable by anonymous visitors even after the team believes the instance is private. Projects created years ago, copied from templates or imported from another tracker are the usual culprits. Check every project's visibility setting, then confirm that the Anonymous role has no permissions on any project that should stay private. Ask the team to name every project that must remain public, and treat any project they cannot name as private until someone confirms otherwise.

Sign-up abuse with open registration

If self-registration stays open after the rest of the instance is locked down, bots and unwanted users can create accounts and sit inside the login flow. Confirm which registration mode is active and whether new accounts need administrator activation. Review recently created accounts for patterns such as unused addresses, repeated names or accounts that never log in, and check the mail server logs for confirmation messages sent to addresses that do not belong to your organization.

Domain rules bypassed with other addresses

Allowed email domain settings only check the address a user types at sign-up. A person who owns an address on a permitted domain, or who uses a personal address that an administrator later adds, can still get access, and existing accounts created before the rule are not re-checked. Test the rule with an address from a disallowed domain, review accounts created before the rule was added, and confirm with your identity team whether mailbox ownership is verified elsewhere.

Redmine 4.2 changes

Account deletion and lost history

When users can delete their own accounts, the history they created does not always disappear with them, and expectations about what happens can differ between users and the people who must answer for past changes. Decide in advance whether self-deletion is allowed at all, document what happens to issues, comments and time entries authored by a deleted user, and confirm that your audit and retention requirements are met. Check the deletion behavior on a test instance before users can see the option.

Anonymous paths outside the login page

A reverse proxy, a cached copy of a page or an API endpoint can answer requests without the login step that the Redmine interface enforces. Attachments, feeds, public wiki pages and the REST API may behave differently from the web pages you tested. Request each sensitive resource without a session cookie or API key, check the response codes, and confirm that the REST API is enabled only where it is needed. Ask your platform team which proxy rules and caching layers sit in front of the instance.

Questions teams ask before closing Redmine to the public

How much effort does closing a single Redmine instance to the public take?

For one instance, the core change is configuration: turning off anonymous access to content that should be private, choosing a self-registration mode, and reviewing the Anonymous role on each public project. The effort depends less on the setting changes than on checking what each project exposes today. Ask the provider to quote from a written scope that lists the instance, the number of projects, and whether any project is marked public. No duration figure is supplied for this work, so confirm the estimate against your own project list before agreeing a plan.

What do administrators and project owners need to provide?

Administrators need access to the Redmine administration settings and the ability to change global authentication options. Project owners need to confirm which projects should stay visible to outsiders, which content they hold, and who should keep access. Expect a short decision list: whether self-registration stays on, whether an approval step is needed, which email domains are allowed, and whether users may delete their own accounts. Those decisions are the input that makes the change fast, so gather them before work starts.

Can an internal team close Redmine to the public without outside help?

Yes, a team with Redmine administration skills can change these settings on its own. The work is mostly settings review, role review and a test pass from an unauthenticated browser. Outside help is most useful when the team lacks time to inventory projects, when the instance has many public projects, or when the team wants an independent check of the result. Whichever route you take, record the settings before and after the change so the decision is traceable.

What makes a larger Redmine lockdown project take more time?

Scope grows with several factors:

  • The number of public projects and the sensitivity of their issues, wiki pages and attachments.
  • Whether users sign in through LDAP, which changes where registration and password rules are controlled.
  • Installed plugins, since some add their own pages or access rules that must be tested.
  • External clients who need access to specific projects, which usually means custom roles and groups.
  • Whether the REST API is enabled, because API access follows the same visibility rules and must be checked separately.

Each factor adds review and testing work, so ask the provider to list them in the written scope.

Does Redmine 4.2 or later include email domain restrictions?

Yes. Redmine 4.2.0 added allowed and disallowed email domain settings for user addresses, which let you limit self-registration to approved domains or block known ones. Check which Redmine version you run before relying on this setting, because older releases do not have it. The Redmine 4.2 changelog describes the setting. Note that a domain rule controls who can register, not who can already hold an account, so review existing users as well.

What does a fixed-scope lockdown review produce?

A fixed-scope review produces a written record of what was checked and changed. Typical deliverables are a list of settings before and after the change, a review of the Anonymous role and each public project, test results from an unauthenticated session, and a short set of follow-up actions. Most engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts. DeployOpen does not issue audit reports or certifications, so if you need external assurance, confirm with your auditor which evidence they will accept.

What should a team ask for in a quote for this work?

Ask for a quote that matches a written scope and names each part of the work. Useful items to request are the instance and version covered, the number of projects reviewed, whether LDAP, plugins and the REST API are in scope, the testing method, and the deliverables. Also ask what happens after handover, including whether ongoing review is a one-time task or part of a retainer. Ongoing support, upgrades and continuous testing are available as retainers, so separate one-time work from recurring work in the quote.

Does closing Redmine to the public affect users who already have accounts?

Yes. Changing registration rules does not remove existing accounts, and turning off anonymous access changes what signed-out visitors can see. Existing users keep their roles unless an administrator changes them. Before the change, list active accounts, identify those with unexpected domains, and confirm with project owners who still needs access. Tell users in advance that they may need to sign in to see project pages.

Keeping access settings correct through upgrades and new projects

Access settings drift after go-live, so the anonymous-access check should be a routine step rather than a one-time review. A project created later can be marked public by a manager who never saw the original policy, and that single checkbox exposes issues, wiki pages and attachments to visitors who have no account. Confirm which roles in your install may create or change project visibility, and decide whether project creation stays with administrators or is delegated. Review the Anonymous role's permissions in the same pass, because it applies to every public project and is easy to widen while adjusting a role for logged-in members.

Upgrades are the second source of drift. When roles are edited during an upgrade or a plugin is added, its permissions are merged into existing roles and can grant read access that the previous configuration did not allow. Plugins can also register new modules or permissions that are enabled by default for some roles, so a plugin change deserves the same scrutiny as a Redmine upgrade. Check the upgrade guide at Redmine upgrade guide for the steps and the order of migrations, and then run your own checks on top of them.

Build a repeatable anonymous-access test and run it after every upgrade, after every plugin change and after any new public project is approved. Use a private browser session with no login, request the home page, the project list, the issue list and attachment URLs for a sample of public projects, and the REST API without a key, and record the results in a change ticket. Ask your team to confirm the expected outcome for each project before the test, so a surprise is visible immediately. Keep the test script under version control so the same checks run unchanged each time.

How DeployOpen reviews and hardens Redmine access

DeployOpen scopes, configures, tests and hands over the access settings that decide who can reach a Redmine instance, from sign-in requirements to self-registration and anonymous visibility. Each engagement is fixed-scope, with the settings to change, the checks to run and the evidence to keep agreed in writing before work starts.

How we scope

  • Written scope lists every access setting reviewed, including sign-in requirements, registration mode and email domain rules.
  • The review inventories public projects and what the Anonymous role can currently see or do.
  • Scope states which existing accounts, groups and external users are affected by each proposed change.

How we build

  • Changes are applied to a staging copy first, with before and after settings recorded for each item.
  • Test accounts confirm that registration modes, allowed email domains and account deletion behave as configured.
  • Anonymous access is checked from an unauthenticated session against every public project in scope.

How we hand over

  • Deliverables include a settings register, a test log, and a list of decisions the client owns.
  • Administrators receive a short runbook for approving registrations, adding domains and removing accounts.
  • Open items, such as identity provider or plugin dependencies, are documented with owners and next steps.

How we support

  • Ongoing support is available as a retainer for reviewing access settings after Redmine upgrades.
  • Retainers can include periodic re-testing of anonymous access and registration behavior.
  • Ask the team to confirm which support and retest terms apply to your environment before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.