Solved

How to encrypt HTML file and vbs script

Posted on 2011-03-04
7
357 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
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 34

Assisted Solution

by:Paul MacDonald
Paul MacDonald earned 200 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 300 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Encryption for Business Encryption (https://en.wikipedia.org/wiki/Encryption) ensures the safety of our data when sending emails. In most cases, to read an encrypted email you must enter a secret key that will enable you to decrypt the email. T…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

807 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