How can I require users to log in to Galaxy?
Hi all, We're planning to use Galaxy on two local servers. One will be restricted to those on the institute network, and here the default Galaxy behaviour is fine (anyone can use it without logging in). However, the second server will be accessible from the internet, but we only want authorised users to be able to use Galaxy on it. I don't see anything about configuring this on the security page: https://bitbucket.org/galaxy/galaxy-central/wiki/SecurityFeatures Is there some documentation I've overlooked? Thanks, Peter
Hi Peter
We're planning to use Galaxy on two local servers. One will be restricted to those on the institute network, and here the default Galaxy behaviour is fine (anyone can use it without logging in).
However, the second server will be accessible from the internet, but we only want authorised users to be able to use Galaxy on it. I don't see anything about configuring this on the security page: https://bitbucket.org/galaxy/galaxy-central/wiki/SecurityFeatures
Have a look at the following lines in 'universe_wsgi.ini' # Force everyone to log in (disable anonymous access). #require_login = False # Allow unregistered users to create new accounts (otherwise, they will have to # be created by an admin). #allow_user_creation = True setting "require_login = True" and "allow_user_creation = False" will solve your problem, I guess. Regards, Hans
Is there some documentation I've overlooked?
Thanks,
Peter _______________________________________________ galaxy-dev mailing list galaxy-dev@lists.bx.psu.edu http://lists.bx.psu.edu/listinfo/galaxy-dev
On Thu, Dec 16, 2010 at 10:49 AM, Hans-Rudolf Hotz <hrh@fmi.ch> wrote:
Hi Peter
We're planning to use Galaxy on two local servers. One will be restricted to those on the institute network, and here the default Galaxy behaviour is fine (anyone can use it without logging in).
However, the second server will be accessible from the internet, but we only want authorised users to be able to use Galaxy on it. I don't see anything about configuring this on the security page: https://bitbucket.org/galaxy/galaxy-central/wiki/SecurityFeatures
Have a look at the following lines in 'universe_wsgi.ini'
# Force everyone to log in (disable anonymous access). #require_login = False
# Allow unregistered users to create new accounts (otherwise, they will have to # be created by an admin). #allow_user_creation = True
setting "require_login = True" and "allow_user_creation = False" will solve your problem, I guess.
Thanks Hans - that looks just right. Peter
participants (2)
-
Hans-Rudolf Hotz
-
Peter