# Feature OP-14297 - Spam prevention

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-14297

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an OpenProject admin of a public OpenProject instance (think community.openproject.org)  
**I want to** have a system in place that prevents users from creating spam content no matter where  
**so that** the real content is easier to find and spam is reduced.

**Acceptance criteria**

  - prevent users from creating spam in
      - forums
      - work packages

**Considerations**

  - the main goal of these spam posts is to post links to their content and to get reputable sites to link to increase their SEO score via backlinks
  - we could add a blanket ban on posting links
      - we could only allow it for users who have been active for a while
  - **safe links**, like in some web mailers, will replace any external links with a link to OpenProject itself where a user is warned about the external link (similar to the login callback URL)
      - on this page, there is no actual link (anchor HTML tag) but a label with the link which only triggers the redirect via Javascript
      - this will ruin the SEO score angle because there are no more direct external links to anything which may deter these users from trying it eventually
      - this is also by far the cheapest and quickest option to implement
      - or perhaps it's enough to just add a `rel=nofollow` to all links which we don't do in the forum yet
