mod-auth

Using Apache's mod_auth across multiple sub-domains for single sign-on?

I have a domain and a group of sub-domains that require authentication to access. I am currently using mod_auth to authenticate users (mod_auth basic) at the domain.tld level. My goal is for single sign-on between the domain and all the sub-domains. Will these credentials carry on to the sub-domains automatically, or with a simple vhost...

Apache basic authentication

I apologize before hand if this is an obvious question: can Apache 2.0 + SSL + basic authentication be trusted in order to secure a website? The way I see it, SSL creates a secure connection between the client and the server and thus any HTTP requests containing the clear-text password should not be a security issue. thanks, S. ...

mod_auth User Credentials

I am trying to write a PHP script that will create a file in a dir and fopen)() and then fwrite() to it. -- No success (if curious why then read through this thread http://stackoverflow.com/questions/2230391/php-shell-exec-and-sudo-must-be-setuid-root) Approaching this from a different angle, I am considering using a .htaccess with a mo...

Apache setting mod_auth_ldap require settings per sub-directory

I would like to set up a primary directory that has one set of LDAP-based restrictions and then have various sub-directories use other restrictions, but only have the actual LDAP search done in the base directory. For example: .htaccess per directory /Primary_Directory AuthLDAPURL "ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?...

using mod_auth_mysql and mod_auth together

is it possible to use a database and a flatfile to authenticate a user for a directory. for example, if the requested user is not found in the database, apache should check the flatfile via mod_auth for the user. this is my current .htaccess files AuthMYSQLEnable On AuthName "Restricted" AuthType Basic AuthGroupFile /dev/null AuthMySQL...

Abstracting AuthLDAPBindPassword from .htaccess

I have several .htaccess files that use mod_auth_ldap for authorization to different files/directories. They bind to LDAP with a username/password. Is there a way that I could set the AuthLDAPBindPassword in the Apache config instead of in each .htaccess, so that I don't have the password in a bunch of places? I'm thinking that I could...

Configuring authentication and authorization in Apache2 with MySQL

Hello, I am trying to configure Apache2 so I can use MySQL for authenticating users to access certain pages. Also authorization needs to work so different groups can reach differen pages. Now, I have googled a lot but can't find out how to do this. At least not for the configuration I am having. There doesn't seem to be any version of...

Recompiling mod_auth_mysql for future modification.

Hey, I'm trying to compile this UNMODIFIED apache mod in ArchLinux so I can modify it later on, but I'm a nub... apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c /usr/share/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -march=x86-64 -mtune=generic -O2 -pipe -DLINU X=2 -D_REENTRANT...