Login Register


Blocking View-Source: command filter_list
Author
Message
RE: Blocking View-Source: command #11
Yeh!! Blocking users from viewing the source code of your HTML is very tough. There are tons of ways to view it, and few to hide it (and users find the other way in to your source). I have spent days figuring out how to hide it, but in vain.

The farthest I went was when I converted the whole website to Flash, and it cost me dear as I had compromised with SEO that way. Still the source was not 100% hidden as someone would easily extract the source files from a .swf.
[Image: MUJ8qSW.png]
-----------------------------------
Now learning:
Android Development, Java
Working on:
An FTP Client for Android
-----------------------------------

Reply

RE: Blocking View-Source: command #12
Yeh!! Blocking users from viewing the source code of your HTML is very tough. There are tons of ways to view it, and few to hide it (and users find the other way in to your source). I have spent days figuring out how to hide it, but in vain.

The farthest I went was when I converted the whole website to Flash, and it cost me dear as I had compromised with SEO that way. Still the source was not 100% hidden as someone would easily extract the source files from a .swf.
[Image: MUJ8qSW.png]
-----------------------------------
Now learning:
Android Development, Java
Working on:
An FTP Client for Android
-----------------------------------

Reply

RE: Blocking View-Source: command #13
I don't see any point of hiding your source code, There are very few ways to do that but they are easy to break. For example you can encrypt your source code but there are hundreds of sites that can decrypt it for you.
BTW what is it that you are trying to hide? I was curious about this matter when I was going to use Javascript in one of my clients site because it's Client Side and it's visible to the user hence I had to take care of security.

Please enlighten us more
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Blocking View-Source: command #14
I don't see any point of hiding your source code, There are very few ways to do that but they are easy to break. For example you can encrypt your source code but there are hundreds of sites that can decrypt it for you.
BTW what is it that you are trying to hide? I was curious about this matter when I was going to use Javascript in one of my clients site because it's Client Side and it's visible to the user hence I had to take care of security.

Please enlighten us more
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Blocking View-Source: command #15
I don't see any point of hiding your source code, There are very few ways to do that but they are easy to break. For example you can encrypt your source code but there are hundreds of sites that can decrypt it for you.
BTW what is it that you are trying to hide? I was curious about this matter when I was going to use Javascript in one of my clients site because it's Client Side and it's visible to the user hence I had to take care of security.

Please enlighten us more
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: Blocking View-Source: command #16
<script language="JavaScript">
<!--
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
// -->
</script>

Reply

RE: Blocking View-Source: command #17
<script language="JavaScript">
<!--
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
// -->
</script>

Reply

RE: Blocking View-Source: command #18
<script language="JavaScript">
<!--
document.oncontextmenu = function(){return false}
if(document.layers) {
window.captureEvents(Event.MOUSEDOWN);
window.onmousedown = function(e){
if(e.target==document)return false;
}
}
else {
document.onmousedown = function(){return false}
}
// -->
</script>

Reply

RE: Blocking View-Source: command #19
@Ex094
I am doing a project and I thought I could secure the code But I see it's no worth now.
[Image: hdo5772.jpg]

Reply

RE: Blocking View-Source: command #20
@Ex094
I am doing a project and I thought I could secure the code But I see it's no worth now.
[Image: hdo5772.jpg]

Reply







Users browsing this thread: