为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 7 个回答
  • 3 人有此问题
  • 6 次查看
  • 最后回复者为 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.

所有回复 (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"*

由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.