Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Password protection

Author
Message
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 3rd May 2004 21:48
hey , does any 1 know how to password protect a directory on your site i could really do with the help . Thanks !

It's Not The Cards Your Dealt , It's How U Play Them
sidewkdik
20
Years of Service
User Offline
Joined: 2nd May 2004
Location: Miami,U.S.A
Posted: 3rd May 2004 22:21
Sorry I dont know how to do that excatly, but I did use to offer a FTP web host that did do it , I charged £10 per year for Unlimited amount of web space, 100GB bandwidth, I dont do it now though

I'll see if I can find any information though

£10 a year ftp web hosting - http://www.lowftp.com
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 3rd May 2004 22:24
via IIS or the web server in place


* DBP_NETLIB_v1 - PLUGIN FOR DBP * Click LogoMooooooo!
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 3rd May 2004 22:31
ehh....... web server

It's Not The Cards Your Dealt , It's How U Play Them
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 5th May 2004 20:14
actually i just found a really good way , i simply downloaded a java applet and put it on my site , the only problem is if you know the exact address you can acess my site with out a password. are there any ways to avoid this ?

It's Not The Cards Your Dealt , It's How U Play Them
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th May 2004 20:58
do you know any asp?
what are you trying to do exactly?


* DBP_NETLIB_v1 - PLUGIN FOR DBP * Click LogoMooooooo!
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 5th May 2004 21:08
No asp im afraid.

Well basicly i have a site on the net which i use as sort of a server and all i want to do is protect the data.

It's Not The Cards Your Dealt , It's How U Play Them
Elleomea
21
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 5th May 2004 21:42
Go read about .htaccess and .htpasswd files. That's the standard way to control access to a directory.

How much ham could a hamster stir, if a hamster could stir ham?
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 5th May 2004 21:42
You don't need ASP. 90% of the servers out there use some sort of HTTPD authorization files. There's a password file and an auth file. I'm at work so I can't access my FTP server to show you mine, but here's the link I used to do it.

EDIT: Looks like the link itself is password protected

Use Google and search for .htaccess --- you'll find tons of stuff.

Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 5th May 2004 23:48 Edited at: 5th May 2004 23:50
ok iv decided to u htaccess.

im having problems understnding how to do this .

i saved this in a document called text.htaccess
i uploded this to the same directory as my index.



then i also have n.htpasswd in the same directory



if u can help me at all i would really appreciate it

It's Not The Cards Your Dealt , It's How U Play Them
Elleomea
21
Years of Service
User Offline
Joined: 2nd Aug 2003
Location: England
Posted: 6th May 2004 00:23
It has to be .htaccess, not text.htaccess.

How much ham could a hamster stir, if a hamster could stir ham?
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 6th May 2004 00:25
But windows won't let you save as just .htaccess.

I'd remove the "text" once it's uploaded.

Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 6th May 2004 00:31
Thanks guys i managed to rename it , the file has now disapeared i think it supposed to do that.

For some reason my site still loads normally ?

It's Not The Cards Your Dealt , It's How U Play Them
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 6th May 2004 00:52 Edited at: 6th May 2004 00:53
You did change this
AuthUserFile /n.htpasswd
to
AuthUserFile /.htpasswd

I suspose there is a chance your host has disabled them.

There should be an option in your ftp client to show hidden files, then you will be able to see files that statrt with "."

i won't see you in the pit
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 6th May 2004 01:51
Also, you need the .htpasswd file with your usernames and their ENCRYPTED passwords. There are some utilities and websites out there that will generate an encrypted password after you type in the password you want to use. My password file looks something like this:

jeku:asdfuew234ZED

That's it. jeku for a username and the encrypted password (just an example of course). Again, I'm at work but when I get home later on I'll check my site and see what I can dig up for ya.

Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 6th May 2004 11:05
yep i did change it.

before i bother encrypting it i was hoping to get it working.

It's Not The Cards Your Dealt , It's How U Play Them
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 6th May 2004 20:58
Please !

some1 must have an idea, i'll try anything

It's Not The Cards Your Dealt , It's How U Play Them
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 7th May 2004 20:02
alright guys i give up , back 2 java applets

It's Not The Cards Your Dealt , It's How U Play Them
AluminumPork
21
Years of Service
User Offline
Joined: 28th Oct 2003
Location: Duluth, MN, USA
Posted: 7th May 2004 20:54
Quote: "But windows won't let you save as just .htaccess.

I'd remove the "text" once it's uploaded.
"


You're using notepad I hope, just save as "All Files" and then put the file extenstion you want to use.

P4 2.4Ghz HT, 512MB RAM, ATI Radeon 9600 128MB, 19" Viewsonic, 80GB HD

Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 7th May 2004 22:10
Thanks , i tried it still no luck

It's Not The Cards Your Dealt , It's How U Play Them
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 8th May 2004 18:57
Please..............
some1 must know what 2 do

It's Not The Cards Your Dealt , It's How U Play Them
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 11th May 2004 19:49
ok im still tryin ,any suggetions ?

It's Not The Cards Your Dealt , It's How U Play Them
Toby Quan
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: U S A
Posted: 11th May 2004 21:42
The way to go ... costs money. I pay about $10 a month for my domain, and as the webmaster, I can password protect any directory I want at the webserver level.

If you use free websites, you cannot do that.

So, my advice is to purchase and pay for hosting, and password protect it that way.
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 11th May 2004 21:58
i use the free 1 with ntl would it still work ?

It's Not The Cards Your Dealt , It's How U Play Them
Toby Quan
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: U S A
Posted: 12th May 2004 01:37
What is "ntl"?
Eternal Darkness
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Area 51
Posted: 12th May 2004 18:46
Ntl is an ISP

It's Not The Cards Your Dealt , It's How U Play Them
Toby Quan
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: U S A
Posted: 13th May 2004 01:39
Well, I don't think you can configure the web server if you are using free space from the ISP. You've got to pay some $$$ to get the good tools.

Login to post a reply

Server time is: 2024-11-25 07:48:55
Your offset time is: 2024-11-25 07:48:55