|
-
Apr 14th, 2004, 01:30 PM
#1
Thread Starter
Frenzied Member
Public Functions, Subs, Variables
If I make something public in my software, is there any way for something outside of my program to use it?
Thanks,
Squirrelly1
Now happily married and still crankin' away at the keyboard.  Life is grand for a coder, no?
-
Apr 14th, 2004, 05:33 PM
#2
Lively Member
-
Apr 14th, 2004, 06:55 PM
#3
Frenzied Member
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.
-
Apr 14th, 2004, 07:19 PM
#4
Sleep mode
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
Yes and easily . Think about public methods when you create them in a dll file or even in exe file inside a form .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|