By thomas.lie on
I have a new drupal installation in /mydrupal/ subdirectory,
say http://www.example.com/mydrupal
and I have a folder /oldpages/ which I put inside /mydrupal/ folder
how can i password-protect everything inside /oldpages/ based on
the list of username of drupal database? (hopefully it can be dynamic)
so everytime a new user creates an account then they can directly
login to /oldpages/
the reason i need this is because
I want to prevent people to type http://www.example.com/mydrupal/oldpages/
directly as they can do it at the moment.
please advice friends.
thanks,
tlie
Comments
If you use apache web
If you use apache web server, it has got a auth_mysql module. Whit this module you can use .htaccess to protect your oldpages folder.
And if you need an example
http://chapterthreellc.com/blog/josh_koenig/using_drupal_http_authentica...
--
Anton
New to Drupal? | Troubleshooting FAQ
Example knowledge base built with Drupal
Working Great like Magic!
I got what I need.
thanks laszlo & styro
Before I consulted the forum, I spent more than 6 hours
looking for solution & example.
I forgot that there's a drupal forum
got sleepy and so i tried my luck shoot the question
when i woke up you friends gave me answer in just 4 minutes.
it's like magic =)
that's why i love drupal and the forum!
thanks a lot,
tlie
How to make it works on IIS
This is exactly what I need, but on the IIS. I'd very much appreciate if anyone help me this.
Thanks