Mdwasim2505's picture
Create a complete AI-Powered Cyberbullying Detection Portal web application using Python (Flask) with the following features:
93b2045 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Privacy Policy | CyberGuardian</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-gray-50">
<nav class="bg-blue-600 text-white shadow-lg">
<div class="max-w-6xl mx-auto px-4">
<div class="flex justify-between h-16">
<div class="flex items-center">
<i data-feather="shield" class="mr-2"></i>
<span class="font-semibold text-xl">CyberGuardian</span>
</div>
<div class="hidden md:flex items-center space-x-4">
{% if current_user.is_authenticated %}
{% if current_user.role == 'admin' %}
<a href="/admin" class="px-3 py-2 hover:bg-blue-700 rounded-md">Admin</a>
{% else %}
<a href="/dashboard" class="px-3 py-2 hover:bg-blue-700 rounded-md">Dashboard</a>
{% endif %}
<a href="/about" class="px-3 py-2 hover:bg-blue-700 rounded-md">About</a>
<a href="/privacy" class="px-3 py-2 bg-blue-700 rounded-md">Privacy</a>
<a href="/logout" class="px-3 py-2 hover:bg-blue-700 rounded-md flex items-center">
<i data-feather="log-out" class="mr-1"></i> Logout
</a>
{% else %}
<a href="/about" class="px-3 py-2 hover:bg-blue-700 rounded-md">About</a>
<a href="/privacy" class="px-3 py-2 bg-blue-700 rounded-md">Privacy</a>
<a href="/login" class="px-3 py-2 bg-white text-blue-600 rounded-md font-medium">Login</a>
{% endif %}
</div>
<div class="md:hidden flex items-center">
<button class="mobile-menu-button">
<i data-feather="menu"></i>
</button>
</div>
</div>
</div>
</nav>
<div class="max-w-4xl mx-auto px-4 py-12">
<div class="text-center mb-12">
<h1 class="text-4xl font-bold text-blue-800 mb-4">Privacy Policy</h1>
<p class="text-xl text-gray-600 max-w-2xl mx-auto">
Your privacy is important to us. Here's how we protect your data.
</p>
</div>
<div class="bg-white rounded-lg shadow-md p-8">
<div class="prose max-w-none">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Data Collection</h2>
<p>
We collect the following information when you use CyberGuardian:
</p>
<ul class="list-disc pl-5 mt-2 mb-6">
<li>Account information (username, email address)</li>
<li>Text content you submit for analysis</li>
<li>Results of toxicity analysis including category and confidence score</li>
<li>Timestamps of your activities</li>
</ul>
<h2 class="text-2xl font-bold text-gray-800 mb-4 mt-8">Data Storage</h2>
<p>
All data is stored securely in an encrypted SQLite database on our servers.
We implement industry-standard security measures to protect your information.
</p>
<h2 class="text-2xl font-bold text-gray-800 mb-4 mt-8">Data Usage</h2>
<p>
Your data is used exclusively to:
</p>
<ul class="list-disc pl-5 mt-2 mb-6">
<li>Provide the toxicity analysis service</li>
<li>Maintain your analysis history for your reference</li>
<li>Improve our detection algorithms (anonymized and aggregated data only)</li>
</ul>
<h2 class="text-2xl font-bold text-gray-800 mb-4 mt-8">Data Sharing</h2>
<p>
We do not share your personal data or analysis content with any third parties,
except as required by law. Aggregate statistics may be used for research and
improvement purposes.
</p>
<h2 class="text-2xl font-bold text-gray-800 mb-4 mt-8">Your Rights</h2>
<p>
You have the right to:
</p>
<ul class="list-disc pl-5 mt-2 mb-6">
<li>Access all data we have stored about you</li>
<li>Request deletion of your account and associated data</li>
<li>Export your data in a machine-readable format</li>
</ul>
<h2 class="text-2xl font-bold text-gray-800 mb-4 mt-8">Changes to This Policy</h2>
<p>
We may update this Privacy Policy from time to time. We will notify you of any
significant changes by email or through a notice on our website.
</p>
<div class="mt-12 border-t border-gray-200 pt-8">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Contact Us</h2>
<p>
If you have any questions about this Privacy Policy, please contact us at
<a href="mailto:[email protected]" class="text-blue-600 hover:text-blue-800">[email protected]</a>.
</p>
<p class="mt-4">
Last updated: June 2023
</p>
</div>
</div>
</div>
</div>
<footer class="bg-gray-100 border-t mt-12">
<div class="max-w-6xl mx-auto px-4 py-8">
<div class="md:flex md:justify-between">
<div class="mb-8 md:mb-0">
<h2 class="text-lg font-semibold text-gray-900 mb-4">CyberGuardian</h2>
<p class="text-gray-600 max-w-xs">Making online spaces safer with AI-powered toxicity detection.</p>
</div>
<div class="grid grid-cols-2 gap-8 sm:grid-cols-3">
<div>
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase mb-4">Resources</h3>
<ul class="space-y-2">
<li><a href="/about" class="text-gray-600 hover:text-blue-600">About</a></li>
<li><a href="/privacy" class="text-gray-600 hover:text-blue-600">Privacy</a></li>
</ul>
</div>
<div>
<h3 class="text-sm font-semibold text-gray-900 tracking-wider uppercase mb-4">Legal</h3>
<ul class="space-y-2">
<li><a href="/privacy" class="text-gray-600 hover:text-blue-600">Privacy Policy</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600">Terms</a></li>
</ul>
</div>
</div>
</div>
<div class="mt-8 pt-8 border-t border-gray-200 md:flex md:items-center md:justify-between">
<div class="flex space-x-6 md:order-2">
<a href="#" class="text-gray-400 hover:text-gray-500">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500">
<i data-feather="github"></i>
</a>
</div>
<p class="mt-8 text-base text-gray-500 md:mt-0 md:order-1">
&copy; 2023 CyberGuardian. All rights reserved.
</p>
</div>
</div>
</footer>
<script>feather.replace();</script>
</body>
</html>