如何隐藏IIS中的asp.net托管应用程序? [英] How to hide asp.net hosted app in IIS?

查看:86
本文介绍了如何隐藏IIS中的asp.net托管应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,



我在IIS 7.0中有托管的asp.net应用程序,现在问题是我要隐藏在iis中托管的应用程序,bcz其他人正在尝试访问它。



我想限制用户不要从物理文件夹复制,虽然他们从中复制它不应该在其他系统中运行。





能帮助我如何提高客户群托管应用程序的安全性。





谢谢

Varma

Hello Friends,

I have Hosted asp.net app in IIS 7.0, now the problem is i want to hide app hosted in iis, bcz others are trying to access it.

and i want to restrict the users not to copy from physical folder, though they copy from it it should not run in other systems.


Can you please help me how to Improve security for hosted application in client base.


Thanks
Varma

推荐答案

这与安全无关,它是'称为乱码 http://en.wikipedia.org/wiki/Gibberish [ ^ ]。



Web应用程序总是被其他人使用,否则没有必要开发它。如果您只想为不同的用户提供不同级别的访问权限,则需要引入一些用户身份验证: http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs [ ^ ]。



关于从物理文件夹复制:所有ASP.NET代码都在服务器端,没有人可以通过HTTP访问它。这个代码受到保护的程度与您的Web托管有关。这是内部数据,不适用于任何Web用户。至于客户端,根据定义,一切都是在客户端加载页面的人完全访问的。这就是页面工作的原因。


-SA
This has nothing to do with security, it''s called gibberish: http://en.wikipedia.org/wiki/Gibberish[^].

A Web application is always used by others, otherwise there is no point to develop it. If you simply want to give different level of access to different users, you need to introduce some user authentication: http://www.asp.net/web-forms/tutorials/security/roles/role-based-authorization-cs[^].

As to "copying from a physical folder": all ASP.NET code is on the server side, no one can access it through the HTTP. How well this code is protected is the matter of your Web hosting. This is the internal data, not for any Web users. As to the client side, everything is by definition fully accessed by anyone who loaded the page in client side. That''s why the page works.

—SA


这篇关于如何隐藏IIS中的asp.net托管应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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