all groups > asp.net security > january 2007
Filter by week: 1 2 3 4 5
identity impersonation definition in web.config
Posted by Saqib Ali at 1/31/2007 5:14:21 PM
I have some security concerns over storing a Active Directory username/
passwd in a text based web.config file for the identity impersonation
definition.
I know that web.conf is not accessible via the web browser, however
someone with account on the server can get to the file and steal the
cr... more >>
Web Single Sign On
Posted by quest at 1/31/2007 8:56:32 AM
My network environment consists of a domain with active directory(Win 2003
Server). My web application sits on IIS located outside the domain. The web
application is accessible through port 80 and without single sign on,
requires user to enter username/password to gain access to the web
app... more >>
Certificates and web services
Posted by scot_m NO[at]SPAM hotmail.com at 1/31/2007 8:27:06 AM
A client of mine is trying to consume my web service. My web service
is requiring client cert. The call is coming from a web server where
they host a web application. Their web server has a server cert.
They are trying to attach that server cert as their client cert. The
server cert's root i... more >>
Error while running a virtual site by using a mapped drive
Posted by Sriram Mallajyosula at 1/30/2007 2:40:00 AM
Hi,
I am not sure whether this is the correct newsgroup where I am posting the
question.
I am currently using Citrix as a solution for connecting to a remote server
on which Windows Server 2003 Standard Edition is the operating system. I have
created a new virtual site on that machine fo... more >>
Integrated Windows Authentication
Posted by mail747097 NO[at]SPAM fificorp.net at 1/30/2007 1:46:46 AM
I have read somewhere that Basic Authentication should be avoided
because it sends passwords in clear text and that Integrated Windows
Authentication only works with Internet Explorer on a Windows
computer. I have a website in IIS with only Integrated Windows
Authentication enabled and not a... more >>
Custom Membership Provider FullTrust Problem
Posted by Zeb at 1/30/2007 1:37:46 AM
Hi all.
I've written a custom membership provider which works with tables in
my ms sql database. This works great locally, but as soon as I run the
site on the live (shared) server, I get the following error message:
Parser Error Message: Attempt to access the method failed.
The line in... more >>
Permissions for remote debugging in Visual Studio 2005
Posted by Jeff at 1/28/2007 6:41:44 AM
I'm a bit new to both managing a server and using visual studio pro 2005.
....hopefully, I'll describe the question properly and hopefully this is the
correct newsgroup.
I recently went from the free express version of visual web developer to the
pro version. It is installed on an XP machine t... more >>
Permissions for remote debugging in Visual Studio 2005
Posted by Jeff at 1/27/2007 6:52:52 PM
I'm a bit new to both managing a server and using visual studio pro 2005.
....hopefully, I'll describe the question properly and hopefully this is the
correct newsgroup.
I recently went from the free express version of visual web developer to the
pro version. It is installed on an XP machin... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Failed access to IIS metabase problem - Can anyone help please
Posted by Stephen at 1/24/2007 5:31:00 AM
Server Error in '/FifthValley' Application.
--------------------------------------------------------------------------------
Failed to access IIS metabase.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more inf... more >>
Preventing Image Bandwidth Theft
Posted by Med at 1/21/2007 2:30:08 PM
Hi,
Is there a way to detect in asp.net if images are hot-linked from another
websites? I intend to create a default image and serve that image instead of
the image requested from another website?
Kind Regards
Med
... more >>
2 servers, 1 website, security issue
Posted by musosdev at 1/21/2007 9:11:01 AM
Hi guys
Wonder if you could help me out with some security issues I'm having
installing my code on a client's network.
Here's the setup. We've got 2 servers, the first (DC) is a Win2k3 Std
machine running as a domain controller, with Active Directory, etc - and IIS6.
IIS is running an I... more >>
Web Service Security
Posted by Bob at 1/19/2007 4:15:12 PM
Hi,
I have read the other posts here on this subject but I am still unsure of
the best way to approach my situation.
I am new to web security and web programming in general.
I have a web service and a thick client and a Standalone Root certificate
server.
The thick client will be installed on... more >>
asp.net connection to sql server?
Posted by J at 1/19/2007 10:00:02 AM
Hello. Sorry if this is a novice question but can anyone show or point me
to some code in having windows authentication to sql server for an asp.net
application where it's not using just one generic windows account? I need
to assign individual windows logins to our users (basic authenticatio... more >>
To get all logged in user information on admin side in asp.net 2.0
Posted by ShilpaM at 1/17/2007 9:56:01 PM
Hi,
I am developing an webapplication,which is public user registration
system,where i want to get all logged in users information on administrator
side.Can you please give me an possible solution.
Regards
shilpa... more >>
ApplicationName: Create programmatically
Posted by Claus Konrad [MCSD] at 1/17/2007 3:21:01 PM
Hi
I have a situation where I have to create an entry in the membership
database (std. .NET 2.0 asp.net DB). This entry is a new Application in the
aspnet_Applications table, but as I do not want to do that directly into the
table, what api-object is actually presenting this ability?
I h... more >>
RolePrincipal vs Custom Principal
Posted by LetoLtd at 1/17/2007 7:54:01 AM
I have a custom IPrincipal class that I setup and put into Context.User
in the Application_AuthenticateRequest, all works fine.
However when I check the HttpContext.Current.User in a page my Custom
IPrincipal has been overwritten by the RolePrincipal class, how do I
stop it doing this?
Than... more >>
How to find code permissions needed
Posted by David Thielen at 1/16/2007 11:12:41 AM
Hi;
I know this was answered before but with the MS Web interface to the
groups down I can't find my saved postings so I have to ask again.
We are going to try and figure out Partial Trust again. What is the
program that will tell me what permissions a program needs and what
method in it re... more >>
Better security
Posted by David Thielen at 1/16/2007 11:05:11 AM
Hi;
First off, if you have not read Dominick Baier's book yet - GO READ IT
NOW. That is the book I wish I had read first - would have saved me
boatloads of time.
Ok, on to the question. It seems to me the best way to store secrets
that we need to plaintext of (ie can't just hash and save th... more >>
Conditional Authentication / Authorization Approach
Posted by KW at 1/15/2007 8:04:17 PM
I have the following fairly simple scenario. I have a set of pages that
require users to be authenticated ONLY when certain other conditions
are true. For example...
These two pages require users to ALWAYS be authenticated:
- PageA.apsx
- PageB.aspx
While these two pages only require users... more >>
Access to path "c:\inetpub\wwwroot\myApps" is denied.
Posted by Patrick.O.Ige at 1/15/2007 5:30:55 PM
I moved web apps to Win2003.
I have given read/write access rights to machinename/IIS_WPG but still
getting the error
"Access to the path "c:\inetpub\wwwroot\myApp" is denied. "
Also gave machinename/IIS_WPG rights to the folder myApp
What i notied is that the folder has Read Only attribut... more >>
Active Directory
Posted by Bob Mixon at 1/13/2007 8:04:38 AM
Greetings All,
Being a little less familiar with accessing AD, can someone tell me the best
way to obtain an AD user record (profile). Ultimately I would like to simply
obtain the manager that has been assigned to a specific user.
Thank you in advance for the help!
Bob Mixon [SPS MVP]
... more >>
Get Domain Name
Posted by Dan at 1/11/2007 12:12:04 PM
Hi
I need to get the Domain Name in NT format. I can do it with the
following code, but it takes 5 seconds to execute, which is to much for
me. Anyone know how to do it faster ?
Thanks
Dany
DirectoryEntry rootDSE = new
DirectoryEntry("LDAP://RootDSE");
strin... more >>
Multiple logins on a single account = application frozen?
Posted by Jeff at 1/11/2007 8:54:26 AM
Many months of demanding work came to a point this morning when I
demoed my application for the client which consisted of about 30
people. I supplied everyone with a single shared login and we all
logged in.
Next, nothing happened. The application just froze and was completely
unresponsive - ... more >>
Authentication exception calling ActiveDirectory.Domain.GetCompute
Posted by David Thielen at 1/10/2007 8:56:01 PM
Hi;
I can call both:
using (DirectorySearcher objSearcher = new DirectorySearcher()) {
return (string) objSearcher.SearchRoot.Properties["name"].Value;
}
and:
return
System.DirectoryServices.ActiveDirectory.Domain.GetComputerDomain().Name;
When I run my app under WinXP using the VS 20... more >>
Exception when use asp.net with .net remoting
Posted by dragooon at 1/10/2007 5:53:03 PM
Could anyone shed some light on this? We have an asp.net 2.0 application
that works together with .net remoting. The asp.net application calls a .net
remoting server through tcp channel from a separate thread. The basic
workflow is like the following:
Internet user send a request
-> ... more >>
When CreateUserWizard automaticaly login on?
Posted by Jerry Qu at 1/9/2007 2:24:56 PM
Hi All,
when using CreateUserWizard control to register user, it automatically =
login the user on after done. I want add some action just after the user =
is login and need the user id, but I can not find where to add the code.
Please instruct...
TIA
Jerry... more >>
authenticating username/password against Active Directory
Posted by Boesman at 1/8/2007 6:13:43 AM
Hi,
I'm working on an intranet asp.net app and at some point a user - other
than the currently authenticated user - needs to authorise an action,
like creating a purchase order.
All usernames/passwords must be authenticated against Active Directory.
This already works fine for the overall appli... more >>
Encrypting data in the database
Posted by David Thielen at 1/7/2007 7:07:00 PM
Hi;
We are storing usernames & passwords in our portal's database. Is there an
advantage to encrypting the data in the database?
At first I was thinking there is no advantage because the connection string
and the decryption key are both in the Web.Config file (encrypted) and so if
one ca... more >>
Storing network credentials
Posted by David Thielen at 1/7/2007 7:03:01 PM
Hi;
I'm pretty sure the answer to this is no because I see some security
problems if it's yes. But I figure it can't hurt to ask.
We want to be able to schedule a report to run at a certain time and run
under the crednetials of the user that requested it. In this way we can
connect to Sq... more >>
What is the "correct & supported" way to setup SqlRoleProvider
Posted by David Thielen at 1/6/2007 1:30:00 PM
Hi;
When installing an ASP.NET application using SqlRoleProvider and
SqlMembershipProvider we need to create the initial roles and the inital
admin user from our Windows installer application (not ASP.NET).
We must do this in the installer as otherwise we either have no users and
therefo... more >>
IsInRole methid is not working as expected
Posted by vineetbatta at 1/6/2007 1:47:00 AM
Hi,
I created a local group on server and added my self to that group.
I am using the following code in my web page to check the membership of the
loggedin user against the Windows group on the same server.
User.IsInRole(@'MachineName\groupName') . The above always return me false.
If i... more >>
Proxy Credentails for HttpWebRequest from ASP.Net app
Posted by Martin at 1/5/2007 10:43:53 AM
Hi,
I'm writing an ASP.Net 2.0 webpart that is doing sum HttpWebRequest stuff.
I need to go through a proxy, and have configured the web.config like so
<system.net>
<defaultProxy>
<proxy bypassonlocal="true"
usesystemdefault="false"
proxyaddress="http://isa-srv01:8080"
... more >>
Configuration for to grant WebPermission to an ASP.Net 2.0 WebPart?
Posted by Martin at 1/4/2007 4:51:07 PM
Hi,
I'm writning an ASP.Net 2.0 WebPart, which needs WebPermission.
I've read http://msdn2.microsoft.com/en-us/library/ms916855.aspx, but still
get the error
"Request for the permission of type 'System.Net.WebPermission, System,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561... more >>
forms auth, authenticate against already encrypted password?
Posted by Tim Mackey at 1/3/2007 5:38:31 PM
hi,
i'm using forms authentication with a web service, and i have the web
service passing in the password already encrypted in MD5. can i use any of
the built-in FormsAuthentication methods to authenticate with this password?
it works fine if i pass in the plain text password.
e.g. FormsA... more >>
How to capture network login using ASP.NET
Posted by mchemsi NO[at]SPAM gmail.com at 1/2/2007 9:12:12 PM
Hello,
I'm currently maintaining an ASP.NET application with not much
knowledge about .NET. So any help would be greatly appreciated.
The application is access internally and has different modules in it,
most modules are available to all users. However, some should be only
available to pati... more >>
Best Practice for storing keys
Posted by tshad at 1/2/2007 5:09:46 PM
I am trying to find the best procedure for storing keys used for encryption.
This would also be a question for the connection string to the database. At
the moment, this is kept in the web.info file.
This seems to be norm from all the books on building your Web Apps. Isn't
this a problem... more >>
How Secure is RSA-SHA1
Posted by anoop at 1/1/2007 11:31:01 PM
Hello,
I am doing the Security Audit of a .Net Application Developed on
ASP.Net 1.1. The Developer has informed me that he has implemented RSA-SHA1
for the Authentication Module, The credentials of which are shown below.
challenge=AbDwjDe34zzDBEzF5WdnzPuNTUY%3D&hidFlag=T&posx=79e5b
30ea23345a... more >>
|