如何在可移动(USB)驱动器上设置密码 [英] How to set pasword on removable (USB) drive

查看:118
本文介绍了如何在可移动(USB)驱动器上设置密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
有谁知道如何制作一个简单的程序,该程序设置在可移动(USB)驱动器上,并且需要用户密码才能访问其内容?我正在寻找C ++/C#的描述,手册或示例代码.对我来说是非常必要的.

/编辑MG
我已经更改了您的问题,使其指向驱动器",而不是驱动器".由于这是您第二次发布,而且您似乎不喜欢我在第一篇文章中的回答,因此我想这就是您的意思.
编辑MG/

/编辑M
我添加了Emergencyz标记,因为现在有2个问题的内容几乎相同

/RuslanPan
P.S.谢谢大家的建议.我了解备份,编辑驱动器的访问策略以及硬件保护.我知道这样的程序存在.但是我正在寻找一份新工作,那是一个测试任务.我无法从存储在磁盘上的程序中找到有关访问可移动(USB)驱动器的信息:(.我以后知道要做什么.

Hi all.
Do anyone knows how to make a simple program that sets at the removable (USB) drive and requires the user password to access its contents? I am looking for a description, manual or example code for C++/C#. It is very necessary for me.

/Edit MG
I''ve changed your question so that it refers to "Drive", not "Driver". Since it''s the second time you post it, and you didn''t seem to like my answers on the first post, I suppose that''s what you mean.
Edit MG/

/Edit M
I''ve added the urgentz tag since there are now 2 questions with nearly identical content

/RuslanPan
P.S. Thank you all for your advice. I know about backup, edit the access policy to the drive, and hardware protection. I know that such program exist. But I am looking for a new job and that is a test task. I can not find information about the hooking of access to a removable (USB) drives from the program stored on a disk :(. What to do later I know.

推荐答案

现在我们在说话.
1)该线程(和上一个线程)完全被弄乱了,因为您含糊不清地指出了您的要求(驱动器内容,而不是一个文件),并且拼写错误(驱动器而不是驱动器),列表继续进行.提出问题时,您应尽可能清楚地说明最终目的,而无需对要使用的技术或解决方法有任何先入为主的观念.您首选的技术或首选的方法可能无法实现您的最终目的,但是通过提出这些问题,您将只会限制那些对自己的创造力做出回应的人.您可能会突然想出简短的答案(无法完成!),或者甚至会惹怒那些脾气暴躁但机智的人物,这些人物通常在休息室闲逛.

2)我会为您写一个问题,然后您将其发布到一般IT问题 [ ^ ] CP的论坛. (快速答案实际上是针对简短的指导性问题,不需要太多的回答时间.

3)我不会回答你的问题.我的专长领域是系统编程,尽管我知道小家伙的东西,例如C#和Java(我在Visual Basic上画线),但我认为它们适合那些甚至无法通过以下方式解码汇编器的怪癖他们的耳朵靠近处理器并听操作码.我只会突击那些包含驱动程序"一词的问题(例如您的第一个问题),IOCTL或具有预测性缓存的二级页表转换.

所以这是你想问的问题:

标题:保护可移动驱动器上的文件.
我想找出保护可移动存储介质上文件的最佳方法是什么.如果不通过可移动媒体上也提供的程序,则用户不应能够访问/解码内容.可以接受自动运行解决方案以及需要提升和/或安装的解决方案.我用谷歌搜索了可能的解决方案,但这产生了矛盾的答案. (还有很多不为人知的谷壳)

4)现在我要看电视.我仍然有未看过的House MD剧集,需要一个混蛋才能知道..
Now we''re talking.
1) This thread (and the previous thread) is completely messed up, because you stated you requirements vaguely (drive contents, instead of : one file), with misspelings (driver instead of drive), and the list goes on. When asking questions you should state your final purpose as clearly as possible without pre-conceptions about the technology you want to use or the way you want to go about this. Your final purpose may be unachievable with your preferred technology, or your preferred way, but by putting these in the question, you will only limit people who respond in their creativity. You may get flamed with short abrupt answers (can''t be done!), or you may even the attract the ire of short tempered but witty characters, who usually hang around in the Lounge.

2) I''ll write a question for you, and you''re going to post it in the General IT Issues[^] forum of the CP. (quick answers is really for short directed questions, that don''t take a lot of answering time.

3) I''m not going to answer your question. My area of expertise is Systems Programming, and although I know kiddie''s stuff like C# and Java (I draw the line at Visual Basic), I think they''re for whimps who can''t even decode the assembler by putting their ear to the processor and listening for opcodes. I only pounce on questions which contain the word ''driver'' (like your first question), or IOCTL, or second-level page table translation with predictive caching.

So here''s the question you want to ask:

Caption : Protecting a file on a removable drive.
I would like to find out what is the best way of protecting a file on a removable storage media. Users should be not be able to access/decode the contents without going through through a program, also supplied on the removable media. Autorun solutions and solutions which require elevation and/or installation are acceptable. I''ve googled possible solutions, but this yields conflicting answers. (and a lot of uninformed chaff)

4) Now I''m going to watch the telly. I still have episodes of House MD which I haven''t watched, and it takes a bastard to know one.


谢谢大家的建议!
P.S.众议院MD,米歇尔(Michael)祝你好运:)
Thank you all for your advices!
P.S. Good luck with House MD, Michel :)


为什么要再问一次?您认为答案会改变吗?
Why ask again ? Did you think the answer would change ?


这篇关于如何在可移动(USB)驱动器上设置密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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