---
title: JavaScript – Avoid Making Connections On Unsafe Protocols – UI Policy scriptFalse
description: "Impact Area Security Severity Warning Affected Element UI Policy ## Rule number **SN-0343** ## 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.…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/javascript-rules/javascript-avoid-making-connections-on-unsafe-protocols-ui-policy-scriptfalse/"
updated: "2025-03-21"
category: Best Practices Rules / JavaScript Rules
---

# JavaScript – Avoid Making Connections On Unsafe Protocols – UI Policy scriptFalse

Impact Area

Security

           Severity

Warning

           Affected Element

UI Policy

## Rule number

**SN-0343**

## 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).
