|
-
Jul 3rd, 2001, 10:42 AM
#1
Thread Starter
Addicted Member
Hiding VBScript from the user ?
Is it possible to hide the script from the user, so even when he chose the "View source" option, he only sees HTML and NO script. i.e. something like an include but no apparent; he would just see a reference to it ...?
Thanks !
-
Jul 3rd, 2001, 10:48 AM
#2
Black Cat
Code:
<script language="VBScript" src="file.vbs" type="text/vbscript"></script>
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jul 3rd, 2001, 10:51 AM
#3
Thread Starter
Addicted Member
Whoa fast =)
Thanks a lot dude !
I was tired of those 700 lines of code displyaing all around 
But I can't seem to get it working : Do I have to use something special in the .vbs ?
Or just the
<!--
...Sub...
....
...
--> ???
Last edited by eL_NiNo; Jul 3rd, 2001 at 10:55 AM.
Regards,
El-Nino
-
Jul 3rd, 2001, 02:06 PM
#4
-
Jul 3rd, 2001, 02:14 PM
#5
Thread Starter
Addicted Member
That's what I did; but how is a vbs structured ?
I just cut&paste my code in but no go :\
Thanks for the help !
-
Jul 3rd, 2001, 09:59 PM
#6
-
Jul 4th, 2001, 08:20 AM
#7
Thread Starter
Addicted Member
Oops
Oh, forget it, my mistake !
[No, no, I didn't had ASP in this script - /eyeroll/]
Lol
Thanks for the help
-
Jul 4th, 2001, 08:31 AM
#8
That's what I did; but how is a vbs structured ?
Basically, it's just as a normal vb file - take out all the html / asp tags
-
Jul 4th, 2001, 10:24 PM
#9
Frenzied Member
Um... why bother though?
This is the same as trying to prevent someone from stealing pics by disabling the right click context menus.
If I want to see the code, you can't stop me. I know where it lives. (on my machine that is hehe)
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|