[4914] in WWW Security List Archive

home help back first fref pref prev next nref lref last post

After authentication in htaccess

daemon@ATHENA.MIT.EDU (Rucelmar Reis)
Thu Mar 27 10:48:24 1997

Date: Thu, 27 Mar 1997 11:48:54 -0300
From: Rucelmar Reis <bamer21@netway.com.br>
To: www-security@ns2.rutgers.edu
Errors-To: owner-www-security@ns2.rutgers.edu

I am a HTML developer, and I have any doubts about htaccess file.

If in my site, I have one page for user (only one), and I want only
owner page access, how can I make this?

Example:

In my page index.html from directory "pages" (pages/index.html) I get
the authentication for .htaccess, and after user type your name and your
password, has access at directory.

Can I know who is my user?
How?
Because, if I know who is my user, after the authentication I can return
the especifc page to user (your owner page).

Directory:

.htaccess
index.html
bob.html
dany.html
russel.html
liza.html

If user is Bob, I return page bob.html, and if user russel, I return
russel.html   ....

Please, if you have the answer, tell me, ok?

Rucelmar Reis - Curitiba - Brazil
bamer21@bastecnet.com.br

home help back first fref pref prev next nref lref last post