Hi,
This is Senthil, I don't know the possiblities of hiding the source code in
asp. But I can help you something better which really works in Javascript code
which is given below:
This is just to disable the right click of the mouse:
Use Javascript to disable the users ability to display a popup menu after right
clicking in browser window.
Left click on document is accepted, Right click is disabled.
<script language="javascript">
document.onmousedown=disableclick
status="Right Click Disabled"
function disableclick(e) {
if( event.button==2 )
alert("Sorry Right Click has been disabled!");
return false;
}
</script>
Place this code in your Header
<Script Language="VBScript">
sub fOnMouseDown()
if Window.event.button = 2 Then
Alert("Right Click Disabled")
End If
End sub
</Script>
Place this code into the Body markers
<body link='#6600FF' vlink='#0000FF' onMouseDown="fOnMouseDown()" >
Regards
SENTHIL
samson <[EMAIL PROTECTED]> wrote:
Dear Friends,
I wanna hide my ASP & HTML code from my website (I mean web page). When users
click on view "source code", It shouldn't display source code, It may show
something else atleast..or how can I lock "users view source code" option??
Can you pls help me?
Thanks, ~Samson.(ASP Beginner)
---------------------------------
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
[Non-text portions of this message have been removed]
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[Non-text portions of this message have been removed]
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/