FlipViewer.com
  Technology Overview Products Services Support Devzone
 
Adding Password to your FlipBook
Setting up a password-protected directory in Linux.
 
If you would like to place a restriction on who to view your FlipBook, you can do so by adding password to your FlipBook.

To do that, you will have to setup a password-protected directory to put your FlipBook.

You would need to create 2 files in a Linux environment: a password (htpasswd) file and a .htaccess file to set up a password-protected directory.

 
Creating a password (htpasswd) file
 
These are the steps to follow (please note that you have to do the steps in a Linux environment):

a. Go to your home directory.

b. Type this command: htpasswd -c htpasswd username.

The second htpasswd is the name of the password file. It is recommended that you keep this name.
username is the username that you want to use for password access.

c. When you hit enter, you will be prompted to enter and verify a password.
Just type in any password that you would like to use.
With that, you have created your password file. Now go on to create a .htaccess file.

 
Creating .htaccess file
 
These are the steps to follow (please note that you have to do the steps in a Linux environment):

a. Go to the directory that you would like to protect.

b. Create a file called .htaccess in that directory.

c. Inside the .htaccess file, add the following lines:

AuthUserFile full path name
AuthGroupFile /dev/null
AuthType Basic
AuthName "Password-protected FlipBook

<Limit GET>
order allow, deny
allow from all

require user username
</Limit>

i. The first line is where your htpasswd file is. It would have to be the full path.
ii. The forth line is for you to describe the area or directory on your site that your users are logging into.
iii. The last second line is the username that you would be using to access your directory. It would have to correspond with the username that you have used in the htpasswd file.
 
Putting your FlipBook into the directory
 
After setting up the password-protected directory, you can now put your FlipBook(OPF file) and the respective files (the folder containing all your respective images, HTML or flp files) into that directory.

When you are done, your FlipBook is now protected by a password.

You may want to view this link as an example of a password-protected FlipBook:

 
View sample
Username: flip
Password: flip
 
>> Back to Content
"We wanted to offer something different to our readers, and putting the magazine online in this format enabled us to provide them with a multimedia experience unlike any other paintball magazine...

We chose E-Book Systems' technology because of all the extra elements it has allowed us to incorporate into publishing our digital issues...

Since introducing the digital issues, the reader response has been overwhelmingly positive...

We've seen the numbers for our online subscriptions growing steadily, with a 100% increase in online subscriptions ..."
- Cheryl Amaya,
   Publisher of Paintball 2Xtremes

  Home Site Map Terms of Use Privacy Policy (Updated 27 Oct 2005)