这个问题难道真的就没人能解决了吗?高分求救!!!

gumo1988 2005-07-16 04:31:03
办公室有几台电脑,在服务器上有一个共享空间,大家的文件都在这里,但现在有这个需求,就是设计一个简单的软件,能够记录所有用户在这个共享空间中对文件的操作:上传,删除,修改,浏览!

方案1:利用filesystemwatcher监视文件系统的变化.缺点是只能发现文件的变动,却无法记录是哪个用户造成的这种变化!

方案2:利用windows自己带的审核功能记录.缺点是记录的东西太多了,太复杂了,根本看不出什么东西!谁有这个方面的教案呀?

方案3:完全自己写,截取封包,分析!缺点是我不太懂这个共享文件的原理是什么?

高手还有其他什么方案吗?最好能把第一个方案帮我想想怎么解决,绝对给高分,不够另外开贴!
...全文
430 22 打赏 收藏 转发到动态 举报
写回复
用AI写文章
22 条回复
切换为时间正序
请发表友善的回复…
发表回复
AhBian 2005-07-18
  • 打赏
  • 举报
回复
ainijin(cpp),你对谁放屁都可以。
但你对 Saucer 也如此,我也要扁你。
gumo1988 2005-07-18
  • 打赏
  • 举报
回复
顶 还有其他说法的吗?
koenemy 2005-07-17
  • 打赏
  • 举报
回复
mark
gumo1981 2005-07-17
  • 打赏
  • 举报
回复
还有人有解决方案没有?
gumo1981 2005-07-17
  • 打赏
  • 举报
回复
ainijin(cpp) 说话请尊重点人 现在在外企工作的那个不是天天用E文的
HuaGer 2005-07-17
  • 打赏
  • 举报
回复
呵呵 不太懂,Mark.
ainijin 2005-07-17
  • 打赏
  • 举报
回复
都知道你牛比,但也犯不着都用英文把,想练英语水平一边待着去
gumo1988 2005-07-16
  • 打赏
  • 举报
回复
恩 太谢谢你了!!!!!!
saucer 2005-07-16
  • 打赏
  • 举报
回复
get DDK

http://www.microsoft.com/whdc/devtools/ddk/default.mspx
saucer 2005-07-16
  • 打赏
  • 举报
回复
visit the link


How FileMon Works
For the Windows 9x driver, the heart of FileMon is in the virtual device driver, Filevxd.vxd. It is dynamically loaded, and in its initialization it installs a file system filter via the VxD service, IFSMGR_InstallFileSystemApiHook, to insert itself onto the call chain of all file system requests. On Windows NT the heart of FileMon is a file system driver that creates and attaches filter device objects to target file system device objects so that FileMon will see all IRPs and FastIO requests directed at drives. When FileMon sees an open, create or close call, it updates an internal hash table that serves as the mapping between internal file handles and file path names. Whenever it sees calls that are handle based, it looks up the handle in the hash table to obtain the full name for display. If a handle-based access references a file opened before FileMon started, FileMon will fail to find the mapping in its hash table and will simply present the handle's value instead.

gumo1988 2005-07-16
  • 打赏
  • 举报
回复
file system filter 需要什么技术?
gumo1988 2005-07-16
  • 打赏
  • 举报
回复
好 我去看看Filemon
你都5棵星呀 真强!
saucer 2005-07-16
  • 打赏
  • 举报
回复
it is not as simple as you thought, you need write some file system filter

see FileMon tool from SysInternals
http://www.sysinternals.com/Utilities/Filemon.html
wjo 2005-07-16
  • 打赏
  • 举报
回复
使用已有FTP Server
gumo1988 2005-07-16
  • 打赏
  • 举报
回复
FlyingLimy 能说下大概方法吗?谢谢
FlyingLimy 2005-07-16
  • 打赏
  • 举报
回复
我写过一个类似的
vam_ma 2005-07-16
  • 打赏
  • 举报
回复
幫不了你,幫頂一下..
libra163 2005-07-16
  • 打赏
  • 举报
回复
自己写个文件服务器算了。
gumo1988 2005-07-16
  • 打赏
  • 举报
回复
多大?我邮件空间小 加我qq传给我好吗?
30634237
kaixin110 2005-07-16
  • 打赏
  • 举报
回复
晕!!
给你个程序,你看看就知道怎么做了
是一个FileExplorer,这个程序是b/s的
打开是一个window截面
你的email
加载更多回复(1)

110,502

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧