08-16-2002, 03:28 PM
When I use VBScript on the client side, can I hide the script so that it doesn't show in the browser View/Source?
08-16-2002, 03:40 PM
No, sorry. You could put it in a separate file, but even then someone
would be able to view it by just downloading that file.
08-16-2002, 03:52 PM
My issue is that my customer has a 'static' web site. He is ftp-ing .pdf files for his customers to view and giving them unique names so his customers can't view each others reports.
I would like to put a login screen on the front end...
08-17-2002, 07:17 AM
Any protection should be done server side - client side would be too easy to hack round. Look into using ASP with server side VBS.. that way, you can have a couple of input boxes which are linked to an ASP page. The ASP page (Using VBS) checks a server side DB for the username and pass, then logs the user in (or out).
08-19-2002, 02:06 PM
I'd love to do that. If my client had an ISP that would allow ASP, then it would be a no-brainer. Unfortunately, the web site is static (no server side anything).
Any other ideas?
08-19-2002, 02:08 PM
Does the webserver supports passworded directories?
If so you could create a subdir for every client with it's own password. The webserver would take care of the rest
08-19-2002, 02:18 PM
I don't know. I'll inquire...
09-08-2002, 04:59 PM
One way is to use Script Encoding tool by Microsoft. Which is free of charge.
It works by passing asp files through this encoder and the text within
<script language= "vbscript">
and server side text within the
will be jumbled up. Hence, people cannot just steal your codes.
But it isnt 100% secure. The encoding algo can be cracked by experienced coders.