Set permissions for custom HTML pages

Go down

In progress Set permissions for custom HTML pages

Post by mcel90 on September 28th 2011, 12:16 pm


I want to create a HTML page with an embedded google spreadsheet for the contact information of the members on my forum. Obviously I don't want anyone to be able to see/access this page.

Where can I set permissions for custom HTML pages? So that only members of the forum can view it. I couldn't find it anywhere in the admin-panel...
Any thoughts?


New Member

Male Posts : 6
Reputation : 0
Language : Dutch

Back to top Go down

In progress Re: Set permissions for custom HTML pages

Post by kirk on September 28th 2011, 4:05 pm

you cant.
Like you can post the links on forums you have permissions set for.
But if another member shares the link then there is no way to prevent someone from viewing the page.

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

In progress Re: Set permissions for custom HTML pages

Post by LGforum on September 29th 2011, 12:50 am

You can set a simple password on a page like this:

First of all, you should write out the HTML for your page and put it ALL in a div. with an ID of something like 'full-page'. You can then make the full-page dissappear until the password is entered.

var the_password = "YOURPASSWORDHERE";
var x=prompt("Password:","");
while (x != the_password) {

Only once the person has type the password in will they see the page.

This isn't the most secure way, but it will keep people out who don't know much about HTML or Javascript.

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

Back to top Go down

Back to top

Permissions in this forum:
You cannot reply to topics in this forum