如何保护Web应用程序 [英] How to protect a Web Application

查看:192
本文介绍了如何保护Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Web应用程序(ASP.NET的WebForms)。现在,我需要给这个应用程序到我的客户端的离线(安装在本地服务器上,并通过LAN访问)的安装。我要保护被复制此应用程序。

I've a web application( ASP.NET WebForms). Now I need to give this application to my client for offline(Installed on Local Server and accessed via LAN) installation. I want to protect this application from being copied.

所有我能想到的是现在:

All I can think of now is:

我要保持一个在线服务器,有一个激活网页,其中
  运行时,应用程序运行在第一次网页,它应该连接到
  服务器并获得对密钥的有效许可证(由我进入
  在安装过程中的Web.Config)和机器参数。

I should maintain a online server and have a Activation Page which runs when the Web App is run for the first time, It should connect to the server and get a valid license against a Key(entered by me in Web.Config during installation) and machine parameters.

另外,如果我code它,我需要采取系统时钟等幼稚的问题的关心。

Also, if I code it I need to take care of System Clock and other naive issues.

现在,我有两个问题。


  1. 是否有任何其他选项,安全防范网络应用?

  2. 解决方案是否我打算code,已经存在?

感谢您的阅读,并试图帮助。
:)

Thanks for reading and trying to help. :)

推荐答案

没有,没有,没有。你不能tottaly保护你的ASP.NET应用程序这样的..

No, no, no.. You can't tottaly protect your ASP.NET app like this..

客户(如果愿意的话)可以反编译你的code和更换您的激活方法,所以应用程序将八方通认为它的法律上已激活,或如他能写,将永远激活您的软件假冒激活服务器。 ..这不是那么真的很难,尤其是当你的应用程序是基于.NET。

Customer(if want to) can decompile your code and replace your activation methods, so application will allways think that it's "legally activated", or for example he can write fake activation server that will always activate your software... It's not so hard really, especially when your application is based on .NET.

这个保护的主要目的只是为了进行非法复制创建长一点做的(对于servial周或数月的两..),让你的销售departament可以卖很多,多份法律的客户,以及损失illegall用法可以在项目启动时没有这么大。还是可以是巨大反正即使有为您的应用程序超级超级超级的商业保护产品的使用..它取决于你的应用程序的运气和populariry ..

This "protections" main purpose is only to make illegal copies creation little longer to do(for servial weeks or month-two..), so your selling departament can sell many-many copies to legal customers, and losses from illegall usage can be not so huge at project start time.. Or can be huge anyway even with usage of "super-super-super commercial protection product for you apps".. It's depends on luck and populariry of your app..

,并且仅方式保护与非法复制100%保证是你的ASP.NET应用程序..不给应用程序客户端进行本地安装的都没有。使用SSAS模型出售您的应用程序。或者,如果它没有更多钞票使这个为你的应用程序的一些关键部分。

Only, and ONLY way protect your ASP.NET application with 100% guaranty from illegal copying is.. NOT TO give application to client for local install's at all. Use SSAS-model for selling your app. Or if it's not posible make this for some critical parts of your application.

这篇关于如何保护Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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