800 likes | 914 Vues
DISPWHEN is a powerful PPL-based utility designed to monitor day, time, and user security levels to conditionally display files. It allows configuration of security thresholds and time restrictions, enabling dynamic file access control. Users can specify time ranges, days of the week, and file paths to display specific files based on caller security. For instance, the command `!DispWhen.PPE.10;80;06:00;08:00;NYYYYYN;C:PCBGENNoWay` shows a file to users with a security level of 10 to 80 from 6 AM to 8 AM on weekdays. This program simplifies file access management in a secure environment.
E N D
; *****************************************************************
; * *
; * *
; * *
; * *
; * *
; *****************************************************************
; This .PPE checks day, time & security level and displays a file if applicable.
; !DispWhen.PPE LowSec;HighSec;StartTime;EndTime;Days;DisplayFile
; Days is the day flags to display the file SMTWTFS (Y or N for each)
; The file C:\PCB\GEN\NoWay will be displayed to any caller with a security
; level between 10 and 80 (inclusive) between the hours 6am to 8am on a
; DispWhen will properly Handle time ranges where the EndTime falls before the
; Also, Days maybe left blank (as above example) and YYYYYYY will be assumed.
; (Y will be assumed for any days not specified ie NN becomes NNYYYYY)