如何开发锁屏软件并监控流程? [英] How do I develop a lock screen software and monitor processes ?

查看:154
本文介绍了如何开发锁屏软件并监控流程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我们正在寻找开发屏幕锁定软件





1.只是一些东西类似于网吧锁屏幕,锁定屏幕并禁用ctrl alt和del,并请求密码。



2.在后台运行的进程



3.每次登录服务器时都会请求密码(能够检测登录)



4。应该能够在我的电脑上检测已安装程序的列表





我不知道从哪里开始,因为我一直是一个网络开发人员,虽然我已经做了一些台式机



如何开始?任何指针都会有所帮助



非常感谢



Ehi

解决方案
1。 Windows登录有什么问题?



2.您的意思是服务吗?



3请参阅1.



4.请参阅 http ://technet.microsoft.com/en-us/library/ee156540.aspx [ ^ ]。


听起来好像您要开发凭据提供程序(或者,对于XP或Server 2003及更早版本,一个GINA dll)。最好是你可以编写它以便它调用标准的凭据提供程序(或者GINA,位于标准GINA之上),以避免你必须编写验证代码。



对于凭证提供商,请从这里开始:

http://msdn.microsoft.com/en-gb/library/windows/desktop/bb648647(v = vs.85) .aspx



还有关于Vista前/服务器2008之前的GINA信息的链接。我不认为GINA可以用C#编写;它需要是C / C ++。但是,我相信凭证提供者会更容易用C#写。





我不完全确定你的意思禁用ctrl + alt + del。你为什么要这样做?

除此之外,你在第1-3项中提出的所有其他事项都是由默认的凭证提供商提供的标准。





要检测计算机上已安装程序的列表,您需要查询注册表中的安装信息(但遗憾的是,我不能提供任何其他信息。 (目前),或者可能在硬盘上搜索可执行文件类型。



问候,

Ian。


嗨afrika1,

我不认为你的不同要求必然会相互跟随。



Windows凭据提供程序位于会话0中,并由身份验证子系统调用。您可能可以编写一个来修改登录屏幕的外观(我正在偏向一个我不太熟悉的区域),但您不会用它来跟踪用户的进程运行,或阻止他们运行任何。



听起来好像你想要:

1)登录屏幕的自定义

2)记录用户登录时可以运行和/或访问的内容

3)审核用户登录时的操作。



我认为事实上你应该能够在没有任何编码的情况下完成所有这些工作,但也许可以选择获得一些第三方产品。



我很害怕我不是这方面的专家,但这里有一些想法:



1)Windows Logon屏幕是品牌 - 背景屏幕,从Windows 7甚至标志。 (例如,参见 http://www.addictivetips.com/windows -tips / how-to-change-windows-7-logon-branding / [ ^ ])

在网上搜索Windows凭据提供程序,自定义Windows登录等。



2)你应该研究一下用于压缩Windows的无数选项。例如。您可以阻止任务管理器运行,或阻止在其中执行某些操作(如关机等);阻止访问桌面属性;删除对run命令等的访问权限等等。它们都内置在windows中。

为了完全控制,你可能需要一些第三方软件来防止某些应用程序运行(你甚至可能能够使用您的防病毒软件) - 或者更重要的是,只允许某些应用程序运行。

如果您在系统上使用组策略,则可以将其设置为限制可运行的应用程序: http://msdn.microsoft.com/en-us/library/ms811966。 aspx [ ^ ]



3)至于审计,Windows内置了一些(有些信息请参见 http://social.technet.microsoft.com/wiki/contents/articles/325 。先进的安全审计功能于Windows的7 -and-windows-server-2008-r2.aspx [ ^ ])但也有COTS产品可用。



我希望有所帮助。



此外,如果你只想让用户能够浏览互联网,那么我附近的大学图书馆,有公共访问计算机,用户可以只使用Internet Explorer。如果他们关闭它,屏幕是空白的,并且IE的新会话开始。不确定所需的设置,但表明可以完成。也许还需要更多的研究。



对不起,如果它没用 - 从未使用过Cyber​​Café,我不完全知道你想要什么要做。



问候,

Ian。


hi Guys,
Am looking to develop a screen lock software


1. Just something similar to a cyber cafe screen lock that locks the screen and disables ctrl alt and del, and requests a password.

2. A process that runs in the background

3. Would request a password everytime you logon to the server ( able to detect logons )

4. Should be able to detect a list of installed programs on my computer


Am not sure where to start, as I have been a web developer, although I have done a bit of desktops

How do I start ? any pointers would be helpful

many thanks

Ehi

解决方案

1. What''s wrong with Windows logon?

2. Do you mean a service?

3. See 1.

4. See http://technet.microsoft.com/en-us/library/ee156540.aspx[^].


It sounds as if you want to develop a Credential Provider (or, for XP or Server 2003 and earlier, a GINA dll). It would be best if you can write it so that it calls to the standard Credential Provider (or for a GINA, sits on top of the standard GINA), to avoid you having to write the authentication code.

For Credential Providers, start here:
http://msdn.microsoft.com/en-gb/library/windows/desktop/bb648647(v=vs.85).aspx

There are also links to information about the GINA for pre-Vista / pre-Server 2008. I don''t think a GINA could be written in C#; it would need to be C/C++. However, I believe a Credential Provider would be easier to write in C#.


I''m not entirely sure what you mean by "disable ctrl+alt+del". Why would you want to do that?
Other than this, all the other things you ask in items 1-3 are provided as standard by the default Credential Provider.


To detect a list of installed programs on your computer you would either need to query the installation information in the registry (but unfortunately I can''t provide any more information than that at present), or perhaps search for executable file types on your hard disk(s).

Regards,
Ian.


Hi afrika1,
I don''t think your different requirements do necessarily follow from each other.

The Windows Credential Providers sit in Session 0, and gets called by the authentication sub-system. You might be able to write one to modify the look and feel of the logon screen (I''m straying into an area I''m rather unfamiliar with), but you wouldn''t use it for tracking what processes a user is running, or for preventing them from running any.

It sounds as if you want:
1) Customisation of the logon screen
2) Clamp down of what users can run and/or access when they are logged on
3) Auditing of what the users are doing when they are logged on.

I think in fact you should be able to do all of these without any coding, but maybe with optionally getting some third party products.

I''m afraid I''m no expert on these, but here are some ideas:

1) The Windows Logon screen is "brandable" - background screen, and from Windows 7 even the logo. (See, e.g. http://www.addictivetips.com/windows-tips/how-to-change-windows-7-logon-branding/[^])
Search the web for "Windows Credential Providers", "Customise Windows Logon", etc.

2) You should look into the myriad of options there are for clamping down Windows. E.g. you can prevent Task Manager from being run, or prevent certain actions from being carried out in it (such as shutdown, etc); prevent access to the desktop properties; remove access to the run command, etc, etc. They''re all built in to windows.
For full control, you might want some third party software to prevent certain applications from running (you may even be able to do it with your anti-virus software) - or more to the point, only allow certain applications to run.
If you are using Group Policy on your system, you can set that to limit what applications can be run: http://msdn.microsoft.com/en-us/library/ms811966.aspx[^]

3) As for auditing, Windows has some built in (for some info see http://social.technet.microsoft.com/wiki/contents/articles/325.advanced-security-auditing-in-windows-7-and-windows-server-2008-r2.aspx[^]) but there are also COTS products available.

I hope that helps some.

Furthermore, if you only want to allow users to be able to browse the internet, there is a university library near me that has public access computers where the user can literally only use Internet Explorer. If they close it, the screen is blank, and a new session of IE starts. Not sure of the settings required for that, but shows that it can be done. Perhaps some more research is required.

Sorry if it''s not useful - having never used a Cyber Café, I don''t entirely know what you are wanting to do.

Regards,
Ian.


这篇关于如何开发锁屏软件并监控流程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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