Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: PAR only filters one of two copies of the script to be placed in the executable

by erroneousBollock (Curate)
on Nov 02, 2007 at 17:41 UTC ( #648702=note: print w/replies, xml ) Need Help??


in reply to PAR only filters one of two copies of the script to be placed in the executable

an executable that I can deliver to users who don't have perl installed on their machines. The exe has to connect to a database and must contain a password
That sounds dubious. Is the database on their network or yours ?

If it's on their network, put the user/pass in a plain textfile that gets read by the executable. You really shouldn't care if it readable by the customer.

If it's on your network, the executable should talk to the database via a carefully crafted set of RPC APIs (SOAP, XMLRPC, JSON, REST, whatever) that use password-auth/ACLs/IPs/certificates as appropriate to secure the service. Even then, you can feel free to store those credentials on the client's disk separately to the executable... just make sure users are aware of the security issues associated with losing/sharing their credentials (and you should have policies to deal with those aspects).

It's a really bad idea to expose an RDBMS over the internet.

-David

  • Comment on Re: PAR only filters one of two copies of the script to be placed in the executable

Replies are listed 'Best First'.
Re: PAR only filters one of two copies of the script to be placed in the executable
by atopolc (Pilgrim) on Nov 05, 2007 at 16:20 UTC
    Thanks for your reply. This application is for internal use only, on the same network, on the same database, and not on the internet.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2022-05-28 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?