Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: 'Restricted' data, an additional security mechanism for Perl.

by bl0rf (Pilgrim)
on Feb 10, 2004 at 03:14 UTC ( #327803=note: print w/replies, xml ) Need Help??

in reply to 'Restricted' data, an additional security mechanism for Perl.

Methinks that this might have a useful application in some sphere ( perhaps a mutation of this idea? ) but the farthest it can go is a module and a tutorial explaining the idea to programmers. I do not beleive this is worth implementing into Perl itself, I also don't believe in preventing programmers from making mistakes - if I didn't make mistakes I'd go crazy.
This could probably be implemented as an object that's like a cache for data - it encrypts it on the way in, and then you have to call a decrypt routine on the way out. This will prevent data turning up in error messages.
I think what pjf wants is a system where the data will have to be explicitly used, instead of restricting the use (make the programmer completely aware of what he(she?) is doing).

(Yes, I do realize that I denounced it and then provided a possible implementation... perhaps I am crazy already)

  • Comment on Re: 'Restricted' data, an additional security mechanism for Perl.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2022-05-18 14:04 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (71 votes). Check out past polls.