Access Manager, a security model developed for real-time applications, provides an easy-to-use yet robust system to secure chat applications by using PubNub's infrastructure. The system enables developers to manage user permissions dynamically through a text-based chat application that demonstrates its capabilities, where users can gain or lose access to chat channels by requesting permissions from an app server via an unrestricted PubNub channel. Designed to simplify the setup process, Access Manager uses a whitelist authentication system to validate messages and prevent unauthorized data access, allowing developers to modify access rules at various levels, such as key, channel, or user, and ensuring scalability and convenience in building secure applications. By leveraging JavaScript on both the front end and NodeJS on the back end, the system bypasses the need for extensive configuration files, enabling developers to focus on defining access rules while PubNub handles the underlying security infrastructure.