View Single Post
06-28-16, 11:45 AM   #4
Lombra
A Molten Giant
 
Lombra's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 554
I understand. While not an answer to your question, in cases like these I'd say you shouldn't be bothering. If a user goes in and deliberately sabotages stuff, that's really a futile thing to try and prevent. Nothing prevents someone from disassembling their computer and putting a screwdriver through their CPU, but why would they do that?

Don't bother protecting the user from themself unless it's something that's easily accessible or may accidentally happen.

Edit: As long as the library is accessible via LibStub and the callback object via the library object I don't believe there's a way to deny anyone access to it, no.
__________________
Grab your sword and fight the Horde!

Last edited by Lombra : 06-28-16 at 11:50 AM.
  Reply With Quote