---
title: JavaScript – Avoid Making Connections On Unsafe Protocols – Catalog UI Policy scriptTrue
description: "Impact Area Security Severity Warning Affected Element Catalog UI Policy ## Rule number **SN-0366** ## Impact Use of to non-encrypted protocols such as `http` and `ftp` can cause data leaks. ## Remediation Always use encrypted protocols to transfer data in and out of the…"
url: "https://community-staging.qualityclouds.com/qcdocs/qcr/rules/javascript-avoid-making-connections-on-unsafe-protocols-catalog-ui-policy-scripttrue/"
updated: "2025-03-21"
category: Best Practices Rules / JavaScript Rules
---

# JavaScript – Avoid Making Connections On Unsafe Protocols – Catalog UI Policy scriptTrue

Impact Area       Security           Severity       Warning           Affected Element       Catalog UI Policy

## Rule number

**SN-0366**

## Impact

Use of to non-encrypted protocols such as `http` and `ftp` can cause data leaks.

## Remediation

Always use encrypted protocols to transfer data in and out of the instance.

### Time to fix

10 min

## References

This rule is linked to [Common Weakness Enumeration CWE-311 Missing Encryption of Sensitive Data](https://cwe.mitre.org/data/definitions/311.html).
