Forums

This topic is locked

Help with setting passwords

Posted 25 Oct 2001 19:28:33
1
has voted
25 Oct 2001 19:28:33 Colonel C posted:
Help plz, I need 2 set a password on a page within my website so that only selected people can view the page, how do I go about doing this???? any ideas plz

Replies

Replied 25 Oct 2001 19:57:32
25 Oct 2001 19:57:32 Ryan Grace replied:
This depends on the web server you're using. If you're running Apache, look into .htaccess. There's plenty of documentation about it out there on the web.

Replied 14 Nov 2001 10:53:51
14 Nov 2001 10:53:51 Kevin Abbott replied:
Within Ultradev you can use the restricted access server behaviour.

In your user access database create another field called accesslevel.

You can then group users under the level you want, say if you got level 1 to 5.

On your log in User behaviour (from the server behaviours window) at the bottom of the dialog you can select "Restrict Access based on:". Choose the "Get Level From:" field as the field that you've just made in your database (accesslevel).

All you have to do then is for each page restrict access from the server behaviours menu, and select User Authentication -> Restrict Access To Page. Now press the Username, Password and Access level radio button and press the plus sign to restrict user with the level they have.

E.g If you've given fives users accesslevel 2 and you don't want them to view that page add level 2 two the restrict access to page option.

Hope this helps.

www.k.abbott.btinternet.co.uk/

Reply to this topic