Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

How to encrypt HTML file and vbs script

Have a html file which contains the vbs codes. Want to encrypt it like an .exe file. double click it, it will run. Is it possible??
0
jl66
Asked:
jl66
2 Solutions
 
Paul MacDonaldDirector, Information SystemsCommented:
Not in and of itself.  You could create a Windows application that behaved that way though.

What is it you're trying to accomplish?  Do you have access to ASP.Net?
0
 
TomunCommented:
Try a password protected zip file instead.
0
 
jl66Author Commented:
paulmacd:Yes for ASP.Net. Can you show me an example or a link to accomplish it?
Tomun: in my situation, zip file does not seem a suitable solution.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
Paul MacDonaldDirector, Information SystemsCommented:
No, and neither is compiling, in the strictest sense.  I'm guessing you want to hide some bit of proprietary code that would otherwise be in the page on the client side.  If you're working with (or can work with) ASP.Net (or PHP or any of several other server-side lanugages) you can serve up the page, but keep the code secret.

Can you be specific about what you want to accomplish?
0
 
jl66Author Commented:
Back one step. Can the vbs be encrypted, and still executed as usual??
0
 
simpsolCommented:
You will need some tool to convert vbs file to exe and encrypt it. I use PrimalScript which has it inbuilt which will encrypt and create an exe file for you. If you just want to encrypt the vbs file google for a free utility VBEncrypt.
0
 
jl66Author Commented:
Thanks for everyone.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now