如何在Html和asp.net页面中实现安全性概念 [英] how to implement security concept in Html and asp.net pages

查看:61
本文介绍了如何在Html和asp.net页面中实现安全性概念的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我们使用html和asp.net开发了一个项目。

我们有两个不同的解决方案,一个用于html(所有设计页面)和另一个asp.net(所有服务页面)。

现在页面按照要求工作。但问题是如何在asp.net和html页面中实现安全性,例如logout(在指定的时间间隔之后)或页面的诅咒访问。我们已经尝试使用内置安全模型的asp.net,但它不符合我们的要求是否有任何其他方式来执行与asp.net中相同的安全性(如表单)





谢谢

Hi,

We have developed a project using html and asp.net.
we have two different solution one for html(all the design pages) and another asp.net ( all the service pages).
now pages are working as per requirement. but the problem is how to implement security in asp.net and html pages like logout ( after specified time interval) or anathematized access of the pages. we have tried with asp.net built in security model but it does not fit with our requirement is there any other way to do security same as available in asp.net (like forms )


Thanks

推荐答案





为了安全起见,您可以使用表单身份验证,Windows身份验证设置,您可以在web.config中指定。



为了保护您的应用程序免受sq + l注入,您可以使用命令参数&存储过程而不是直接在代码中使用sql语句。





问候,

Nilesh

nileshkarande1@gmail.com


这篇关于如何在Html和asp.net页面中实现安全性概念的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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