Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Password question

by alexm (Chaplain)
on Aug 13, 2009 at 14:33 UTC ( #788308=note: print w/ replies, xml ) Need Help??


in reply to Password question

What are you trying to achive with that password? Forbid the user to execute the script? Since Perl scripts have to be readable in order to be executable, a smart user could copy the script, remove the part requesting a password and then execute it.

OTOH, you could jail the script with permissions and a suid/sgid wrapper in C, but maybe this is too overkill depending on what you want.


Comment on Re: Password question

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://788308]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-08-23 03:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls