Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 11-29-2003, 09:50 AM   #1
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
Can I password protect a file?

like I don't want to protect the whole dir just a file
like oracleporn.com/something.cgi

can I do that somehow?
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 09:51 AM   #2
chemicaleyes
UNSTOPPABLE
 
chemicaleyes's Avatar
 
Join Date: Aug 2003
Location: UK :: ICQ# 156068
Posts: 11,569
I'm sure you can.

__________________
No way as way, No limitation as limitation. AmeriNOC formally PhatServers
chemicaleyes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 09:52 AM   #3
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
Quote:
Originally posted by chemicaleyes
I'm sure you can.

GREATTTTTTTTTT help bro thanks
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 09:53 AM   #4
corvette
Confirmed User
 
corvette's Avatar
 
Join Date: Oct 2001
Location: scottsdale
Posts: 7,880
zip it up with a password
__________________
If you need a good company for check writing services, then check out checkissuing, and for webhosting, check out Phoenix NAP
corvette is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 09:54 AM   #5
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
Quote:
Originally posted by corvett
zip it up with a password
not a zip file..
a cgi or a php file
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 09:54 AM   #6
chemicaleyes
UNSTOPPABLE
 
chemicaleyes's Avatar
 
Join Date: Aug 2003
Location: UK :: ICQ# 156068
Posts: 11,569
Quote:
Originally posted by Oracle Porn


GREATTTTTTTTTT help bro thanks
NP bro, someone should know...
__________________
No way as way, No limitation as limitation. AmeriNOC formally PhatServers
chemicaleyes is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 11:41 AM   #7
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
bump
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 11:43 AM   #8
directfiesta
Too lazy to set a custom title
 
directfiesta's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Montreal, Quebec
Posts: 29,677
Quote:
Originally posted by Oracle Porn


not a zip file..
a cgi or a php file
cgi should be in a cgi-bin. Permissions protect what the script is allowed to do...

If you want to be the only one to use that cgi, create a new folder, put the file in that folder, protect it with .htaccess and make sure you configure Apache to allow execution of a cgi in another folder than cgi-bin.

__________________
I know that Asspimple is stoopid ... As he says, it is a FACT !

But I can't figure out how he can breathe or type , at the same time ....
directfiesta is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 11:46 AM   #9
ldinternet
Confirmed User
 
Join Date: Apr 2001
Posts: 8,245
Like this?

www.nastydollars.com/stats.htm
ldinternet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 11:46 AM   #10
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
Quote:
Originally posted by directfiesta


cgi should be in a cgi-bin. Permissions protect what the script is allowed to do...

If you want to be the only one to use that cgi, create a new folder, put the file in that folder, protect it with .htaccess and make sure you configure Apache to allow execution of a cgi in another folder than cgi-bin.

If I move that cgi in another folder ill have to modify fuckload of other pages... its next to impossible
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 11:47 AM   #11
Oracle Porn
Affiliate
 
Oracle Porn's Avatar
 
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,433
Quote:
Originally posted by ldinternet
Like this?

www.nastydollars.com/stats.htm
yes
__________________


Oracle Porn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 11:53 AM   #12
Matthew
Confirmed User
 
Matthew's Avatar
 
Industry Role:
Join Date: Jul 2002
Posts: 194
.htaccess

PHP Code:
<Files fileyouwanttoprotect.php>
AuthUserFile /www/htpasswds/.htpasswd
AuthName 
Protected
AuthType Basic
<Limit GET>
require 
valid-user
</Limit>
</
Files
like that

edit.. damn how to insert these less then ang greater then signs..

so I just used php tag.. it's not a php *OBVIOUSLY*

Last edited by Matthew; 11-29-2003 at 11:55 AM..
Matthew is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 11-29-2003, 12:15 PM   #13
IntenseCash
Confirmed User
 
IntenseCash's Avatar
 
Join Date: Apr 2003
Location: Colorado
Posts: 2,421
I have a php script where I can protect just the one file, or anything behind it. have to enter a user and pass.
__________________
IntenseCash.com
~ Chuck | ICQ: 444887112
Top converting sites:
BrokeStraightBoys.com, CollegeDudes.com & CollegeBoyPhysicals.com
IntenseCash is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.