Setting Security on a Window
You can configure security settings that control who can and who can't open a window. While in the Designer, right-click on a window in the Project Browser and select Security. Window Security is configured the same way that Component Security is configured.
Select the permissions based on your business requirements. Windows only have one Restriction option: Do Not Open. This means unless the user has one of the selected roles, they cannot open the window. They will see a warning message instead.