Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Adding users to the http server
Google
Post new topic Reply to topic
Author Message
caperneoignis
 
 


Joined: 14 Jul 2004
Posts: 27
Location: Good `ol Georgia

PostPosted: Mon Aug 30, 2004 7:27 pm Reply with quoteBack to top

I want to add differnt users with differnt passwords that have access to differnt parts of the server. So some one who has access to one file wont have access to say....apache2cp. So this way i can have a security hirearchy (i misspelled that i know). I know how to make a root user (im one) but i want a super user and a diffrent user.

Any help will be help will be meet with groveling.

sincerly
caper
View user's profileSend private messageSend e-mailAIM Address
whitehawk
 
 


Joined: 27 Aug 2004
Posts: 8

PostPosted: Mon Aug 30, 2004 8:00 pm Reply with quoteBack to top

why don't you use htaccess. Thats a brute force solution in the sense that you will have to create a .htaccess for everyfolder and password for each and every user. But it would solve your problem. I am not familiar with auth_dbm. thats might be simpler.
_mahesh
View user's profileSend private message
caperneoignis
 
 


Joined: 14 Jul 2004
Posts: 27
Location: Good `ol Georgia

PostPosted: Tue Aug 31, 2004 3:00 am Reply with quoteBack to top

Your right that makes since but how would they login. It says allow all or none is there a way to add the user manual right into the htacces file and then the password and user name are right there in the htaccess file.
I know what your talking about and it makes since its gettign there that hard. any more advice would be aparciated.
thanks
caper
View user's profileSend private messageSend e-mailAIM Address
caperneoignis
 
 


Joined: 14 Jul 2004
Posts: 27
Location: Good `ol Georgia

PostPosted: Tue Aug 31, 2004 3:18 am Reply with quoteBack to top

Just use the htpasswrd.exe in commandline. and copy the hash to the htpasswrd file in htdocs.
View user's profileSend private messageSend e-mailAIM Address
whitehawk
 
 


Joined: 27 Aug 2004
Posts: 8

PostPosted: Tue Aug 31, 2004 9:29 am Reply with quoteBack to top

if you mean different users have access to different folders then .htaccess would do. But if you want different users to access different files in the same folder then I have no idea !!!
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Tue Aug 31, 2004 1:48 pm Reply with quoteBack to top

well you have quite some options , but you can't have file based authentification without some specialised scripts , only directory based
, especially on windows

the most simple one is mod_auth wich is enabled by default and alows you to have basic authentification

the same features , only with a stronger (md5) encryption are offered by mod_auth_digest

database based authentification can be achieved by using either mod_auth_db or mod_auth_dbm

and anonymous access without authentification but like the anonymous ftp acounts can be achieved by the usage of mod_auth_anon

most of those still require some use of .htaccess files

i sugest you also see the tutorial on http://httpd.apache.org/docs-2.0/howto/auth.html and even the old http://httpd.apache.org/docs/howto/auth.html for more in depth explanations
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT