eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
Learn How To Create, Publish & Market E-Books
E-Book Creation Software
Add sophisticated multimedia to your E-Books
Create E-Book covers in minutes
E-Book Marketing & Promotion made easy
Search engine for E-Books
Interviews with eBook authors
Tools for building better eBooks
Archived Message:

How to retrieve a Password from the eBook?

Carlos Passwords have an ID that are related to the Predefined variable {p}.

How can I get and display, in the eBook, the Password of a specific ID from the eBook's password list? (not from an external list).

I think this is possible as the eBooks that are password protected have the passwords list inside them.


Posted on: 7:25 pm on January 17, 2003
EBookCompiler In the Edit Security screen there are options to save the passwords into various files, like JavaScript etc.

You could copy this file into the source, editing if necessary, and write code to display it

Something like, in JavaScript

var passwordnumber = ParseInt( window.external.ActivGet('{p}') ) ;

then use passwordnumber as a reference into the array of passwords

Does that help?

Posted on: 10:30 am on January 18, 2003
Carlos Yes it helps,

But just to understand the process eBook checks for the correct password...

Aren't the passwords list stored in the eBook when we create them?


Posted on: 4:34 pm on January 18, 2003
EBookCompiler The password list is in the e-book, but at present their is no way to get info out of it programmatically

Pretty much all you can do is
1. Ask the user to enter the password if it's not been entered yet
2. Tell if the user has entered the correct password yet.

Posted on: 4:08 pm on January 19, 2003

List All Archived Forums

Copyright © 2000-2018, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Click privacy for information about our company's privacy, data collection and data retention policies, and your rights.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures