在mvc3中限制另一个浏览器中的URL访问 [英] Restrict url access in another browser in mvc3

查看:77
本文介绍了在mvc3中限制另一个浏览器中的URL访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个asp.net mvc3网站。

如何在另一个浏览器中直接限制复制和过去的网址,它不应该打开,必须重定向到登录页面。



i需要代码如何在asp.net MVC3中完成。

I have created a asp.net mvc3 web site.
how to restrict copy and past url in another browser directly it should not open that must and should redirect to Login page.

i need the code how to do it in asp.net MVC3.

推荐答案

参考这些链接< br $> b $ b

ASP.NET中自定义窗体身份验证的初学者教程MVC应用程序 [ ^ ]



ASP.NET MVC3表单身份验证 [ ^ ]



使用表单身份验证(C#)验证用户 [ ^ ]



实现自定义成员资格提供程序和角色提供程序以验证ASP.NET MVC应用程序 [ ^ ]



问候......:笑:
Refer these links

A Beginner's Tutorial on Custom Forms Authentication in ASP.NET MVC Application[^]

ASP.NET MVC3 Forms Authentication[^]

Authenticating Users with Forms Authentication (C#)[^]

Implementing custom Membership Provider and Role Provider for Authenticating ASP.NET MVC Applications[^]

Regards..:laugh:


这篇关于在mvc3中限制另一个浏览器中的URL访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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