显示来源 [英] show source

查看:62
本文介绍了显示来源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用php我可以简单地将s附加到文件扩展名,例如。 .phps和

如果用户请求文件源将在浏览器中显示。


aspx页面是否有半自动功能?


最好的问候,

seb

With php I can simply append a s to the file extension, eg. .phps and
if the user request the file the source will be shown in the browser.

Is there a semilar functionality for aspx pages?

best regards,
seb

推荐答案

Seb带来了这个给我们:
Seb has brought this to us :

使用php我可以简单地附加到文件扩展名,例如。 .phps和

如果用户请求文件源将在浏览器中显示。


aspx页面是否有半自动功能?


最好的问候,

seb
With php I can simply append a s to the file extension, eg. .phps and
if the user request the file the source will be shown in the browser.

Is there a semilar functionality for aspx pages?

best regards,
seb



你的意思是什么来源?有aspx文件本身,它是代码隐藏的

文件,可能有任意数量的支持类。


根据使用的编译模型,所有这些都可能缺席

来自你的服务器!


据我所知,不可能要求任何这些来源

(幸运的是!)。检索一些支持文件(* .config for

示例)甚至被bij ASP.Net主动阻止!


Hans Kesting

What source do you mean? There is the aspx file itself, it''s codebehind
file and there may be any number of supporting classes.

Depending on the compilation model used, all of these could be absent
from your server!

As far as I know, it is not possible to request any of these sources
(fortunately!). The retrieval of some support files (*.config for
example) is even actively blocked bij ASP.Net!

Hans Kesting


7月28日,3:21 * pm,Hans Kesting< news.han ... @ spamgourmet.comwrote:
On Jul 28, 3:21*pm, Hans Kesting <news.han...@spamgourmet.comwrote:

Seb给我们带来了这个:
Seb has brought this to us :

使用php我可以简单地追加文件扩展名,例如。 .phps和

如果用户请求文件源将在浏览器中显示。
With php I can simply append a s to the file extension, eg. .phps and
if the user request the file the source will be shown in the browser.


是否有aspx页面的半连续功能?
Is there a semilar functionality for aspx pages?


最好的问候,

seb
best regards,
seb



什么来源你的意思是?有aspx文件本身,它是代码隐藏的

文件,可能有任意数量的支持类。


What source do you mean? There is the aspx file itself, it''s codebehind
file and there may be any number of supporting classes.



aspx,cs等。

aspx, cs and so on.


根据所使用的编译模型,所有这些都可以缺席
来自您服务器的

Depending on the compilation model used, all of these could be absent
from your server!



是的,但它们不是:)

True, but they aren''t :)


据我所知,它是不可能要求任何这些来源

(幸运的是!)。检索一些支持文件(* .config for

示例)甚至被主动阻止bij ASP.Net!
As far as I know, it is not possible to request any of these sources
(fortunately!). The retrieval of some support files (*.config for
example) is even actively blocked bij ASP.Net!



它是'所以我可以很容易地向这样的团体展示我的来源。

最好的问候,

seb

It''s so I could easily show my source to a group like this.
best regards,
seb


我做的没问题......


如果你已经开发了一个应用程序,那么你应该有一个来源。

如果你没有,那么它就是一个安全问题让你看到

cource。


PS:我试图在。
上添加.phps而不是.php =nofollowhref =http://www.php.net/archive/2008.phptarget =_ blank> http://www.php.net/archive/2008.php

和所有我没有看到任何源,只有自定义404页面

乔治。


" Seb" < se ****************** @ gmail.comwrote in message

news:bd ************ ********************** @ l42g2000 hsc.googlegroups.com ...

7月28日下午3:21,Hans Kesting< news.han ... @ spamgourmet.comwrote:
I do not get your problem...

If you have developed an application then you should have a source.
If you have not then it would be a security problem to allow you to see the
cource.

PS: I tried to add .phps instead of .php on the
http://www.php.net/archive/2008.php
and all i do not see any souce, only custom 404 page
George.

"Seb" <se******************@gmail.comwrote in message
news:bd**********************************@l42g2000 hsc.googlegroups.com...
On Jul 28, 3:21 pm, Hans Kesting <news.han...@spamgourmet.comwrote:

Seb给我们带来了这个:
Seb has brought this to us :

使用php我可以简单地附加到文件扩展名,例如。 .phps和

如果用户请求文件源将在浏览器中显示。
With php I can simply append a s to the file extension, eg. .phps and
if the user request the file the source will be shown in the browser.


是否有aspx页面的半连续功能?
Is there a semilar functionality for aspx pages?


最好的问候,

seb
best regards,
seb



什么来源你的意思是?有aspx文件本身,它是代码隐藏的

文件,可能有任意数量的支持类。


What source do you mean? There is the aspx file itself, it''s codebehind
file and there may be any number of supporting classes.



aspx,cs等。

aspx, cs and so on.


根据所使用的编译模型,所有这些都可以缺席
来自您服务器的

Depending on the compilation model used, all of these could be absent
from your server!



是的,但它们不是:)

True, but they aren''t :)


据我所知,它是不可能要求任何这些来源

(幸运的是!)。检索一些支持文件(* .config for

示例)甚至被主动阻止bij ASP.Net!
As far as I know, it is not possible to request any of these sources
(fortunately!). The retrieval of some support files (*.config for
example) is even actively blocked bij ASP.Net!



它是'所以我可以轻松地向我这样的团体展示我的来源。

最好的问候,

seb

It''s so I could easily show my source to a group like this.
best regards,
seb


这篇关于显示来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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