| View previous topic :: View next topic |
| Author |
Message |
Phate 500+ Club

Joined: 21 Nov 2004 Posts: 818 Location: 127.0.0.1
|
Posted: Thu Dec 29, 2005 3:38 am Post subject: .htaccess |
|
|
Okay... i didnt know where to put this, so i put it here.
My webhost wont allow filenames that begin with a period. I wanted to create a "protected" directory, and all the google searches that i tried all pointed to the .htaccess and such...
Is there any other way to make a password protected directory?
(my webhost does have PHP and MySQL) |
|
| Back to top |
|
 |
|
|
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3647 Location: Sweden
|
Posted: Thu Dec 29, 2005 9:41 am Post subject: Re: .htaccess |
|
|
| That's correct .htaccess is the way to do it. I actually have a very good link for that in my favorites list, here you go: LINKY! |
|
| Back to top |
|
 |
Phate 500+ Club

Joined: 21 Nov 2004 Posts: 818 Location: 127.0.0.1
|
Posted: Sat Dec 31, 2005 11:07 pm Post subject: Re: .htaccess |
|
|
| the problem with that is that i cant use .htaccess... and with my webohst, there is no way around that... |
|
| Back to top |
|
 |
jhonbob3

Joined: 09 Nov 2005 Posts: 45
|
Posted: Tue Jan 24, 2006 11:45 pm Post subject: Re: .htaccess |
|
|
I don' t know about password protected as in a login on your website. However I am using a different method to keep people out of my directorys, permissions. Basically you need to login to your server via FTP or some kind of online file manager that allows you to access the folders permissions. Just select the folder you want to keep people out of and set the permissons to 711 or (drwx--x--x) Which ever format you are more comfortable in. Basically that makes it so the owner (that's you) can access and change the files when logged in, and that group and others can only excecute. Works great for me.
-me |
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3647 Location: Sweden
|
Posted: Wed Jan 25, 2006 12:13 am Post subject: Re: .htaccess |
|
|
| jhonbob3 wrote: |
I don' t know about password protected as in a login on your website. However I am using a different method to keep people out of my directorys, permissions. Basically you need to login to your server via FTP or some kind of online file manager that allows you to access the folders permissions. Just select the folder you want to keep people out of and set the permissons to 711 or (drwx--x--x) Which ever format you are more comfortable in. Basically that makes it so the owner (that's you) can access and change the files when logged in, and that group and others can only excecute. Works great for me.
-me |
Just to make this more clear, this is called CHMOD |
|
| Back to top |
|
 |
Phate 500+ Club

Joined: 21 Nov 2004 Posts: 818 Location: 127.0.0.1
|
Posted: Wed Jan 25, 2006 6:20 am Post subject: Re: .htaccess |
|
|
| awesome! i forgot about this |
|
| Back to top |
|
 |
|