密码保护 ASP.NET 应用程序?
我构建了一个需要密码保护的 ASP.NET 应用程序。该应用程序将安装在多台离线计算机上,我们需要确保安装时需要密码。但即使需要密码,有人也可以轻松复制数据库和已发布的文件夹,并在其系统上复制应用程序,对吗?
我需要一种方法来防止这种情况发生。有什么想法吗?它应该只适用于我们安装了它的笔记本电脑。
I have built an ASP.NET application that needs to be password protected. This application will be installed on multiple offline computers, and we need to make sure that when being installed it requires a password. But even if it requires a password, someone can easily copy the database and the published folder and duplicate the application on their system right?
I need a way to prevent this. Any ideas? It should only work on laptops that we have installed it on.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以像任何其他客户端应用程序一样创建许可工具。在应用程序启动期间以及运行时偶尔检查许可证密钥。查看这篇文章以获取想法:保护 .NET 代码免遭逆向工程?< /a>
You could create a licensing tool like any other client app. Check the license key during app startup and occasionally during the runtime. Look at this post for ideas: Protect .NET code from reverse engineering?