网站中的安全设置 [英] Security Setting in website

查看:82
本文介绍了网站中的安全设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,某些表单是所有用户访问的,而其他表单则由管理员登录时访问。

母版页面包含表格链接。

通过程序表单显示是正确的,还可以通过使用此页面url粘贴地址栏来访问其他表单。

我设置了一些隐藏默认的链接,在使用时可见会话。

如果有任何其他方式来实现它。一些身份验证可以在Web窗口中看到,webconfig文件更改等,但我不知道确切的步骤。请帮帮我。

In my application , some forms are access by all users and others are by admin when he is login.
Master page have links for forms.
By program forms showing is correct , but also access other forms by use this page url paste in address bar.
I set some links are invisible default, visible when logging using session.
If any other way to implement it. Some authentication can see in web windows, webconfig file changes etc, But I don't know exact step to do it. Please help me.

推荐答案

ASP.NET安全性 [ ^ ]


在web.config中使用autherization

将表单放在不同的文件夹中

for differant role users给出了文件夹的不同路径易于表单身份验证。
use autherization in your web.config
place your forms in differant folders
for differant role users give differant path of folders its very easy in forms authentication.


这篇关于网站中的安全设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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