Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security SecProg
[Top] [All Lists]

RE: Microsoft Writing Secure Code

Subject: RE: Microsoft Writing Secure Code
Date: Thu, 13 Jan 2005 14:30:40 -0600

For this reason, I program with complex non sequential numbers for variables, and is "assists" in making higher non secure code more secure.

However the downfall with this more complex non-sequential variable is that the more variables there are the easier it becomes to guess. Thus one would find 1 variable in 10 000 000 variables a lot quicker then 1 variable in a 1 000 variables.

Any comments / suggestions welcome (I am here to learn more).

Regards
  Anton

This isn't real security. As others have mentioned before, as soon as someone gains the ability to change var_userLevel, the game is up as it can be easily brute forced. It also complicates your code unnecessarily, and increases the difficulty of debugging. The very slight degree of increased difficulty to get the admin id isn't worth it. Better to spend more time insuring that they can't change var_userLevel.





<Prev in Thread] Current Thread [Next in Thread>