保护服务器上的asp.net网站和代码 [英] securing asp.net website and code on a server

查看:76
本文介绍了保护服务器上的asp.net网站和代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我想使用c#和asp.net创建一个应用程序,然后将该应用程序部署在服务器上,然后将其放置在客户端,如何防止任何人对我的代码进行加密更改,因为这将对我的应用程序,如果有人可以更改我的代码示例webconfig文件和the.cs文件.

谢谢Divan

Hi all
I want to create an application using c# and asp.net and deploy this application on a server which I will then put down at a clients premises how can i prevent anyone from making changes to my code ex encryption as this will have a major impact on my application if someone can change my code example webconfig file an the.cs files.

Thank you Divan

推荐答案

在将应用程序部署到服务器之前,您必须为该 http://msdn.microsoft.com/en-us/library/dd328094.aspx [ ^ ]
Before deploying the application into the server you have to do some certain basics security for that this guide will help you.

Also have a look on http://msdn.microsoft.com/en-us/library/dd328094.aspx[^]




您可以执行的一些基本步骤,

1)您的数据库服务器应具有安全的凭据.
2)您的配置文件应加密.
3)您可以创建Web服务以将许可证逻辑放置在其他服务器上.
4)您可以混淆所有库.

希望这足以基本保护您的代码.

谢谢
-Amit Gajjar.
Hi,

Some of the basic steps you can do like,

1) Your database server should be with secured credentials.
2) your Configuration file should be encrypted.
3) You can create web service to place your license logic on other server.
4) You can obfuscate all library.

Hope this is sufficient for primary securing your code.

Thanks
-Amit Gajjar.


这篇关于保护服务器上的asp.net网站和代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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