如何隐藏其他人的ASP页面代码

问题描述:

嗨.........

我只使用纯asp页面而不使用asp.net在我的网站上发送带有帮助vb脚本的邮件,它的工作正常.托管此站点.如果有人获取此文件并在记事本中或在其他编辑器中打开,则用户可以查看源代码.我想隐藏此代码.是否有任何方法可以隐藏或加密asp文件中的代码?提供解决方案.
thanx

hi.........

I am using purely asp page only not asp.net to send mail with the help vb script in my web sites its work properly.when any one trying to view source code scripting code hide.It''s good for me.but i want host this site.if any one get this file and open in notepad or in other editor user can able to view source.i want to hide this code.is there any way to hide or encrypt code in asp file? provide soln.
thanx

如果将vb脚本放在.asp文件中,则无法从客户端下载源代码.它是服务器端语言.如果通过调用.vb文件(vbscript)来执行此操作,则情况有所不同.那就不可能了.
If you put your vb-script in an .asp-file the source cannot be downloaded from client. It''s a server side language. If you are doing this by calling a .vb-file (vbscript) it''s a different story. Then it''s not possible.