Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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
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 romping around the Monastery: (4)
As of 2016-10-24 02:41 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.