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

Read Book B if Book A has password


 
Carlos Hi,

I want to achieve this:

Book A is password protected and users must enter a password to read it.
Book B is not password protected BUT I only want to allow users to read it if Book A is registered (has a correct password).

I'm thinking to do the following:
When a user enters password in book A I create an .ini file with a specific parameter.
When running book B I check if the .ini files exists and if the parameter is ok.

1. Is there any concerns if I do this?

2. I know that the Ans2000.ini stores the password of ebooks. But if I just check from book B to see if the password parameter entered for book A has any value, am I not take some risks as users can enter any info there, even if it's wrong?

Any other suggestion to achieve this?

Regards,
Carlos


Posted on: 5:16 pm on April 16, 2003
EBookCompiler I think your idea is good, but if you want to be a bit more secure you could use some kind of mathematical formula, etc based on the user id

e.g.
Book A - after the password is entered, get the user id, do the math formula, and store into an INI

Book B - get the user id, do the math formula, and compare this to the value in the INI.  If they are the same you're okay - if they're not, or there's nothing in the INI don't display whatever


Posted on: 5:20 am on April 17, 2003
Carlos As you already confirmed in other post that userid is the same, that's a good idea.

Thanks Sunil!

Carlos


Posted on: 5:37 am on April 17, 2003

Go to Active Discussion Thread

Participate in Current/New Discussions

List All Archived Forums



Copyright © 2000-2015, 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.

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