Previous Thread
Next Thread
Print Thread
Rate Thread
#103825 07/21/2002 1:18 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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 smile

I'm trying to make my ubb completely private and I don't want to use the SHTML mod frown ]

Thanks

Sponsored Links
#103826 07/22/2002 1:10 AM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
Have you got Apache as your Web server?

#103827 07/22/2002 8:59 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
If you use apache try this: http://faq.clever.net/htaccess.htm

#103828 07/23/2002 3:57 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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 frown
Is there something you have to different in a cgi-bin folder?

#103829 07/23/2002 10:33 AM
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.
Sponsored Links
#103830 07/24/2002 2:39 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
Thanks Charles smile
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 smile

Thanks again for your help smile

#103831 07/24/2002 4:28 PM
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.
#103832 07/25/2002 2:09 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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 frown
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 frown

#103833 07/25/2002 11:53 AM
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.
#103834 07/25/2002 3:12 PM
Joined: Aug 2000
Posts: 335
Member
Member
Offline
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?

Sponsored Links
#103835 07/25/2002 4:28 PM
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.
#103836 07/26/2002 2:14 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
Joined: Aug 2000
Posts: 569
So I should call and ask this to be changed smile
Thanks for all your help guys !

#103837 08/06/2002 8:37 AM
Joined: Jun 2002
Posts: 16
Junior Member
Junior Member
Offline
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

#103838 08/12/2002 1:59 AM
Joined: Aug 2000
Posts: 569
Member
Member
Offline
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 ?

#103839 08/15/2002 11:12 AM
Joined: Jul 2002
Posts: 3
Junior Member
Junior Member
Offline
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.

#103840 08/15/2002 3:02 PM
Joined: Sep 2001
Posts: 379
Member
Member
Offline
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? wink

#103841 08/15/2002 4:59 PM
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...

#103842 08/15/2002 5:01 PM
Joined: May 2000
Posts: 1,356
Addict
Addict
Joined: May 2000
Posts: 1,356
funny smile I didnt see the second page tipsy

#103843 08/16/2002 3:54 AM
Joined: Jun 2002
Posts: 16
Junior Member
Junior Member
Offline
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 wink 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.

#103844 08/16/2002 11:40 AM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
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.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)