From 2f24489ecbd4050ebbdecafb8bb22bf2eeafb10d Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sun, 25 Jan 2026 17:12:34 -0600 Subject: [PATCH] add privacy page --- lib/towerops_web/components/layouts.ex | 8 ++ .../controllers/page_controller.ex | 4 + .../controllers/page_html/privacy.html.heex | 117 ++++++++++++++++++ lib/towerops_web/router.ex | 1 + 4 files changed, 130 insertions(+) create mode 100644 lib/towerops_web/controllers/page_html/privacy.html.heex diff --git a/lib/towerops_web/components/layouts.ex b/lib/towerops_web/components/layouts.ex index 71592f60..52e5f57c 100644 --- a/lib/towerops_web/components/layouts.ex +++ b/lib/towerops_web/components/layouts.ex @@ -612,6 +612,14 @@ defmodule ToweropsWeb.Layouts do

Copyright © {Date.utc_today().year} Towerops

+

+ <.link + navigate={~p"/privacy"} + class="hover:text-gray-900 dark:hover:text-gray-200 underline decoration-dotted underline-offset-2" + > + Privacy Policy + +

Last deploy {@time_ago} · {@formatted_time}

diff --git a/lib/towerops_web/controllers/page_controller.ex b/lib/towerops_web/controllers/page_controller.ex index c5c230a4..13032022 100644 --- a/lib/towerops_web/controllers/page_controller.ex +++ b/lib/towerops_web/controllers/page_controller.ex @@ -11,4 +11,8 @@ defmodule ToweropsWeb.PageController do render(conn, :home, layout: false) end end + + def privacy(conn, _params) do + render(conn, :privacy) + end end diff --git a/lib/towerops_web/controllers/page_html/privacy.html.heex b/lib/towerops_web/controllers/page_html/privacy.html.heex new file mode 100644 index 00000000..e39efc3b --- /dev/null +++ b/lib/towerops_web/controllers/page_html/privacy.html.heex @@ -0,0 +1,117 @@ + +
+
+

Privacy Policy

+

+ Last updated: {Date.utc_today() |> Calendar.strftime("%B %d, %Y")} +

+
+ +
+
+

+ Our Commitment to Privacy +

+

+ At Towerops, we value your privacy. This policy outlines how we collect, use, and protect your data when you use our network monitoring platform. +

+
+ +
+

+ Data Collection and Use +

+

+ We collect and store information necessary to provide our network monitoring services, including: +

+
    +
  • Account information (email address, organization details)
  • +
  • Network device data (IP addresses, SNMP data, device configurations)
  • +
  • Monitoring metrics and alerts
  • +
  • Usage information to improve our services
  • +
+

+ + Your data is used exclusively for providing our monitoring services to you. + + We will never sell, trade, or expose your data to third parties for marketing or any other purposes. +

+
+ +
+

Data Protection

+

+ We implement industry-standard security measures to protect your data: +

+
    +
  • Encrypted connections (HTTPS/TLS) for all data transmission
  • +
  • Secure database storage with encryption at rest
  • +
  • Access controls and authentication mechanisms
  • +
  • Regular security audits and updates
  • +
+
+ +
+

Data Retention

+

+ We retain your data for as long as your account is active and as necessary to provide our services. Time-series monitoring data is retained according to your subscription plan. When you delete your account, we will delete your data within 30 days, except where we are required to retain it for legal or compliance purposes. +

+
+ +
+

Third-Party Services

+

+ We use limited third-party services to operate our platform: +

+
    +
  • Cloud infrastructure providers for hosting
  • +
  • Email delivery services for notifications
  • +
  • Payment processors for subscription billing
  • +
+

+ These services are bound by their own privacy policies and are used solely to deliver our services to you. +

+
+ +
+

Your Rights

+

+ You have the right to: +

+
    +
  • Access your data at any time through your account
  • +
  • Export your data in standard formats
  • +
  • Request deletion of your account and associated data
  • +
  • Update or correct your information
  • +
  • Opt out of non-essential communications
  • +
+
+ +
+

Cookies and Tracking

+

+ We use essential cookies to maintain your session and preferences. We do not use third-party tracking or advertising cookies. +

+
+ +
+

+ Changes to This Policy +

+

+ We may update this privacy policy from time to time. We will notify you of any significant changes by email or through our platform. +

+
+ +
+

Contact Us

+

+ If you have questions about this privacy policy or how we handle your data, please contact us at privacy@towerops.net. +

+
+
+
+
diff --git a/lib/towerops_web/router.ex b/lib/towerops_web/router.ex index fdada219..42406066 100644 --- a/lib/towerops_web/router.ex +++ b/lib/towerops_web/router.ex @@ -43,6 +43,7 @@ defmodule ToweropsWeb.Router do pipe_through :browser get "/", PageController, :home + get "/privacy", PageController, :privacy get "/docs/api", ApiDocsController, :index end