在aspx部署中的文件后面的位置 [英] In where to locate code behind files in aspx deployment

查看:76
本文介绍了在aspx部署中的文件后面的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Web部署中,在哪里找到文件后面的代码以保证安全,我不知道在哪里找到它们,我已经用我的aspx文件找到它们以便应用程序工作,但我不知道是否是最好的练习



我尝试过:



我不确定在在哪里找到文件背后的代码以保证它们在安全中的安全

是关于如何做到这一点或最佳实践的任何一个例子

亲爱的专家有什么经验!

in a web deployment where to locate the code behind files for keep secured, i dont know where to locate them, im already locate them in with my aspx files in order to the application works, but i dont know if is the best practice

What I have tried:

Im not sure in where to locate code behind files for keep them safe in iss
is any example on how to do that or the best practices
what is the experience dear experts!

推荐答案

是的,这就是他们应该去的地方。移动文件将破坏您的应用程序。



IIS配置为不将这些文件返回给客户端,因此客户端无法获取它们。



您编写的代码中的安全风险远大于将服务器发送到客户端的服务器。
Yes, that's where they should go. Moving the files will break your app.

IIS is configured to not return those files to the client so there's no way for the client to get at them.

You have a much greater security risk in the code you've written than from the server sending those files to the client.


这篇关于在aspx部署中的文件后面的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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