Html Block Source Error
Contents |
- sql HTML & Graphics Tutorials getting started backgrounds buttons browser specific colors forms frames html 4.01 tags html 4.01 ref image maps tables web graphics
How To Hide Source Code Of Html From View Source
Beyond HTML asp cascading style sheets css keyword ref cgi scripting how to encrypt html source code developer research center dhtml/layers dot net java applets javascript javascript frameworks javascript keyword ref javascript script tips mobile hide html source code using php web development open source cms php security SEO vb script keyword ref webmaster tips webmaster projects webmaster toolbox video xml general reference pieces the master list Need Help? discussion
Disable View Source
boards mentors Post a comment Email Article Print Article Share Articles Reddit Facebook Twitter del.icio.us Digg Slashdot DZone StumbleUpon FriendFeed Furl Newsvine Google LinkedIn MySpace Technorati YahooBuzz Web Developer Class: How to Hide your Source Code By Forum Member Web Developer Tweet This question gets asked fairly often on Web Developer forums, so we've assembled a definitive answer to
Hide Php Code From View Source
the question of how one can hide their HTML source from others. Source Code Padding Really, the oldest trick in the book. It involves adding a ton of white space before the start of your code so that the view source menu appears blank. However, must all people will notice the scroll bars and will scroll around to find your code. As pointless and silly as this method is, there are some still who use it. No Right Click Scripts These scripts stop users from right-clicking, where the "View Source" function is located. Cons: Notoriously hard to get working across browsers and to actually work properly. The right-click menu, or context menu, includes many helpful tools for users, including navigation buttons and the "Bookmark Page" button. Most users don't take kindly to having their browser functionality disabled and are inclined not to revisit such pages. The View Source function is also available through the top Menu. At the main menu bar at the top of your browser, select View, and then in the s
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about how to encrypt html source code using javascript hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges
Hide Javascript Code From Client
Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each how to hide html code other. Join them; it only takes a minute: Sign up how to hide my source code so to not be copied up vote 8 down vote favorite 2 I was recently informed by someone that my website was copied. http://www.htmlgoodies.com/beyond/article.php/3875651/Web-Developer-Class-How-to-Hide-your-Source-Code.htm When I looked at the linked that he gave me I so that the site was identic to mine except for the logo and text. Is there a way to hide my code? Or to make it impossible to right click on my page? I saw on some websites that if you go to http://example.com/images/ it will show access denied, not a list with all your images...How do they do it? Thank you! html copy share|improve this question http://stackoverflow.com/questions/12543704/how-to-hide-my-source-code-so-to-not-be-copied edited Sep 22 '12 at 12:24 lunaryorn 21.2k24566 asked Sep 22 '12 at 12:21 Claudiu Creanga 2,46072352 your link is broken –NullPoiиteя Sep 22 '12 at 12:23 I just posted an example. It is not a link. Some websites hide their images. On my website anyone can get them by adding /images... –Claudiu Creanga Sep 22 '12 at 12:24 4 @Claudiu In future, use the domain example.com to make clear that a link is supposed to be an example. This domain is intended for this very purpose. I've edited your question accordingly. –lunaryorn Sep 22 '12 at 12:25 add a comment| 9 Answers 9 active oldest votes up vote 5 down vote accepted Don't do this! It makes no sense to do this, since the user can disable the script, and there are many tools like Firebug by which a user can see the code. The best way to keep safe the store is installing a security camera while leaving the doors open. You can simply disable the right click by following:
... or The code above is from this article share|improve this answer edited Oct 6 '14 at 13:19 TylerH 11k63666 answered Sep 22 '12 at 12:26public view, like wordpress config.php, whmcs configuration.php, and more files are hidden, but inside it have code but when we check in browser https://www.sitepoint.com/community/t/how-to-hide-source-code-from-public-view/115681 view source it display none. How to do like this in php and https://www.daniweb.com/programming/web-development/threads/138420/how-to-disable-view-source-and-ctrl-c-from-a-site asp.net or with javascript. Mittineague 2015-03-17 06:56:03 UTC #2 Rajeevrrs: How to do like this in php and asp.net or with javascript. PHP code is processed server side - it has no view-source. *however, sensitive files should be outside the root so if the engine goes down they can't be viewed as plain how to text, ASP is compiled server side - it has now view-source JavaScript can be obfuscated and minified, but IMHO it isn't worth the bother Rajeevrrs 2015-03-17 07:00:53 UTC #3 I need to make hide sour0ce of particular div with contain javascript with jquery. i need to hide that from public view in source code Mittineague 2015-03-17 07:06:45 UTC #4 Can't be done. This best you can html source code do is obfuscate and minify the JavaScript.. But if someone is determined enough they can go through the trouble to see it in it's orignal form. Nothing personal, but believe me, as special as you may think your code is, it is almost assuredly not that special. megazoid 2015-03-17 07:07:01 UTC #5 You can't do that. You can only make it less readable with obfuscation as @Mittineague said. Use this service for example. Rajeevrrs 2015-03-17 07:13:20 UTC #6 But how wordpress and other big cms hiding code from public view like config.php, install.php, license.php and more files are hidden Mittineague 2015-03-17 07:28:22 UTC #7 config doesn't produce any output. (well, except maybe whitespace) install is in the admin folder so you need to be logged in as Admin. license .txt is not meant to be hidden, it is the GNU GENERAL PUBLIC LICENSE If you don't see it, it may have been deleted. megazoid 2015-03-17 07:28:47 UTC #8 PHP is a server-side technology, PHP source code stored and executed on the server, so in browser you can see only results produced by that code. But HTML and JS are client-side technologies. That means HTML and JS sour
Is there a chance to disable these two things from my site? (View Source) and (Ctrl + C ) please, give me few minutes from your time and help, i'll be much more appreciated :) thanks in advance :) javascript Q8iEnG 189 posts since Jun 2008 Community Member 14Contributors 22Replies 69Views 8 YearsDiscussion Span 1 Month Ago Last Post by Saldo_1 0 Shanti C 106 8 Years Ago hello.. read the following: How to Disable 'View Source'http://www.felgall.com/htmlt4.htmhttp://www.encrypt-html.com/_disable_view_source.htmhttp://en.allexperts.com/q/Javascript-1520/disable-view-source-1.htmhttp://www.15seconds.com/howto/pg000916.htm 0 Shanti C 106 8 Years Ago For this I use onKeyDown event. See the following code that disables CTRL C and CTRL V. Note that this is not enough to prevent COPY/PASTE in a text field, since the user can use CTRL INS, SHIFT INS or simply use the context menu (right click on text field).
1 Featured Reply Shanti C 106 8 Years Ago how to disable ctrl+c:http://www.faqs.org/faqs/msdos-programmer-faq/part2/section-16.html And That shortcut is handled by the operating system. It never reaches the browser and so the browser has no opportunity to pass it to the web page. IE only: Add the following code to your BODY tag: ondragstart="return false" onselectstart="return false" Comments Q8iEnG: Thanks for the big help :) 0 Discussion Starter Q8iEnG 8 Years Ago Thanks a lot you did helped me a lot that's nice from you :D thanks a lot, much ap