如何仅在特定系统上浏览Web应用程序? [英] How Can I Browse A Web Application Only On Specific Systems ?

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

问题描述

我想在特定的计算机上浏览我的应用程序,如果其他人尝试浏览它将重定向到索引页。

1.i不喜欢使用cookies

2.i不喜欢阻止IP地址

例如我希望应用程序仅在ceo和gm系统上浏览。



将是什么为此目的的最佳选择。

i want to browse my application on specific computers , if other will try to browse it will redirect to index page.
1.i donot like to use cookies
2.i donot like block the ip address
for example i want application browse on ceo and gm system only.

what will be the best option for this purpose.

推荐答案

您可以尝试使用 Request.ServerVariables [REMOTE_HOST] 。但是,请注意,这不会一直有效。



此外,除非这些机器具有物理安全性,否则这些机器上的任何人都可以看到该网站。



此外,当这些机器更换并更换为新机器时,它们可能会有不同的机器名称,因此您必须相应地更新您的站点。
You can try using Request.ServerVariables["REMOTE_HOST"]. But, be warned, this doesn't work all the time.

Also, unless those machines have physical security anyone on those machines can see the website.

Also, when those machines are changed out and replaced with new machines, they will probably have different machine names, so you'll have to update your site accordingly.






有几种方法可以做同样的事情。



正如您在组织中所要求的那样,您可以使用LDAP(AD)



如何使用AD: http://msdn.microsoft.com/en-us/library/ms180890(v = VS.80)的.aspx [< a href =http://msdn.microsoft.com/en-us/library/ms180890(v=vs.80).aspx\"target =_ blanktitle =New Window> ^ ]



如果您尝试使用它全局用途,那么这将无效您可以发出一些证书,您可以使用它来识别用户和应用程序根据该政策,由于证书是一个物理文件,因此您只需将该证书发送给特定用户,她/他将使用该证书自我验证。



谢谢

Suvabrata
Hi,

There are several ways to do the same.

As you required within your organization so you can use LDAP (AD)

How to use AD : http://msdn.microsoft.com/en-us/library/ms180890(v=vs.80).aspx[^]

If you try to use it global purpose then this will not work you can issue some certificate using which you may identify user and apply policy according to that, as certificate is a physical file so you will just sent that certificate to particular user she/he will authenticate them self using that.

Thanks
Suvabrata


这篇关于如何仅在特定系统上浏览Web应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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