Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
The stupid question is the question not asked
 
PerlMonks  

Re: Question of safe data passing...

by traveler (Parson)
on Apr 27, 2001 at 15:21 UTC ( [id://76140]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Question of safe data passing...

To answer your direct question, how about just creating a pipe in the C code and writing the data on that, then reading it from the perl script?

Another general approach I have seen taken to this problem is to store the (strongly encrypted) password in a file readable only by user x and then have the progrem accessing the password run setuid x to access the file.

traveler

Replies are listed 'Best First'.
Re: Re: Question of safe data passing...
by suaveant (Parson) on Apr 27, 2001 at 17:01 UTC
    I'm not sure how to open the pipe from C to perl, though I figured it could be done...

    I have an idea on how to do it in perl, but not really how to do it from C to perl in this fashion...
                    - Ant

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://76140]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.