If I make something public in my software, is there any way for something outside of my program to use it?
Thanks,
Squirrelly1
Printable View
If I make something public in my software, is there any way for something outside of my program to use it?
Thanks,
Squirrelly1
no
This may not be what you mean, but if you expose public properties/subs/functions in a class that's available to other developers, yes, they can use them. But that's the purpose of making them public and making the class available.
If you mean can they access your Public Sub Main in a module, a Public sub or function in a form, etc, probably not, at least easily. I doubt hackers would be interested in apps that people like you and I write (i.e., many people who ask questions on these forums, who are learning, even on the job). I doubt there's any code that can't be hacked eventually.
Public should be avoided when possible, but hackers can still find a way in if they want.
At least that's my view. There's really, really hard code to crack, but I don't believe in crackproof code. The best thing you can hope for is that the effort isn't worth it.
Yes and easily . Think about public methods when you create them in a dll file or even in exe file inside a form .Quote:
Originally posted by squirrelly1
If I make something public in my software, is there any way for something outside of my program to use it?
Thanks,
Squirrelly1