域用户访问共享文件夹 [英] Domain user accessing shared folder

查看:489
本文介绍了域用户访问共享文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我一直在尝试使用VB.Net开发Windows服务,该服务用于跟踪从共享文件夹访问的域用户和文件.我将在共享文件的服务器中运行此服务,该文件是域的一部分.我可以使用FileSystemWatcher来获取共享文件夹中发生的更改,但是如何获取正在访问这些文件的域用户?

请帮助我解决此问题.

谢谢,
Suhail

Hi,

I have been trying to develop a Windows Service using VB.Net, the service used to track the domain users & files who is accessing from a shared folder. I will be running this service in the Server which Files are shared and is a part of domain. I am able to get the changes occuring in the shared folders using FileSystemWatcher, but How do I get the domain user who is accessing these files?

Plz help me to resolve this issue.

Thanks,
Suhail

推荐答案

您将需要访问正在修改的文件,可以从FileSystemWatcher中获取该文件,并查看其属性.但是,并非所有文件类型都将存储有关上次编辑者的信息.可以从网络日志中获取更多信息,但文件共享也需要配置审核.
You will need to access the file that is being chnaged, which you can get from the FileSystemWatcher, and look at it''s properties. However, not all file types will store information about who last edited it. More information can be obtained from network logs but the file share would also need to have auditing configred.


这篇关于域用户访问共享文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆