When people post code on forums they tend to change or blur out parts of their code. Probably because they want to protect certain parts that might be exploited if it ends up in the wrong hands, I guess?But is it really necessary to do this?  Here are a couple of things I see a lot:  Renaming id's and class names in html and cssRenaming variables and functions in codeBluring out parts of a folder structure  Changing stored procedure names and it's parametersPosting of example code rather than real codePasswords and connection strings to the DB are obvious things you shouldn't post but how a bout the rest?  Is it ok to give out a DB name? Is there anything in the web.config you shouldn't post? How about the .htaccess file on Apache or a folder structure on the system, etc...Basically what I'm asking is which parts are safe to post and which are not?
What parts of my configuration and my code should I not post?
security
When tackling any tricky bug you should reduce the problem to the minimum amount of code needed to show the issue. This is way before you post to any forum. Most of the time, the act of writing this example code will help you figure out the problem, and even if not at least you will have isolated it.If you are still stuck the minimal code you have should allow you to describe the problem clearly and would also be a suitable piece of code to post on a forum.