开发者

How to make site password protected in windows azure?

开发者 https://www.devze.com 2023-03-24 07:23 出处:网络
开发者_StackOverflow社区We are working on an application in Windows Azure environment. We are about to finish the dev process. Soon we will move it to live server. For initial few days we want that we
开发者_StackOverflow社区

We are working on an application in Windows Azure environment. We are about to finish the dev process. Soon we will move it to live server. For initial few days we want that website to be only accessible for few users. My question is how we can make the website password protected in Azure environment? Please suggest.

Thanks,

Rahul K


I don't see why you can't use a simple ASP.NET Forms Authentication setup?

You can see how JD Meier sets up forms authentication to work with table storage here.

And then JD Meier shows how to set up forms auth with Azure and SQL Azure here.

If the user attempts to access pages that they haven't been authenticated to, they'll be redirected back to the login page (or whatever page you want to redirect them to).

Hope this helps.

0

精彩评论

暂无评论...
验证码 换一张
取 消