matteosalvati Posted May 9, 2014 Share Posted May 9, 2014 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 More sharing options...
Dh42 Posted May 9, 2014 Share Posted May 9, 2014 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 More sharing options...
matteosalvati Posted May 9, 2014 Author Share Posted May 9, 2014 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? Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 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 More sharing options...
matteosalvati Posted May 9, 2014 Author Share Posted May 9, 2014 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 More sharing options...
Dh42 Posted May 9, 2014 Share Posted May 9, 2014 This is the only example I have ever seen of it, http://www.reddit.com/r/programming/comments/1xsihn/developer_enquires_how_can_facebook_disable/ Link to comment Share on other sites More sharing options...
Dh42 Posted May 9, 2014 Share Posted May 9, 2014 I am not seeing that, this is what I see, http://screencast.com/t/a02Ci3aEKS7J http://screencast.com/t/tumFUCcrj Can you screenshot what you see. Link to comment Share on other sites More sharing options...
vekia Posted May 10, 2014 Share Posted May 10, 2014 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. it's not possible to hide styles and js files. Link to comment Share on other sites More sharing options...
Recommended Posts