CodeGym
AI Academy
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme

Lessons

  • Reviews
  • About us
Start
Start learning
Start learning now
  • My Progress
  • Courses
  • University
  • Quest Map
  • Lessons
  • Access Audit and User Action Logging

    SQL SELF
    Level 48, Lesson 0
    In this lecture, you'll learn how to set up auditing and logging of user actions in PostgreSQL: track connections, log data changes, analyze logs for security and optimization, and use best practices for managing event logs.
    Available
  • Intro to Data Encryption with pgcrypto

    SQL SELF
    Level 48, Lesson 1
    In this lecture, you'll learn how to use the pgcrypto extension in PostgreSQL for encrypting, decrypting, and hashing data, as well as generating random tokens. We'll cover symmetric and asymmetric encryption, password protection, practical scenarios, and common mistakes when working with cryptography in your database.
    Available
  • Examples of Table-Level and Column-Level Data Encryption

    SQL SELF
    Level 48, Lesson 2
    In this lecture, you'll learn how to implement data encryption in PostgreSQL at the level of individual columns and tables. We'll check out some hands-on examples of using pgcrypto functions for symmetric encryption, adding encryption to existing tables, some quirks of working with encrypted data, and also how to safely store passwords using hashing.
    Available
  • Protection from SQL Injections and Other Attacks: PREPARE, EXECUTE, parameterized queries

    SQL SELF
    Level 48, Lesson 3
    In this lecture, you'll learn how to protect your PostgreSQL database from SQL injections and other attacks using prepared statements (PREPARE/EXECUTE), parameterized queries, and best practices for data validation and privilege setup. SQL and Python examples will help you get how to safely handle user input.
    Available
  • Common Security Setup Mistakes and How to Prevent Them

    SQL SELF
    Level 48, Lesson 4
    In this lecture, you'll learn about the most common mistakes when setting up PostgreSQL security: excessive privileges, lack of encryption, SQL injection vulnerabilities, misconfigured pg_hba.conf, RLS mistakes, risks with admin roles, insufficient logging, and outdated authentication methods. For each mistake, you'll get practical examples and ways to avoid them.
    Available
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym