Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

how do i keep users (hackers) from seeing my code in firebug and web developer

  • 7 replies
  • 3 have this problem
  • 6 views
  • Last reply by cor-el

more options

firebug and web developer is a fantastic tool i use it all the time. however it dawns on me that hackers can use it too. with the rise of hacking in the world, the advent of both of these fantastic tools also aids them in there efforts to destroy/steel what someone has made . I'm not a super programer and don't like the fact that anyone (which includes hackers) could see all or most of my code. when governments setup hackers to do nothing but hack websites then there should be a way to turn off the ability to see the code that someone has worked very hard to write. Is there a way to disable these tools from the web server and or website side.

firebug and web developer is a fantastic tool i use it all the time. however it dawns on me that hackers can use it too. with the rise of hacking in the world, the advent of both of these fantastic tools also aids them in there efforts to destroy/steel what someone has made . I'm not a super programer and don't like the fact that anyone (which includes hackers) could see all or most of my code. when governments setup hackers to do nothing but hack websites then there should be a way to turn off the ability to see the code that someone has worked very hard to write. Is there a way to disable these tools from the web server and or website side.

All Replies (7)

more options

Hi,

Even if you could disable this plugin for any web page, can you always look at the source code of a site, you can't prevent that unfortunately.

more options

granted that i won't be able to stop everyone but i don't want to make it so easy that even a 10 year old can hose me.

more options

Well, I guess every 10 year-old can *Right click "View page source code"*

Modified by Mynry

more options

firebug and web developer does a lot more then just view source code.

as a thought just because a ten year old can throw a brick through the window of your car doesn't mean that you shouldn't have door locks.

more options

Regardless of the "tools" involved - Firebug, Web Developer, or View Source - you can't hide the code used to put together web pages. You can make it harder to copy by using SSI or PHP.
http://en.wikipedia.org/wiki/Server_Side_Includes
http://en.wikipedia.org/wiki/PHP

As far as destroying or stealing "what someone has made", if you want to keep something secure - don't post it to the internet!

Since this topic is not directly related to Firefox support - you need to find somewhere else to hold this type of discussion. Forum Rules & Guidelines .

more options

What i have learned from this exchange is that most if not all web browsers are HACKER friendly. The writer of a web site does not have a choice whether or not to expose his code to the world. Isn’t that kind of silly? I think this would be called anti security that would affect both the web site and anyone that uses the web site. It would be safer to post my code on you tube, than have hackers watch my code actively running on my website.

Web designers should have the ability to do the following. have A command that has been incorporated into the web page that would recognize by the browser to disable the viewing of code by any diagnostic tool of any type (I.E. Firebug, Web Developer, or even View Source) for example toolview = true or false. At least give us a choice.

Would you hang the key to your home on a nail next to your front door for all to see? Well if my bread and butter is going to be from my web site then I wouldn’t want the key in plain view for all to see. Would you?

Thank you for your help and have a good day.

more options

You would have to render your code in a plugin like Flash to hide its original code and only make a browser display the result. Any HTML code that is send directly can be inspected without problems.