Jsp File Browser

Task list for Project:

Please ensure that your browser has cookies enabled if you want this software to work properly...

Register as a new user

Task #25 — How to restrict file access with black list

Attached to Project — Jsp File Browser

Opened by Vinod Kumar (vinodman) - 7 Jul 2006
Last edited by Boris von Loesch (super) - 12 Jul 2006

Task Type Support Request Severity Very Low
Category File handling Reported Version 1.0RC2
Status Waiting on Customer Due in Version Undecided
Assigned To Boris von Loesch (super) Percent Complete 100% complete
Operating System Windows
Details Hi,
I am very new to this. Your programming working too good for me. I found few problems with it. I am mainly concerned with File restriction. We are going to use this on intranet within office. But i dont want users have readonly access to a certain folers only. How can i do that.

I modified your code
private static final String[] FORBIDDEN_DRIVES= {"a:", "d:", "e:"}
This doesnt show d or e drive.
If you are intelligent by modifying a url to E instead of C drive, still you can access all folder. I dont want that to happen.
Would like to know how to use Black or whitelist as you mentioned.

Vinod

Comments (1) | Attachments (0) | Related Tasks (0/0) | Notifications (1)

Comment by Boris von Loesch - Wednesday, 12 Jul 2006, 2:03pm

These are two different functions. Forbidden drives is a feature mainly to go around a problem which I have described in the readme file. It is no security related feature. Black- and whitelisting is implemented in the last version (1.1a) and has other parameters.