Hello Maxime,

You can add simple authentication if you are using Apache, by using
mod_auth.

Add something like this to your httpd.conf file (or adjust it to fit your
apache configuration):

<Directory "/var/www/html/nfsen">
    Options Indexes
    Order allow,deny
    Allow from all
    AllowOverride AuthConfig
</Directory>

Also, create a file called /var/www/html/nfsen/.htaccess that contains the
following:

AuthName "Restricted resource"
AuthType Basic
AuthGroupFile /dev/null
AuthUserFile /etc/httpd/nfsen-access

require valid-user

Use htpasswd to add users/passwords
htpasswd -c /etc/httpd/nfsen-access user1
htpasswd /etc/httpd/nfsen-access user2
htpasswd /etc/httpd/nfsen-access user3

You can find more information about mod_auth here:
http://httpd.apache.org/docs/2.0/mod/mod_auth.html

Please note: this authentication method does not allow you to separate user
rights and is not very strong...


On Mon, Apr 26, 2010 at 10:49 AM, <[email protected]> wrote:

> Hi everyone
>
> Sorry for my previous post, my mistake.
> Does anyone developed an authentication page or something like this?
> I explain : I would like to have an authentication page before the nfsen
> page with login and password. When logged we can see the analyze with a
> profile depending of the previous logs without the possibility to switch
> profile.
>
> Sorry for my poor English...
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Nfsen-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>
------------------------------------------------------------------------------
_______________________________________________
Nfsen-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to