GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Simple Quesion... (https://gfy.com/showthread.php?t=34571)

new_bie 06-15-2001 07:56 PM

Simple Quesion...
 
I didn't know where to post this but this place is great for answers.

Does anyone know how to password protect a section of your site? Like just one html file. So that only friends can check them out...

Thanx in advance,



------------------
~!@#$%^&*()_+

DragonAss 06-15-2001 10:23 PM

You can do it with .htaccess blocks.

See this for an example.

[Files foo.html]
AuthName "Insiders Only"
AuthType Basic
AuthUserFile /usr/local/web/apache/.htpasswd-foo
Require valid-user
[/Files]

(those brackets should be gt lt signs like html... but html is taken out of this post)

The whole tutorial.

HTH


[This message has been edited by DragonAss (edited 06-15-2001).]

[This message has been edited by DragonAss (edited 06-15-2001).]

tenletters 06-16-2001 03:53 AM

I think you can also do it with javascript so you may want to put your search engine cap on.

Lane 06-16-2001 05:44 AM

Quote:

Originally posted by tenletters:
I think you can also do it with javascript so you may want to put your search engine cap on.
js is not secure enuf

------------------
Best Free CJ script
Cjultra.com
icq: 6757061

MrCockTale 06-16-2001 06:11 AM

Quote:

Originally posted by Lane:
js is not secure enuf

I don't think he really needs the most-secured thing on earth.

------------------
Life's a bitch


All times are GMT -7. The time now is 02:18 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123