---
title: Accessing Endpoints Over Unencrypted Http Should Be Avoided
description: "Impact Area Security Severity High Affected Element Apex Class ## Rule ID **SF-0020** ## Impact Redirects to http sites can be unsafe. ## Remediation You should always use https for security. ### Time to fix 30 min ## References This…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/accessing-endpoints-over-unencrypted-http-should-be-avoided/"
updated: "2025-03-21"
category: PMD Rules
---

# Accessing Endpoints Over Unencrypted Http Should Be Avoided

Impact Area

Security

Severity

High

           Affected Element

Apex Class

## Rule ID

**SF-0020**

## Impact

Redirects to http sites can be unsafe.

## Remediation

You should always use https for security.

### Time to fix

30 min

## References

This rule is linked to [Common Weakness Enumeration CWE-284 Improper Access Control](https://cwe.mitre.org/data/definitions/284.html).
