Jump to content

Web site security how hide code visible from firebug, chrome console ect


Recommended Posts

hi,

 

a tecnical question

 

i want that my JS, CSS codes are not visible from console, or software same as Firebug.

 

in most sites, if i try to see js code with firebug, don't show nothing, but in my, NOT!

 

For me is comfortable because can edit CSS easily but all could copy my contents!

 

maybe depend of SSL encription? but most site have also http ant not https protocol.

 

 

is there anything I should do to avoid this and make my site more secure?

 

 

mroe thanks

Link to comment
Share on other sites

This is something that you are never really going to make happen. I wouldn't worry too much about it, there is no security risk, and it is harder to copy a site than you think. 

Link to comment
Share on other sites

yes, i know that, In fact it's also for my curiosity, but why most sites have access restriction for console, Firebug etc? and how done they?

 

it's first time when i hear about that, can you show any example?

Link to comment
Share on other sites

example: if you go in this site: www.glistockisti.it (this COULD not have SSL because the protocol is http and not https, i think but i'm not sure because is not my)

 

and with Firebug try to inspect (show) CSS or JS code, you cannot do and appear this line

 

"Access to restricted URI denied.
The stylesheet could not be loaded due to access restrictions. more..."

 

and this is for most of the sites that are online.

 

 

instead, if you go on this esample site www.melapoint.com and try to inspect CSS and JS, you can show ALL.

directory of files, complete css and js code, etc..

 

i know that there aren't security risk because is harder to copy a site, but io would have same restriction that have that sites for privacy reasons!

Link to comment
Share on other sites

example: if you go in this site: www.glistockisti.it (this COULD not have SSL because the protocol is http and not https, i think but i'm not sure because is not my)

 

and with Firebug try to inspect (show) CSS or JS code, you cannot do and appear this line

 

"Access to restricted URI denied.
The stylesheet could not be loaded due to access restrictions. more..."

 

and this is for most of the sites that are online.

 

OFatzZI.png

 

 

it's not possible to hide styles and js files.

Link to comment
Share on other sites

×
×
  • Create New...