|
|
Password protection of contribution file?
|
|
|
Posted under General by Hilmar Jan on Monday April 30 2001 @ 06:28PM EDT
I am aware of the possibility to turn the contribution file (contrib.php) on and off, but when it is turned off, you canât contribute any news unless you are logged on as administrator.
Because of that I need to password protect my contribution file via .htaccess and .htpasswd, so only users with a password from me can contribute news, stories etc.
I am pretty sure that the mentioned password protection should work, but to be sure I am asking in forehand.
This kind of password protection use to be good, and I can imagine this is the only way to pretend that phpWebLog has different user levels. Or am I wrong?
|
jason writes on Monday April 30 2001 @ 08:14PM EDT: [ reply | parent ]
No, that would work just fine. That's about all you can do until the accounts/permission are in place.
|
Anonymous writes on Monday April 30 2001 @ 08:23PM EDT: [ reply | parent ]
How can we do that with htaccess and htapass because i only know how to protect direcoryies not files :(
Thanks in advance
Thank You
|
|
gaudior writes on Tuesday May 01 2001 @ 09:42AM EDT: [ reply | parent ]
Try:
AuthType Basic
AuthName Contrib
AuthUserFile ContribUsers
require validuser
|
|
|
gaudior writes on Tuesday May 01 2001 @ 09:42AM EDT: [ reply | parent ]
AuthUserFile contains the user name and the htpasswd hashed password.
|
|
|
|
|