查找远程PC IP地址 [英] Finding remote PC IP Address
问题描述
美好的一天所有
我想知道是否可以跟踪远程PC访问的IP地址(复制,创建,删除,重命名)服务器上的文件。
只是一个简单的场景:
我有一个包含文件的服务器,数量有限的人有权访问共享文件。我想跟踪谁正在访问(如上所述)共享文件夹中的文件。
我已经访问了哪些文件被访问的部分以及它们是如何访问的正在使用FileSystemWatcher访问。这对我需要的东西很有用。现在我只需要知道谁正在访问这些文件。
如果有人有代码片段或链接到我可以解决这个问题,我将不胜感激。
请记住,这不适用于基于Web的应用程序。我在控制台应用程序中写它。
提前谢谢
真的没有'为此写的任何代码。这只是在服务器上启用审计并且安全事件日志中显示的所有内容。阅读这个 [ ^ ]。
Good Day All
I would just like to find out if it is possible to track the IP address of a remote pc accessing(coping,creating,deleting,renaming) a file on a server.
Just a quick scenario:
I have a server with files on it, limited amount of people have access to the shared files. I would like to track who is accessing(as above) the files in the shared folder.
I already got to the part of which files are being accessed and how they are being accessed using FileSystemWatcher. This works great for what I need. Now I just need to know who is accessing the files.
If anyone has a code snippet or a link to where I can figure this out It would be greatly appreciated.
Please keep in mind that this is not for a web based application. I am writing it in a console application.
Thank you in advance
There really isn't any code to write for this. This is just a matter of turning on auditing on the server and everything shows up in the Security event log. Read this[^].
这篇关于查找远程PC IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!