On 26 Jun 2006, at 13:15, Barak Ravid wrote:

hello Arek,
 

Hi Barak,
I am cc'ing this email to mart-dev as there are people there who know more
about it than I do :)

i want to use biomart with restricted data and extend public access only to specific users.
 
i've read in the manual that there is a possibilty to restrict access to certain data through editing configuration files. how does it work ? does it meen i get a window requesting user and password ?


No, if you want window requesting user and password you can configure it outside BioMart. I enclose some info below based on somebody's else's work. I am sure people on the list could
give you more info if you need it:

1) Edit the file httpd.conf : /usr/local/apache/conf/httpd.conf

Change the *second* occurence of the line that says : AllowOverride None
to AllowOverride AuthConfig

2) create an .htaccess file in the biomart-web directory using a text
editor :

[EMAIL PROTECTED] biomart-web]$ emacs .htaccess &

authtype Basic
authname "ENTER A USER/PASSWORD To access the GMIA_BIOMART db"
authuserfile /home/chll/temp/biomart-web/.htpasswd
require user chll anotheruser

3) create a .htpasswd file using the htpasswd command in the location
specified in the .htaccess file
 :
[EMAIL PROTECTED] biomart-web]$  htpasswd -b[cmdpsD] passwordfile username
password

example :

htpasswd -cmb .htpasswd chll passwordforchll
htpasswd -mb .htpasswd anotheruser passwordforanotheruser


what and where do i need to configure ?


BioMart supports displaying only parts for data for given users based on available configuration. This is very similar to the rdbms users who only see certain tables. If you want this functionality you need to open a dataset configuration file with MartEditor and edit a martUser dataset attribute. Then you need to add the same name to your registry file under 'martUser'. When you start up your server, it will only 'see' the dataset configurations
which have been associated with a new user.



 
is there another way of restricting access to the interface, like for example editing apache configuration file ?


yes, see above


 
thank you very much.
barak.
 
----------------------------------------------------------------------- -------------------------------------------------------------------
Barak Ravid
Rubin Lab.
National Institute for Biotechnology in the Negev
Building 39, room -113
Ben-Gurion University of the Negev
Beer-Sheva 84105, Israel




------------------------------------------------------------------------ -------
Arek Kasprzyk
EMBL-European Bioinformatics Institute.
Wellcome Trust Genome Campus, Hinxton,
Cambridge CB10 1SD, UK.
Tel: +44-(0)1223-494606
Fax: +44-(0)1223-494468
------------------------------------------------------------------------ -------



Reply via email to