Home > How To > How To Hide Source Code Of Html From View Source

How To Hide Source Code Of Html From View Source


How would a creature produce and store Nitroglycerin? This is especially useful if you have a lot of code. All Rights Reserved. I want to connect sqlserver with php, So I put required drives in Bin folder as and made some necessary changes in php.ini as Finally I have this connection ...

It involves taking your code, using a custom made function to "encrypt" it somehow, and then putting it in an HTML file along with a function that will decrypt it for The right-click menu, or context menu, includes many helpful tools for users, including navigation buttons and the "Bookmark Page" button. Mittineague 2015-03-17 06:56:03 UTC #2 Rajeevrrs: How to do like this in php and asp.net or with javascript. Lynx is an exception. –feeela Jul 6 '11 at 14:12 zapreaction.com they have disable CTRL+U –Jai Aug 26 at 5:04 add a comment| up vote 7 down vote http://www.htmlgoodies.com/beyond/article.php/3875651/Web-Developer-Class-How-to-Hide-your-Source-Code.htm

How To Hide Source Code Of Html From View Source

if you do it ' the user can press F12 and the developer console will show!!!! –Omri Lugasi Jun 1 at 10:39 accepted as answer ..... Now you can right-click all you want. Wird geladen... All this method does is add about a two second delay to someone trying to view your source and it does irritate users who aren't trying to view your source. "JavaScript

asked 4 years ago viewed 31037 times active 6 days ago Blog Stack Overflow Podcast #91 - Can You Stump Nick Craver? It involves adding a ton of white space before the start of your code so that the view source menu appears blank. Impossible, and isn't all that useful either. Hide Php Code From View Source 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.

The … Restricting selections in jQuery UI datepicker using dynamic data 1 reply Embarrassed to say how many hours I've burned on this--am hoping someone can point me down the right How To Encrypt Html Source Code You can attempt to circumvent unknowledgeable users from seeing the source, but it won't stop anyone who understands how to use menu's or shortcut keys. Farming after the apocalypse: chickens or giant cockroaches? For example, in Firefox, go to Options -> Content and next to the "Enable JavaScript" check box, click Advanced.

The question is only how easy it is and, per the specific question asked, how visible it is when someone does View Source? How To Encrypt Html Source Code Using Javascript Just scroll down in view-source. Anyway thank you for the nice and detailed reply. –Bangash Apr 5 '14 at 9:52 Nonsense , Look at this , its code isnt hidden is it? If you're running a server-side scripting language you could obfuscate or minify the HTML, CSS and Javascript.

How To Encrypt Html Source Code

While using this site, you agree to have read and accepted our terms of use, cookie and privacy policy. https://www.sitepoint.com/community/t/how-to-hide-source-code-from-public-view/115681 Why aren't sessions exclusive to an IP? How To Hide Source Code Of Html From View Source the disabled right click is possible with javascript, but dont do it. Hide Html Source Code Using Php See http://abroadindia.com/news.php click on any channel link.

Cons: Your website is only usable for users with JavaScript enabled. It's not possible to disable viewing a pages source. share|improve this answer edited Jul 29 '11 at 7:13 answered Jul 29 '11 at 6:20 jfriend00 287k26291370 13 Perfectly visible via View Source… view-source:http://mydomain.com/xxxx.js –Quentin Jul 29 '11 at 6:43 Hinzufügen Playlists werden geladen... Disable View Source

Proof of 'sandwich theorem' for sequences Are misspellings in a recruiter's message a red flag? Is this what you're talking about? Even if you block right click, F12, Ctrl+C/V, or others shortcut to copy, you can still counter with disable JavaScript and copy the the page source. In WordPress, it is a security measure that you don't install your files in a folder that's called "blog" or "wp" or "wordpress" because you'd be making a bit easier for

Incorrect Query Results on Opportunity? Hide Javascript Code From Client function document.onkeydown() { if ( event.keyCode==17) //17 is ascii code for ctrl { event.keyCode = 0; event.cancelBubble = true; return false; } } 0 fxm 23 6 Years Ago This DaniWeb IT Discussion Community Join DaniWeb Log In Hardware and Software Programming Digital Media Community Center Programming Web Development Answered How to Disable (View Source) and (Ctrl+C) from a site? 1

Related Articles What's New with HTML 5: Global Attributes Thanks for your registration, follow us on our social networks to keep up-to-date current community chat Stack Overflow Meta Stack Overflow your

The source for the javascript is: http://www.immihelp.com/common/utils.js share|improve this answer edited May 23 '14 at 11:00 katalin_2003 3221718 answered Jul 6 '11 at 13:35 bluefeet♦ 147k33196278 add a comment| up vote share|improve this answer answered Jul 6 '11 at 13:34 Brad 87.2k22154273 zapreaction.com they have disable CTRL+U . Start a new discussion instead. How To Hide Html Code 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.

This best you can do is obfuscate and minify the JavaScript.. js.js function loaddiv() {$('#content').load('content.php');} Here's the trick. When you encrypt html, javascript, vbscript etc. Comments are not displayed in the browsers.

molona 2015-03-17 08:15:56 UTC #9 I don't know what you mean by hiding the file. I dont want make my site vulnerable so I cant post code here. Exercise 1 » Exercise 2 » ❮ Previous Next ❯ COLOR PICKER LEARN MORE HTML Cards Google Maps Animated Buttons Modal Boxes Modal Images Tooltips Loaders Filter List JS Animations Progress are disable.