• Post Reply Bookmark Topic Watch Topic
  • New Topic

Logging User information who is accessing a file

 
Senthil Kumar
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
My Requirement is
*Getting user information who has accessed the file residing at the Shared Location.
* Idea is to log the user information who has accessed,deleted,changed a file.

My Idea
* Write a Standalone java code running at the Shared system which monitors the file whether being accessed,deleted,changed etc.,

Is My approach is correct?
Can anyone correct me if am wrong?

Thanks in advance
Senthil Kumar.S
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I think the approach is correct,there should be no problem, i guess
 
Joe Ess
Bartender
Posts: 9361
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Senthil Kumar:
. . .monitors the file whether being accessed,deleted,changed etc.


I'm not aware of a Java API that gives access to this information, so that may be a problem with your plan.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!