How to password protect pages

Status
Not open for further replies.

kocie

New member
Hie I have a number of pages in my publication which I want to protect by making use of a password. I have gone through the main demonstration example in the Html exe but it seems it doesn’t protect the pages that I want . Also I would then like the password to be echoed and also not to be cached as what the demonstration example seems to be doing.I would like the user to enter the password everytime he/she wants to access the pages.

Please help with script
 
Last edited:
Thank you it has worked I have managed to protect my pages but the problem now is that the password is not echoed . How can I make the password echoed because I don’t want other people to see my password as I type it in.
 
Last edited:
Add an “*” to the query parameter like this:
Code:
S := InputBox("*Password protected page"#13#10"This page is password protected; please enter the password in order to continue", "Security", "");
 
Last edited:
Status
Not open for further replies.
Back
Top