Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes Open shared location while uploading/downloading a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Open shared location while uploading/downloading a file" Watch "Open shared location while uploading/downloading a file" New topic
Author

Open shared location while uploading/downloading a file

nancy andrew
Ranch Hand

Joined: Jan 19, 2010
Posts: 30
Hi All,

I have a requirement in which I have to open only a particular location (ex z: shared drive) from where user can upload/download documents to/from. User would not be able to open hard disk location like c:, d: drive. How do i proceed with this drive restriction using java

Kindly reply

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19649
    
  18

Check out SecurityManager, in combination with this page.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Open shared location while uploading/downloading a file
 
Similar Threads
Access Network drive through Java Application running as a service
avoiding the file download dialog box
How to change root directory of sun mobile emulator?
Is it possible to use Struts2 file upload tag to display content of a shared drive directory:
Tomcat 5.5 - File/Folder creation problem