开发者

How to make site password protected in windows azure?

开发者_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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜