Welcome to the in5 Answer Exchange! This a place to get answers about in5 (InDesign to HTML5) and make requests.
0 votes
Hi, i'm creating a catalogue for a client and I would like to know if is there any way to add user and pass protection to view some pages of the app.
I have the login html code that i've used in standard web pages and i wonder if maybe i can paste it in one page and disable the swipe navigation and then order de form to open next page when log is complete. Is it possible. Any idea of how to do this?
in how_to by (190 points)
  

1 Answer

0 votes
 
Best answer

Another option:
https://ajarproductions.com/blog/2017/02/27/how-to-create-a-simple-entry-password-for-your-app-with-in5/


I would recommend using the control panel service provided by your web host to add password protection.

You can also do it manually. Here are instructions for an linux/Apache server: http://www.addedbytes.com/blog/code/password-protect-a-directory-with-htaccess/

by (197k points)
selected by
I'm using Baker Framework not a web view. I mean, this is an App
If you're creating an app, then the sky is the limit...if you write custom code.

The simplest (but least robust) method would be to write a simple JavaScript prompt that asks for a password.

If you're not comfortable with this yourself, you'll want to find a web developer or an iOS developer.