我们如何定义只有4个用户可以访问web.config文件中的网站 [英] how we define that only 4 users can access the website in web.config file

查看:54
本文介绍了我们如何定义只有4个用户可以访问web.config文件中的网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请一些人告诉我们如何定义只有4或5个用户可以访问web.config文件中的网站。以及我们如何增加或减少访问网站的用户数量,请告诉人们.....

Pls some one tell that how we define that only 4 or 5 users can access website in web.config file. and how we can increase or decrease the numbers of users to access the website,pls some one tell.....

推荐答案

您想限制并发访问?



You want to limit concurrent access?

<system.net>
    <connectionManagement>
        <add address="*" maxconnection="48" />
    </connectionManagement>
</system.net>





但请注意,许多浏览器使用多个并发连接来下载同一页面的内容。



But be aware, that many browsers use multiple concurrent connections to download contents for the same page.






首先用户是什么意思。??



如果用户可以提供登录给用户是预定义的(注册表单可以是管理员或客户端),这样您就可以管理任何限制的用户。



&匿名用户限制不是很好的解决方案对于任何网站,其解决方案如上所述。
Hi,

First what do you mean by Users.??

you can provide login to your users, if users are predefined(sign up form can be admin or client side), so that you can manage your users with any limit.

& for anonymous user limit is not good solution for any website , its solution given above ans.


这篇关于我们如何定义只有4个用户可以访问web.config文件中的网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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