Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: View files in root  (Read 1430 times)

Simon Whittaker

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
    • http://Lanonet.se
View files in root
« on: March 19, 2007, 03:06:23 pm »

The ability to easily upload and look at files is very handy. But now I wonder if some amendments and restrictions can be made.

I note, for example, that "view files on root" presently "sees" .js and .css files, but not .php or html. It doesn't see .htaccess but does see .htpasswd - with the possibility to delete! Accidental deletion of a .js, .css or .htpasswd file could cause some problems!

The uploader seems to upload any kind of file.

Is it possible to make some amendments and restrictions? If so, what are the relevant lines of code?

SHW
Logged

Simon Whittaker

  • Newbie
  • *
  • Karma: 0
  • Posts: 14
    • http://Lanonet.se
View files in root
« Reply #1 on: March 19, 2007, 03:30:56 pm »

That's just what I wanted! Thanks!

SHW
Logged