Postgres encrypt a function

pvsbandi
pvsbandi used Ask the Experts™
on
Hi All,

   I have a requirement to encrypt a UDF, so the code cannot be seen by anyone, but can execute it.
Is there a possiblity? Please advise.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I don't think this is possible.  Maybe you could write a C function and only provide the object library.
There was a patch to implement the functionality for a custom build.

ALTER FUNCTION x() OBFUSCATE;

Author

Commented:
Thank you!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial