WordPress.org

Ready to get started?Download WordPress

Forums

Add From Server
restrict viewing of file structure (1 post)

  1. spacechampion
    Member
    Posted 3 years ago #

    This is the great plugin, but why does it show the whole directory tree? I don't want my users knowing anything about the .htaccess file, wp-config.php etc.

    I'm looking for a way restrict this to administrator only, and all others to just the upload file directory. I probably can figure out how to modify the add-from-server code and do it within wordpress, but is there a simpler way with my htaccess file? I'm using the Wp htaccess Control plugin so can insert to that file, but what do I add?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic