To access HTML encoder tool, login to your AuthPro Account manager and go to this URL:
https://www.authpro.com/cgi-bin/manager.fcgi?action=encode2
Make sure "Include AuthPro decoder and styles" and "Edit in visual editor" options are switched on:
If you do not have an AuthPro account, you can sign up here.
You need to duplicate original page to keep copy of content you're going to encode. Open members only page you want to protect in Google Sites editor and in Pages menu open page's options and select "Duplicate page". Don't forget to hide this copied page from navigation menu.
Publish and open copy of members only page you have made in previous step. You can copy all or part of your members area page content in HTML editor window.
When you finish making copy of members content in AuthPro editor, you can encode it and copy protected content to be pasted on Google Sites.
Open original members only page in Google Sites editor and replace existing content with encoded one using 'HTML embed' tool.
If you want you can display some message to someone who enter your website without being logged in as active member. You can also display login form which will show encodded content when correct login details submitted, here is sample code you can use to display text message and/or login form:
<div id='need_login' style='display:none; font-size:20px; text-align:center; color:red'> // display text message: Please login to access this page! // display login form: <div id="aplf"></div> <script src="https://www.authpro.com/auth/YOUR_ACCOUNT/?&mode=JS&JSid=aplf&urlok=js:show_pp()"></script> </div> <script> if (auth_res!='ok') document.getElementById('need_login').style.display='block'; // only need this function if you want to display login form: function show_pp() { document.getElementById('need_login').style.display='none'; pp_de(te); } </script>
(you need to replace YOUR_ACCOUNT keyword in this code with your actual AuthPro account username)
Just add this code to encoded content you have embedded to your Google Sites at previous step (it will not work if added as separate embed). Feel free to customize it as you like (change text, color or font size).