Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to encrypt HTML file and vbs script

Posted on 2011-03-04
7
Medium Priority
?
361 Views
Last Modified: 2012-05-11
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
Comment
Question by:jl66
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 35039252
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
 
LVL 4

Expert Comment

by:Tomun
ID: 35039551
Try a password protected zip file instead.
0
 

Author Comment

by:jl66
ID: 35040546
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
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 800 total points
ID: 35051812
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
 

Author Comment

by:jl66
ID: 35053264
Back one step. Can the vbs be encrypted, and still executed as usual??
0
 
LVL 4

Accepted Solution

by:
simpsol earned 1200 total points
ID: 35053276
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
 

Author Closing Comment

by:jl66
ID: 35110956
Thanks for everyone.
0

Featured Post

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The well known Cerber ransomware continues to spread this summer through spear phishing email campaigns targeting enterprises. Learn how it easily bypasses traditional defenses - and what you can do to protect your data.
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Suggested Courses

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question