Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Win API / October 2003



Tip: Looking for answers? Try searching our database.

How do I password protect .chm file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vajid Shethwala - 30 Oct 2003 20:26 GMT
Hello Everyone:
I have created help in Microsoft HTML help format.  The format is .chm.  I
would like to password protect this file.  Therefore; anyone who double
clicks on the file gets the password prompt window.  Is this possible..?

Thanks in Advance

-Vajid
MikeD - 31 Oct 2003 03:07 GMT
> Hello Everyone:
> I have created help in Microsoft HTML help format.  The format is .chm.  I
> would like to password protect this file.  Therefore; anyone who double
> clicks on the file gets the password prompt window.  Is this possible..?

Not to my knowledge.  I can't imagine why a Help file would have the
capability to be password-protected.  I think you need to consider some
other file format.

Mike
Pete Lees - 31 Oct 2003 11:26 GMT
Vajid,

> I have created help in Microsoft HTML help format.  The format is .chm.  I
> would like to password protect this file.  Therefore; anyone who double
> clicks on the file gets the password prompt window.  Is this possible..?

You could execute a JavaScript password protection script at start-up
(invoked using the onLoad event of the <body> tag in the default
topic), but I'm afraid that there's no too much more that you can do;
Microsoft didn't design the HTML Help format with security in mind.

You can find password protection scripts at lots of sites, including:

http://javascript.internet.com/passwords/

And see this page for some additional ways to protect your content:

http://helpware.net/FAR/far_faq.htm#ProjectCHM

--
Pete (Microsoft Help MVP)
Vajid Shethwala - 31 Oct 2003 16:21 GMT
Thanks Pete Lees.
You have provide me lots of useful information to add to my help.  I will go
ahead check on the sites.

Thanks again

-Vajid

> Vajid,
>
[quoted text clipped - 17 lines]
> --
> Pete (Microsoft Help MVP)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.