WordPress.org

Ready to get started?Download WordPress

Forums

What permission scheme do you use normally? (6 posts)

  1. xzoom
    Member
    Posted 1 year ago #

    Hi,
    I would like to know how you deal with the issue of owner / permissions for wordpress multisite.

    Regarding this documentation: http://codex.wordpress.org/Hardening_WordPress#File_Permissions

    And

    Some neat features of WordPress come from allowing various files to be writable by the web server. However, allowing write access to your files is potentially dangerous...

    It is best to lock down your file permissions as much as possible and to loosen those restrictions on the occasions that you need to allow write access...

    What permission scheme do you use normally? Do you change file permissions each time you need to update or install something from wordpress? Or do you update from sftp and you never do anything from wordpress?

    Thanks a lot!

  2. I update from SFTP. My htaccess is locked so I have to edit it manually, though.

  3. xzoom
    Member
    Posted 1 year ago #

    Then, if you update from sftp, you think the best security is to lock down file permissions, so that wordpress can't modify files as automatic wordpress update or automatic update for plugins.

    Administrators act differently when update wordpress. I wonder what is the safest way.

    Thanks a lot!

  4. Well. No. I'd let WP do the updates. It's also using SFTP, so it's pretty safe.

  5. xzoom
    Member
    Posted 1 year ago #

    Ah ok! I could never run that. I enter my sftp user and gets the following error:

    Failed to connect to FTP Server servername:21

    How can I change the port? (21 is closed, surely that is the problem)

    Thanks!

  6. xzoom
    Member
    Posted 1 year ago #

    Ok I see... you can use cosntants in wp-config.php! I will try.

    thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.