Avoid viewing source code
-
Hi all. Is is possible to avoid viewing source code of a web page. i can disable mouse right click... and i want to restrict from menu options also.. is it possible. Thank you.
siri
-
Hi all. Is is possible to avoid viewing source code of a web page. i can disable mouse right click... and i want to restrict from menu options also.. is it possible. Thank you.
siri
-
Hi all. Is is possible to avoid viewing source code of a web page. i can disable mouse right click... and i want to restrict from menu options also.. is it possible. Thank you.
siri
Bad idea, since if someone really wants your sourcecode they can just click on file and save as, "wholla instant source", or they can go to their web page cache ect. if it javascript you wish to secure from other developers viewing it you can always use a util that takes out indentation making it harder to read, but then again you can just open Notpad 2 and indent it automatically :)
Le Roux Viljoen Web Developer PCW New Media South African Branch www.pcwnewmedia.com
-
Hi all. Is is possible to avoid viewing source code of a web page. i can disable mouse right click... and i want to restrict from menu options also.. is it possible. Thank you.
siri
No. There's also very little reason to do it. Writing HTML / CSS markup isn't exactly rocket science, and if someone wants to copy the design of your site, they hardly need the source code to do it. Pretty much anything that's sent out from your webserver must be considered publically accessible. If you're trying to hide the source for application security / authentication reasons then you have more serious problems. Don't do this under any circumstances. Please.
-
Hi all. Is is possible to avoid viewing source code of a web page. i can disable mouse right click... and i want to restrict from menu options also.. is it possible. Thank you.
siri
If you want to do what stevio said, in terms of user authentication.. or if you can, just use a server-side scripting language such as PHP, CGI or ASP. Regards, --Perspx
"When programming in Visual Basic, you can always know whether a given program will become stuck in a loop and never halt. The answer is 'yes'." - Uncyclopedia
-
Hi all. Is is possible to avoid viewing source code of a web page. i can disable mouse right click... and i want to restrict from menu options also.. is it possible. Thank you.
siri
No not entirely possible. You can disable right clicking of the mouse but that'll just annoy people.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon