• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to password protected Folder through Java

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

This is Anurag Pathak.

I want a sample Java Code which will create password Protected folder.

so while accessing a folder it should ask password if valid folder should be visible else invisible.

Please help me in achieving this.

Regards

Looking forward for the reply.

Regards

Anurag Pathak

pathak_arg@yahoo.com
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you clearly explains what your application should do ?

What I understand from your explanations is that through your Java application :
- some folders must be visible ;
- when the user try to access one of the these visible folders, the user will required to enter password information;
- If the password information is not correct, the folder becomes invisible.

Is a password required to access a folder EACH TIME a folder is accessed ?
Has each folder a different password ?
Where are the password information stored : in your application or associated with the folders and obtained through the OS ?

Is there something else worth mentionning ?


Marc Marechal
SCJP5, SCBCD5, SCJD6
 
Anurag Pathak
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is just One Folder on say C Drive I want to make it password protected Password will be taken from properties file thats it.

Please expand your suggesstions to make it achievble.

Thanks & Regards

Anurag Pathak

pathak_arg@yahoo.com
 
reply
    Bookmark Topic Watch Topic
  • New Topic