protection

What are some ways to protect emails on websites from spambots?

ぃ、小莉子 提交于 2019-11-26 12:19:51
问题 I\'m creating a public internet facing website which contains the email address of their salespeople. What kind of programming options do I have to generate the \"mailto\" and display the email from that address but limit the spambots from picking up the address? 回答1: Recaptcha has an excellent capture based email protection. You can see it implemented at the bottom of any page in my website using the Site Feedback link. 回答2: I know that Facebook does it by displaying an image instead of text

Why can I access my private variables of the “other” object directly, in my equals(Object o) method

北慕城南 提交于 2019-11-26 11:01:29
问题 In Java in the equals(Object o) method I can access the private variables of the passed in object without going through its public getters. public boolean equals(Object o){ ... MyObject other = (MyObject)o; return getProp() == other.prop; } How\'s that? 回答1: Private data is accessible by any instance of that class, even if one instance of class A is accessing the private members of another instance of A. It's important to remember that that access modifiers (private, protected, public) are

How effective is obfuscation?

天涯浪子 提交于 2019-11-26 10:31:54
问题 A different question, i.e. Best .NET obfuscation tools/strategy, asks whether obfuscation is easy to implement using tools. My question though is, is obfuscation effective? In a comment replying to this answer, someone said that \" if you\'re worried about source theft ... obfuscation is almost trivial to a real cracker \". I\'ve looked at the output from the Community Edition of Dotfuscator: and it looks obfuscated to me! I wouldn\'t want to maintain that! I understand that simply \'cracking

When and how to use GCC's stack protection feature?

£可爱£侵袭症+ 提交于 2019-11-26 07:22:02
问题 I have enabled the -Wstack-protector warning when compiling the project I\'m working on (a commercial multi-platform C++ game engine, compiling on Mac OS X 10.6 with GCC 4.2). This flag warns about functions that will not be protected against stack smashing even though -fstack-protector is enabled. GCC emits some warnings when building the project: not protecting function: no buffer at least 8 bytes long not protecting local variables: variable length buffer For the first warning, I found

How can I obfuscate my c# code, so it can't be deobfuscated so easily? [closed]

好久不见. 提交于 2019-11-26 05:32:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I release a bunch of tools for free, but recently I have began to sell an application, that has private research, and people have been able to get my source code, and one person publically released my entire source. I spent a lot of time on this program, just to have someone crack it, and release my entire

Secure hash and salt for PHP passwords

谁说我不能喝 提交于 2019-11-25 21:32:22
问题 It is currently said that MD5 is partially unsafe. Taking this into consideration, I\'d like to know which mechanism to use for password protection. This question, Is “double hashing” a password less secure than just hashing it once? suggests that hashing multiple times may be a good idea, whereas How to implement password protection for individual files? suggests using salt. I\'m using PHP. I want a safe and fast password encryption system. Hashing a password a million times may be safer,