It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index For Webmasters Webhosting Services Forum

.htaccess

Discuss everything about webhotels.

.htaccess

Postby Phate on Thu Dec 29, 2005 2:38 am

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)
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby webmaster on Thu Dec 29, 2005 8:41 am

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!
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Phate on Sat Dec 31, 2005 10:07 pm

the problem with that is that i cant use .htaccess... and with my webohst, there is no way around that...
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby jhonbob3 on Tue Jan 24, 2006 10:45 pm

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
User avatar
jhonbob3
 
Posts: 45
Joined: Wed Nov 09, 2005 4:02 am

Postby webmaster on Tue Jan 24, 2006 11:13 pm

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
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Phate on Wed Jan 25, 2006 5:20 am

awesome! i forgot about this
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1


Who is online

Users browsing this forum: No registered users and 0 guests