|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
I'm running version 5.47e, is there a way to password protect is with htaccess ? If so, what program or script would be the best to use ? Also, some advice installing this would be a HUGE help I'm trying to make my ubb completely private and I don't want to use the SHTML mod  ] Thanks
|
|
|
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
Have you got Apache as your Web server?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
thanks guys, I got this working in a public folder. I've tried using these instuctions in a cgi-bin folder and it won't work Is there something you have to different in a cgi-bin folder?
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Most hosts disable .htaccess files in their cgi-bin - you should contact them concerning this.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Thanks Charles Ok what about his one... They say I htaccess a root/public folder, which I got working at the present momment and I link the fourms from one of the pages in my htaccess folder. This won't protect it right ? Is there a way the hide the urls/links of the forums somehow ? Because this is becoming a pain in the rear end Thanks again for your help 
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Er, can you re-describe the setup of your board and where you have .htaccess files?
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
I have my boards in the cgi-bin folder and my htaccess files in a folder(members) in the root dir. I guess my provider doesn't allow htaccess in the cgi-bin folder I've tried setting up my boards in the same dir as the htaccess protected folder (members) which is in the root dir, but the boards don't work unless the scripts are in the cgi-bin folder 
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Which makes sense (unfortunately)
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Aug 2000
Posts: 335
Member
|
Member
Joined: Aug 2000
Posts: 335 |
My server was originally set up that way, and I had to change httpd.conf to allow .htaccess in cgi-bin.
I figured Apache disabled .htaccess in cgi-bin for safety, since .htaccess files could potentially cause security issues if used improperly. Is that the reason why a provider would not want .htaccess in cgi-bin?
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Almost certainly.
That or they're also just using the apache default config...
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
So I should call and ask this to be changed Thanks for all your help guys !
|
|
|
|
Joined: Jun 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 16 |
you can try to upload a script to the cgi folder to generate the httacces files, might work indexsoft .htpasswd manager Download script
|
|
|
|
Joined: Aug 2000
Posts: 569
Member
|
Member
Joined: Aug 2000
Posts: 569 |
Thanks M_30-john I'll try it, oh btw this isn't going to get me into any trouble ?
|
|
|
|
Joined: Jul 2002
Posts: 3
Junior Member
|
Junior Member
Joined: Jul 2002
Posts: 3 |
May I know.... how htaccess can improve your website security rather than using normal UBB login procedure?
What I know is that htaccess password is transfered without encryption, so any sniffer can tap the information.
|
|
|
|
Joined: Sep 2001
Posts: 379
Member
|
Member
Joined: Sep 2001
Posts: 379 |
Nice addition against common bruteforce crackers... you'd get quite pissed after spending hours if not days bruteforcing the .htaccess authentication password, only to get to another user/pass protected page, now wouldn't you? 
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
you can use encryption... also you can create password files with crypt()... but the program in the above link uses apache's 'htpasswd' binary...
|
|
|
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
funny  I didnt see the second page 
|
|
|
|
Joined: Jun 2002
Posts: 16
Junior Member
|
Junior Member
Joined: Jun 2002
Posts: 16 |
This wont get you into any trouble imo, you need to ask your site hoster for the location of the htpasswd file (to generate the password files) Apache uses some default locations which you try first though. the passwords are/can be encrypted by 3 differend standards  so sniff ahead btw, I succeeded in protecting my cgi-bin this way, the control panel suplied me only with a way to httaccess my httpdocs and httpsdocs directories.
|
|
|
|
Joined: Dec 2001
Posts: 699
Member
|
Member
Joined: Dec 2001
Posts: 699 |
If Apache doesn't let you have .htaccess in the cgi-bin, it won't let you have .htaccess in the cgi-bin AFAIK.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|