Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop people amending scripts

Status
Not open for further replies.

scaifea

Technical User
Apr 14, 2005
35
GB
Is there a simple security function I can build into a PErl script to stop people amending them?
 
Build an executable? google for [perl2exe PAR pp], but why?

Paul
------------------------------------
Spend an hour a week on CPAN, helps cure all known programming ailments ;-)
 
I would just like to protect the odd script or two from being amended :)
 
On unix, you could always put them in another directory, with an execute-only permission. Then link to them from /usr/bin or wherever. Then they can execute them, but not read or write them.

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top