Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Can you prevent MO=Deparse

by crenz (Priest)
on May 08, 2003 at 21:10 UTC ( #256686=note: print w/replies, xml ) Need Help??


in reply to Can you prevent MO=Deparse

If you want to hide away passwords, you need to solve your problem on the OS level, not in Perl.

For example, on a shared webserver you better hide away your database passwords and/or database files (if you use something like DBM). I do this by limiting access to the files that contain sensitive information: Only my userid is allowed to access these files (the proverbial chmod g-rwx,o-rwx myscript.cgi). The programs working with that information either run from my account (e.g. via cron) or as wrapped CGIs (ie., they run under my userid instead of the webserver's).

This leaves me with no need for obfuscating the source code, and is definitely more secure than any obfuscation method someone could come up with.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2020-10-28 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (259 votes). Check out past polls.

    Notices?