technoman
asked on
How to Disable view source/save/save as
Hi,
How do i disable the viewsource/save/save as of the browser so that surfers can not see my html code nor modify it. Thanks
technoman
How do i disable the viewsource/save/save as of the browser so that surfers can not see my html code nor modify it. Thanks
technoman
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can always view a page from the cache of the browser, there is no really a way to hide your code!
haha, acutally it's no need to have open the cache file and have a look at it's source code...
although we can make use of javascript to disable the right click (right mouse button), but still can make use of our browser's "menu" to save/save as or even go to "view" (for IE) and have a look at it's source code !
the best way you don't want to let your source code to be "published" to other people, it's suggest that you use Server-Side programming, like CGI, ASP (you may use javascript here), PHP...
Success !
although we can make use of javascript to disable the right click (right mouse button), but still can make use of our browser's "menu" to save/save as or even go to "view" (for IE) and have a look at it's source code !
the best way you don't want to let your source code to be "published" to other people, it's suggest that you use Server-Side programming, like CGI, ASP (you may use javascript here), PHP...
Success !