Opinions: I want to disallow direct invocation of certain scripts, that have functionality accessible from a menu, via Web at the OS level (linux).
I was hoping to call a authorize.pl script that checks the session validity, checks user privileges etc. Then it will redirect to the target script.
Does this get around permissions? Could I restrict execute on the target scripts from public, but set target scripts accessible to group to which authorize.pl belongs? Does this reflect any current practice?