Visual Studio 2015中的Asp.net网站创建用户和角色(部署到Microsoft Azure) [英] Asp.net website in Visual Studio 2015 Creating Users and Roles (deploying to Microsoft Azure)

查看:96
本文介绍了Visual Studio 2015中的Asp.net网站创建用户和角色(部署到Microsoft Azure)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


我是Azure的新手,我在尝试为下面描述的场景找到教程或资源时遇到了一些困难。我非常感谢任何帮助或指导...谢谢


在Visual Studio 2015中我想创建一个asp.net网站....在这个网站我想设置用户和角色...即设置一个只能访问特定页面和资源的管理员角色。如何在Visual Studio 2015中进行设置....
只会是几个用户并且手动设置角色.....在网站上,用户只有在注册网站时才会自动分配给一个角色。


这很难设置.....


在Azure上创建网站时,我还应该解决任何进一步的安全问题....我是否需要对直接创建的用户做任何额外的事情通过网站注册。


再次..感谢任何信息。


最好的问候


Aidan

解决方案

你好Aidan1972,


请查看以下链接,它们为您提供有关如何将用户和角色设置为网站的更多信息。


< span style ="font-size:9.0pt;行高:107%; font-family:'Segoe UI',sans-serif;颜色:黑色"> https://msdn.microsoft.com/en-us/library/vstudio/t32yf0a9%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396


https://msdn.microsoft.com/en-us/library/vstudio/879kf95c(v = vs.100).aspx


< p style ="margin:0in 0in 8pt"> https:// msdn。 microsoft.com/en-us/library/azure/hh369931.aspx


http://social.technet.microsoft.com/wiki/contents/articles/2590.secure-azure-web-role- asp-net-web-application-using-access-control-service-v2-0.aspx


希望它有所帮助。


问候,


Sunil.HP


Hi All,

I am new to the world of Azure and I am having a bit of difficulty trying to locate tutorials or resources for the scenario described below. I would hugely appreciate any help or guidance...Thanks

In Visual Studio 2015 I want to create an asp.net website ....And in this website I would like to set up users and roles ...ie set up an admin role who will only have access to specific pages and resources..How do I set this up in Visual Studio 2015....There will only be a couple of users and roles set up manually..... and on the website itself users will be automatically assigned to one role only when they register with the site.

Is this difficult to set up.....

Also are there any further security concerns that I should address when creating a website on Azure....Do I need to do anything extra with users who are created directly via the website registration.

Again..thanks for any information.

Best Regards

Aidan

解决方案

Hello Aidan1972,

Please check the below links which gives you more information on how to set users and roles to website.

https://msdn.microsoft.com/en-us/library/vstudio/t32yf0a9%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396

https://msdn.microsoft.com/en-us/library/vstudio/879kf95c(v=vs.100).aspx

https://msdn.microsoft.com/en-us/library/azure/hh369931.aspx

http://social.technet.microsoft.com/wiki/contents/articles/2590.secure-azure-web-role-asp-net-web-application-using-access-control-service-v2-0.aspx

Hope it helps.

Regards,
Sunil.HP


这篇关于Visual Studio 2015中的Asp.net网站创建用户和角色(部署到Microsoft Azure)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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