Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

.htaccess Permissions


5 replies to this topic

#1 Nelson Blogs

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 96 posts
  • Gender:Male
  • myCENT:28.52

Posted 15 February 2010 - 01:55 AM

I was creating my .htaccess for my wordpress blog.  From one source, I was told to make the file permissions 777.  I did some extra research and found some article that said that 777 file permissions were very dangerous and can make your site vulnerable to hacker attacks.  I was wondering I should leave my .htaccess at 777 or change the permissions to some other value.

Thanks for your time!

#2 truefusion

    Coincidence is non-sequitur, therefore everything has a reason for its existence (except if they are eternal).

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,216 posts
  • Gender:Male
  • Location:No, not there. Not there either. Yes, you'll never figure it out.
  • Interests:God, Christianity.
  • myCENT:86.16

Posted 15 February 2010 - 03:28 AM

What's the reason for having it 0777? The last time i installed WordPress i didn't have to chmod any .htaccess files. Since you are the one creating and editing the files and not WordPress, there's no need to have it at 0777. 0777 is for accessing and modifying a file from a remote source.

#3 web_designer

    "french rose sparkle under moonlight"...do you believe in the magic of moonlight??!!...

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,385 posts
  • Gender:Female
  • Location:US, CA
  • Interests:internet and the web
    reading books
    sport
    watching tv series
    drawings and art
  • myCENT:12.10
  • Spam Patrol

Posted 16 February 2010 - 12:11 PM

i think you should change it quickly. i don't know a lot about .htaccess file but i know permission 777 is very dangerous because it means read write and execute. so now you letting anyone to read write and execute in your website. as i know if you want to add a certain code you should chage permissions to 777, add the code , test the changings and reset your permissions again, see this link
http://codex.wordpre...ile_Permissions

#4 Zagubadu·

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 226 posts
  • Gender:Male
  • Location:United States, Maine, Waterford
  • Interests:I like doing stuff on the computer. Playing Xbox and hanging out with friends.
  • myCENT:87.34
  • Spam Patrol

Posted 16 February 2010 - 12:44 PM

Well I haven't personally tried WordPress. But with Drupal and Joomla you only had to have a few files 777 for a little bit with installing it or whatever. If you have to 777 do it when you need to and then change it back. And yes keeping it to 777 is a security risk.

#5 Nelson Blogs

    Member [Level 3]

  • Kontributors
  • PipPipPipPipPipPip
  • 96 posts
  • Gender:Male
  • myCENT:28.52

Posted 16 February 2010 - 11:35 PM

Thank you guys for confirming the 777 situation. I was wondering which file permission I should change this to. I am not very good with messing around with them so I need help.

#6 anwiii

    I wont bite...unless you WANT me too

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2,704 posts
  • Gender:Male
  • Location:Chilhowee, MO
  • Interests:watching grass grow....
  • myCENT:62.06
  • Spam Patrol

Posted 17 February 2010 - 12:26 AM

i suggest you go to the wordpress site to find out about the permissions. yea, changing permissions could very well be a security risk but you will need to probably change a couple folders to those permissions if you want to edit some of your files within your admin area. you'd also probably have to tweek your .htaccess file although changing permissions and/or or htaccess file is not really necessary. but yea, i would suggest going to the wordpress site where this topic is talked about(i am pretty sure i saw a topic floating around somewhere over there a while back). i think you'll get a lot better advice there. the advice given here is pretty vague. if you do go researching elsewhere and find any usefull information, you might want to quote it in this thread for future reference.

View PostNelson Blogs, on Feb 16 2010, 05:35 PM, said:

Thank you guys for confirming the 777 situation. I was wondering which file permission I should change this to. I am not very good with messing around with them so I need help.





Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users