home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2722
Discussions: 188,384, Posts: 2,243,503, Members: 232,614
Old February 19th, 2003, 02:26 PM   Digg it!   #1 (permalink)
Moderator
 
phenious's Avatar
 
Join Date: Oct 2001
Location: Winter Park FL
Posts: 5,278
Send a message via AIM to phenious
APACHE 2.0 in XP Password Protection

I am running Apache 2.0 in Win XP and all is well and I recently started to tinker with password protected directories... now what I want to do is just have a login page that sends you to a specific page based on your login info... like I want my this guy to see X files when he logs in and I want this guy to see Y files. Now I know how to do this by seperating the files into two different directories... passwording them and sending the user on a link to those files and then they get asked but I dont like the fact that I have to tell you where they are in the first place, finding passwords or anything is half the battle of a hacker. Anyways. I hope you understand what I am trying to ask. Thanks.

-: phenious :-
__________________

phenious is offline   Reply With Quote
Old February 19th, 2003, 02:37 PM     #2 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,549
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
I've never run apache under windows, but if it uses .htaccess you can specify file by file what access is needed to view it.

Thus when a user logs in they would only have access to certain files. As for redirecting based off of .htaccess, not sure

Another way to do this is to use some scripting langugae (PERL, PHP, etc) and based off of their login, create a session, based off their session send them to the appropriate page.

Jkrohn
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.

jkrohn is offline   Reply With Quote
Old February 19th, 2003, 02:43 PM     #3 (permalink)
Moderator
 
phenious's Avatar
 
Join Date: Oct 2001
Location: Winter Park FL
Posts: 5,278
Send a message via AIM to phenious
ahhh... trying to stay away from PHP and such becase I dont know and it and dont want to try to configure that stuff on my computer to run the scripts:P

http://www.phenious.dyns.net

if you goto the files section you will see what I am doing. You click on the user name and it prompts you, I just want to do with out that Ill see if I can do what you said above

-: phenious :-

phenious is offline   Reply With Quote
Old February 19th, 2003, 02:46 PM     #4 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,549
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
You're using .htaccess? or some other auth method?

Jkrohn
jkrohn is offline   Reply With Quote
Old February 19th, 2003, 02:53 PM     #5 (permalink)
Moderator
 
phenious's Avatar
 
Join Date: Oct 2001
Location: Winter Park FL
Posts: 5,278
Send a message via AIM to phenious
auth I think... I created password files with the tool that comes with apache and I protected the whole directory in the config file and in there told it to restrict with the basic mode and to allow certian users with their passwords. I dont think windows allows for .htaccess... not sure though.


-: phenious :-
phenious is offline   Reply With Quote
Old February 19th, 2003, 02:54 PM     #6 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,549
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
No clue then man. There is a ton you can do with .htaccess but if thats not what you're using I am not of much help

Jkrohn
jkrohn is offline   Reply With Quote
Old February 19th, 2003, 03:01 PM     #7 (permalink)
Moderator
 
phenious's Avatar
 
Join Date: Oct 2001
Location: Winter Park FL
Posts: 5,278
Send a message via AIM to phenious
Thanks. What I am trying to do right now is use a basic login and go from there... not sure on how to do that though :S http://217.228.169.11/files2.htm

(the ip above will change but if you goto my site @ www.phenious.dyns.net you can find the IP by right clicking and looking at the properties)

anyone else?

-: phenious :-
phenious is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (2896)
CPU wont boot (5)
3-days in and no threads about Gaza (160)
The United States Debt (20)
I think I just killed my computer w.. (24)
Upgrading RAM (5)
hp compaq nc6000 problems (138)
Folderchat Weekday thread (441)
Antec 300 bulk purchase? (11)
Recent Discussions
CPU wont boot (5)
Creative T-3000 Subwoofer (3)
ACPI controller halt on boot (2)
Building a gaming computer advi.. (3)
Worth the upgrade?? (15)
Folderchat Weekday thread (441)
ADVICE (0)
How to increase my ram? (5)
Help with an Ati Radeon HD 4850.. (27)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 10:11 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28