Can it possible to hide/Diasble view source [ HTML Source] of any Web page??
-
Hi Friends, Can it possible to disable or hide HTML view sources of any web page ?? I think this way it can protect my page data to crawled.. Please help me ..
-
Hi Friends, Can it possible to disable or hide HTML view sources of any web page ?? I think this way it can protect my page data to crawled.. Please help me ..
basantakumar wrote:
Can it possible to disable or hide HTML view sources of any web page ??
No you can't . :-D
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Hi Friends, Can it possible to disable or hide HTML view sources of any web page ?? I think this way it can protect my page data to crawled.. Please help me ..
No. it is not possible, as the entire html should be downloaded to the client browser to render content. If you want to protect your client logic there are two way out : 1. You render everything within an object(might be Flash / silverlight) so that the actual validation logic or web service calls cant be found by the user easily. 2. You can open your website in a new window, with addressbar, statusbar, toolbar etc hidden... Also hide the context menu, so that the normal user cant find the html source very easily. This is done by most of the banking sites. Just add the code :
document.oncontextmenu = function(){ return false; }
To hide the context menu. I think this helps you. :rose:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
-
No. it is not possible, as the entire html should be downloaded to the client browser to render content. If you want to protect your client logic there are two way out : 1. You render everything within an object(might be Flash / silverlight) so that the actual validation logic or web service calls cant be found by the user easily. 2. You can open your website in a new window, with addressbar, statusbar, toolbar etc hidden... Also hide the context menu, so that the normal user cant find the html source very easily. This is done by most of the banking sites. Just add the code :
document.oncontextmenu = function(){ return false; }
To hide the context menu. I think this helps you. :rose:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.
Good Answer Abhishek !:thumbsup:
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Good Answer Abhishek !:thumbsup:
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
Thank you dear... :) :):rose::rose:
Abhishek Sur
My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB
**Don't forget to click "Good Answer" if you like to.