Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


.htaccess



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Webhosting Services Forum
View previous topic :: View next topic  
Author Message
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Thu Dec 29, 2005 3:38 am    Post subject: .htaccess Reply with quote

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
View user's profile Send private message Send e-mail AIM Address
webmaster
Site Admin


Joined: 17 Aug 2004
Posts: 3647
Location: Sweden

PostPosted: Thu Dec 29, 2005 9:41 am    Post subject: Re: .htaccess Reply with quote

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
View user's profile Send private message Visit poster's website
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Sat Dec 31, 2005 11:07 pm    Post subject: Re: .htaccess Reply with quote

the problem with that is that i cant use .htaccess... and with my webohst, there is no way around that...
Back to top
View user's profile Send private message Send e-mail AIM Address
jhonbob3



Joined: 09 Nov 2005
Posts: 45

PostPosted: Tue Jan 24, 2006 11:45 pm    Post subject: Re: .htaccess Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address
webmaster
Site Admin


Joined: 17 Aug 2004
Posts: 3647
Location: Sweden

PostPosted: Wed Jan 25, 2006 12:13 am    Post subject: Re: .htaccess Reply with quote

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
View user's profile Send private message Visit poster's website
Phate
500+ Club


Joined: 21 Nov 2004
Posts: 818
Location: 127.0.0.1

PostPosted: Wed Jan 25, 2006 6:20 am    Post subject: Re: .htaccess Reply with quote

awesome! i forgot about this
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Webhosting Services Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap