I am using Perl PAR module for packaging my applications written in Perl. As a security request, I'd like to prevent users from modifying the scripts. Is it possible to do this within the PAR module, or is there any other way of achiving this?
Well, the obvious way would be to modify the security on the script to only allow users that you want (or in a certain group) write permissions.
In Linux, you could use chmod 755 [filename]. That would give the script owner read, write and execute permission, and everyone else read and execute (so they could run it). If you want a more specific answer, please let us know what your exact goal is. Is only a specific group supposed to be able to read and execute this script, too?