Previous Thread
Next Thread
Print Thread
Rate Thread
#102584 04/15/2001 11:11 PM
Joined: Mar 2001
Posts: 41
Member
Member
Offline
Joined: Mar 2001
Posts: 41
I really am not sure if this is the correct forum for this, and I know that this is probably a very basic question for everyone but...
I just got my ubb board up and running about a month ago. I was wondering though, I noticed how most sites protect their cgi files somehow so that people cannot just access them by typing the file name in. How would I go about doing this? I am really sorry but I dont know what type of information I have to give to you so that you would be able to help me
Any help would be greatly appreciated!

Tw1112

Sponsored Links
#102585 04/15/2001 11:15 PM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Two ways to do this:

1) Server based password (e.g., http://pkcompendium.hypermart.net/cgi-bin). On UNIX, you would use a .htaccess file. On Windows, you would need to specify this in the IIS settings somewhere.

2) Put password protection right into script whereas authentication would have to be done before a user is allowed to proceed.

Hope this helps.

qasic

#102586 04/15/2001 11:26 PM
Joined: Mar 2001
Posts: 41
Member
Member
Offline
Joined: Mar 2001
Posts: 41
Thanks for the quick response! Is the htaccess easier than adding to the scripts? If I added to the scripts do I have to do it to each and every file? Sorry one more question...is there any site that may help me do this stuff? I liked the way how that link asked for a password and stuff smile Thanks!

#102587 04/15/2001 11:57 PM
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Server based protection would be the thing I recommend. Setting up a protected .htaccess isn't that hard - Apache has some docs on it:
http://httpd.apache.org/docs/misc/FAQ.html#user-authentication

Should get you started. I know there's some instructions here (on UBBDev) to set up .htaccess too, so you may want to search here as well.

qasic

#102588 04/16/2001 12:37 AM
Joined: Mar 2001
Posts: 41
Member
Member
Offline
Joined: Mar 2001
Posts: 41
Very Cool! Thank you very much!! I will start reading smile

Sponsored Links

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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 20240506)