Ask a Question related to ASP.NET Security, Design and Development.
-
spo #1
ASP.net impersonation security
Does .net impersonation have any security risks from the ntfs side of
things? We currently have our intranet apps placed on the webserver
uncompiled and I have a concern that a user can get to the code behind
pages. Is this a valid concern? Please let me know of any other security
issues you have come across in relation to impersonation, I need to prepare
an arguement for or against its use.
Thanks in advance,
~spo
spo Guest
-
Impersonation
Can someone explain this to me I have a web app I am trying to deploy for the Intranet of our company. I want to use integrated windows so have... -
ASP.Net Impersonation
I am trying to understand Impersonation in the ASP.Net context. Here's what I DO understand: -Using Windows Authentication with... -
Impersonation and integrated security (+sql server reporting servi
Hi, I'm having a little difficulty getting my head round windows integrated security/impersonation and I'd appreciate a little help with the... -
Impersonation/Delegation security considerations
I'm having trouble finding specific documentation regarding the negative impact of using delegation in a Windows 2000 environment. I've read... -
ASP.NET Impersonation over VPN?
Has anyone had any issues using Impersonation over a VPN? I work from home (have my own domain), and use Cisco's VPN Client (version 4) to... -
Ravichandran #2
RE: ASP.net impersonation security
Look up the machine.config file in your %system
root%\microsoft.net\framework\version folder\config folder. This .config file
contains a section called <httpHandler>. This section provides the way that
requests are going to be handled at the web server. In this section, trace an
entry as below
<add verb="*" path="*.cs" type="System.Web.HttpForbiddenHandler"/>
This entry forbids accessing of .cs file because they are handled by the
HttpForbiddenHandler class. This way protected resources are protected from
unauthorized access by the framework. The following is an error description
if an user tries to access a forbidden resource file
This type of page is not served.
Description: The type of page you have requested is not served because it
has been explicitly forbidden.
with regards,
J.V.
"spo via DotNetMonster.com" wrote:
Ravichandran Guest
-
Ken #3
Re: ASP.net impersonation security
Hi,
No matter what user context ASP.NET is running under (default ASPNET account
or Network Service, or an impersonated account) this account will need NTFS
read permissions to be able to read the files off the hard disk to process
them.
How are you envisaging that a remote user will be able to access your .cs or
..vb source code? Via HTTP? or some other method?
Cheers
Ken
--
Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com
"spo via DotNetMonster.com" <DotNetMonster.com> wrote in
message news:com...
: Does .net impersonation have any security risks from the ntfs side of
: things? We currently have our intranet apps placed on the webserver
: uncompiled and I have a concern that a user can get to the code behind
: pages. Is this a valid concern? Please let me know of any other security
: issues you have come across in relation to impersonation, I need to
prepare
: an arguement for or against its use.
:
: Thanks in advance,
: ~spo
Ken Guest
-
spo #4
Re: ASP.net impersonation security
i see the users trying to access via http(which i know is blocked), start-
spo Guest
-
Ken #5
Re: ASP.net impersonation security
Start -> Run requires interactive access to the server. Do not allow the
users to logon to the server, or to logon using Terminal Services.
My Network Places requires access to a file share, or WebDAV share on the
server. You can use NTFS permissions to restrict who can access your server
via SMB or WebDAV shares.
Cheers
Ken
--
Blog: www.adopenstatic.com/cs/blogs/ken/
Web: www.adopenstatic.com
"spo via DotNetMonster.com" <com> wrote in message
news:com...
:i see the users trying to access via http(which i know is blocked), start-
: >run "...", or via "my network places" and walk the path to the sites.
Ken Guest



Reply With Quote

