Jump to content

[SOLVED] Protecting a world writtable folder


Recommended Posts

The only real issue would lie within a shared hosting server. A potential security breach could allow someone to upload to that.

 

If you are not on a shared host than you should not be too concerned. If you are, well it is tough to secure it when someone could potentially get into your account. Just hope that your host has taken measures to secure other hosted sites from accessing your folders.

 

One way to do it, is if www.php.net/chmod works on your system you can chmod the folder each time you write to it and than chmod it back when you are finished.

Link to comment
Share on other sites

Ooo I see.

Yea the reason i became concerned was that when i checked the folder, all of a sudden I saw that someone had posted an index.html page there that said "Hack by" some turkish person. Its not really hacking.... Although i guess it falls under security. I just replaced the index.php file; however, the chmod function sounds cool. I didn't know they had that haha.

Thanks!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.