all groups > asp.net security > december 2005
Filter by week: 1 2 3 4 5
suggestions for smart card or biometric web authentication?
Posted by HK at 12/30/2005 9:32:41 PM
Anyone have suggestions for biometric or smart card or key fob or [whatever
else] authentication of a future public facing website? For example, a
customer could do something to authenticate themselves and the computer
passes some data in the background of their browser session so a user can be
... more >>
Some Advice on Writing a customer Membership Provider
Posted by Bryan at 12/30/2005 3:46:15 PM
Hello All,
I think I need to implement my own membership provider, but I am not sure.
Here is the situation:
I am creating an Intranet App and I have 2 different users, Active Directory
(Internal Office) and users that I don't want in active directory, I will
call these "Stores" that are ... more >>
strong name exception on SecurityAction.Demand, works fine for LinkDemand
Posted by Joe Abou Jaoude at 12/29/2005 5:27:16 AM
Hi,
I have a component that is protected by the
StrongNameIdentityPermission.
I m calling this component from a web application that has the
appropriate strong name.
I noticed that calling the component fails when the
SecurityAction.Demand is on, while it succeeds when
SecurityAction.LinkDe... more >>
ASP.NET 2.0 Profile/Membership/Forms Authentication - Manual Login
Posted by beaudetious at 12/28/2005 11:09:02 PM
I'm working on an ASP.NET 2.0 web app using C# and SQL Server 2000. I've
created a multi-step user profile page using the wizard web control and when
the user clicks on the finish button on the final screen I have code in the
click event on the server that does the following:
- Creates a n... more >>
ASP.NET IMPERSONATION AND ORACLE 8.1.7
Posted by saleryan at 12/28/2005 5:43:22 PM
i'm trying to connect to oracle 8.1.7 in asp.net using windows integrated
security
but i'm always getting a ora 01017 invalid username/password. logon denied
message. my web application is running on iis on windows xp professional.
this is my connection string
This is my connection string: da... more >>
LDAP and SASL
Posted by Amar at 12/28/2005 12:36:04 PM
I am a newbie with enterprise directories. I am trying to write an ASP.NET
application to fetch some data from my university LDAP enterprise directory.
There are 2 types of access allowed to the LDAP server. One is a anonymous
access and another is the access that exists mainly to give privile... more >>
.Net 2.0 Membership
Posted by Daniel Corbett at 12/28/2005 5:51:03 AM
How can I determine reason for the login error which is occuring?
I see no status codes or anything available in the LoginError event.
I have implemented the membership capabilities with some minor
modifications, the biggest being that I am using a different database name
from the standard... more >>
Multiple Users with impersonation using one account
Posted by Jeff at 12/27/2005 12:27:15 PM
Hi All,
I have several intranet applications that use impersonate=true and
anonymous turned off to allow me to check for certain network users to
use the application. Works great.
However, some applications use resources such as the file system for
writing temporary files, or for opening f... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
ASP.NET 2.0 Multiple Membership Providers for Authentication
Posted by Daniel at 12/27/2005 7:00:15 AM
Hi,
we are planing two use - if possible - two Membership Providers at the
same time for authentication within the same application.
Short background
Imagine a community page, such as a forum. It comes with its very own
membership provider given to us by our customer. We cannot change tha... more >>
Basic theory question about the ASP.NET Machine account
Posted by B. Chernick at 12/26/2005 12:16:03 PM
Please refresh my memory. I have a fair amount of VB.Net programming
experience but it's mostly Winforms not Webforms.
My question is this: I want to dazzle my boss tomorrow with an interactive
graphics display but the only way I can get this to work is by writing a
temporary image fil... more >>
When exactly Application_AuthenticateRequest event is fired?
Posted by Andrew at 12/23/2005 8:35:03 AM
Hello, friends,
In our forms authentication asp.net app, I used
FormsAuthentication.SetAuthCookie() to authenticate a new registered user
like the follows:
//...already create a new userID from our DB
FormsAuthentication.SetAuthCookie(Request.Form["loginName"], true);
Then I plann... more >>
Membership custom provider - logout function
Posted by Amitai Palmon at 12/22/2005 6:32:06 PM
I am writing a custom Membership provider for ASP.NET
I have derived from the Membership provider and have supplied my own method
that work against my security server.
For login operation, for instance, I implemented the "ValidateUser(name,
password)" function.
I can not, however, find any func... more >>
ASP.NET Authentication
Posted by Cathleen C via DotNetMonster.com at 12/21/2005 9:33:18 PM
I'm now well beyond frustration.
I created an ASP.NET app for our intranet that only certain individuals will
be allowed to access IIS is set up with Windows Integrated Security and
Anonymous Access turned off. I've made several changes to the web.config
including <identity impersonate="tru... more >>
roleManager providers
Posted by MikeS at 12/21/2005 7:01:17 PM
What is the point of being able to add more than one roleManager
provider? If you added more than one then how would you make good use
of more than one of them as the app runs?
... more >>
Insufficient access rights to perform the operation
Posted by Russ at 12/21/2005 2:07:02 PM
Insufficient access rights to perform the operationI am trying to figure out
if a user is a member of a role. I installed the AzMan on my XPSP2 box, and
set up a role in our Win2k3 domain. I myself to that role, and I call:
if (Roles.IsUserInRole(user.UserName, "WholeCompany"))
{}... more >>
Changing domain user password
Posted by Harry Devine at 12/21/2005 1:59:34 PM
I've been searching around for an answer to this question, but haven't
gotten too far. I'm fairly new to ASP.NET, so I'm not sure how to setup
machine.config and web.config properly.
What I want to be able to do is allow a domain user to change their password
in the AD via a webpage. We h... more >>
Unable to update the password
Posted by Russ at 12/21/2005 1:06:03 PM
When I call Roles.IsUserInRole( user.UserName, "WholeCompany" ) I get the
error "Unable to update the password. The value provided as the current
password is incorrect". I'm not exactly sure where I am going wrong.
this is my web.config
<roleManager
defaultProvider="WindowsProvider"
... more >>
What is the best approach?
Posted by Andrew at 12/21/2005 8:06:05 AM
Hello, friends,
I implemented Forms Authentication in my asp.net app, it worked fine.
However, now I have another problem:
Although a user can be authenticated, but he/she may still not be allowed to
view certain pages and folders. For exampl, a junior member can not view
pages for senio... more >>
ASP.Net 2.0: Problem User.isinrole() <domain>\<user> instead of <u
Posted by Stefan at 12/21/2005 1:42:01 AM
Hello!
I´m using windowsauthentication in my asp.net 2.0 website. I have some
problems using the rolemanager. I´m using the AuthorizationStoreRoleProvider
to perform "role checks" against active directory (win 2000).
The problem is that the User.Identity.Name is like <domain>\<user> and I
... more >>
w3wp.exe process crashing.
Posted by msnews.microsoft.com at 12/20/2005 5:37:11 PM
Hi all,
I have a problem which I've seen mentioned quite a few time around the net,
but nothing seems to work.
I've created a web service with one method (see code below). It's running
under IIS set to Windows Authentication. Calling the web service from a
client application or the bro... more >>
roleManager defaultProvider
Posted by michael.spencer NO[at]SPAM gmail.com at 12/20/2005 5:24:23 PM
What I am trying to do is change the roles a user is a member of based
on where they navigate to into in a site.
So what is the point of having multiple roleManager providers? Is
defaultProvider required? If I omit defaultProvider can ASP.NET
determine which provider to use based on Applicatio... more >>
SqlMembershipProvider - SID or GUID
Posted by msnews.microsoft.com at 12/20/2005 3:45:26 PM
Hi gurus,
I have an aspnet web service running under windows integrated security.
When a client calls on my web service, I have access to the authenticated
user's SID from the (this.User.Identity as WindowsIdentity).User.Value
property.
I want to use the SqlMembershipProvider to store Ro... more >>
implementing ICertificatePolicy causes security exception under hosted environment
Posted by C.W. at 12/19/2005 12:34:42 PM
I need to establish an SSL connection with another in my application.
However, I have run into a security exception when I run my code under
hosted environment.
In particular, I have the following class:
Class AcceptAllCertificatesPolicy
Implements ICertificatePolicy
Public Funct... more >>
Calling LogonUSer Against a Remote Domain
Posted by Jeremy A. Marut at 12/19/2005 10:26:02 AM
I've seen a nujmber of similar posts with no real answer, for my purposes at
least. We have a number of applications which we lock down using a
applicaiton access table in SQL which is driven by the user's network ID. The
way we ensure it is the actual user, we have them enter their network cr... more >>
Deploy Web site to remote server
Posted by paps at 12/19/2005 1:26:01 AM
hi i've a file system web site with a SQL Express DB stored in the APP_Data
folder and created with the aspnet_regsql utility.
On my local machine every thing work but when i publish the site to a remote
webserver on IIS i recive some errors (when i call the default page) :
1) ASPNET (user) ca... more >>
Membership roles question
Posted by John at 12/18/2005 1:52:12 PM
Hi
I am using the login control with a custom membership provider. My question
is; once the user has logged in how do I programmatically check what roles
the user belongs to, to provide the user with the relevant features?
Thanks
Regards
... more >>
Getting 403 Forbidden error. Client Cert didn't sent
Posted by Abel Chan at 12/18/2005 1:21:01 AM
Hi there,
I am getting the 403 Forbidden error when I ran the following code, which is
a very simple Windows application. BTW, I find couple similar problems
posted under dotnet.framework.asp.net.security so I post this question here.
What I tried to do is to attach a client certificate a... more >>
windows authentication VS Kerberos authentication in ASP.NET 2.0?
Posted by nenzax at 12/17/2005 11:34:20 PM
Whats the differnce between windows authentication in ASP.NET 2.0?
and Kerberos authentication in ASP.NET 2.0?
Thanks
NEN
... more >>
Using Custom Membership/Role Providers?
Posted by Bill at 12/16/2005 5:47:39 PM
I was hoping someone might give me a push in the right direction. I have a
need for membership and roles on a new website/application being built using
ASP.NET 2.0. I have researched the new membership & roles functionality as
well as the profile functionality.
The application needs to do... more >>
Custom memebrship provider problem
Posted by John at 12/16/2005 6:52:07 AM
Hi
I am trying to setup a customised membership provider and I am getting the
following error when trying to run the app;
The entry 'AspNetSqlMembershipProvider' has already been added.
The line is: <add name="AspNetSqlMembershipProvider"
type="System.Web.Security.SqlMembershipProvi... more >>
About ASP.Net Impersonation
Posted by Andrew at 12/14/2005 2:42:46 PM
Hello, friends,
Our asp.net app needs to access other servers from our IIS servers. In
web.config, we set:
<identity impersonate="true"/>
However, this works on some IIS servers, and does not work on the rest of
IIS servers. We have to explicitly set:
<identity impersonate="true" use... more >>
Credit Card Verification fails
Posted by itsmedotcom2001 NO[at]SPAM yahoo.co.in at 12/14/2005 9:18:58 AM
Hello,
I am trying to write a function in asp.net with VB scripting, which
gives message when the credit card verification fails.
when the user type in the last four digits of cc in a text box, and it
fails for the first time, the message is...we didn't recognize the
numbers, please try aga... more >>
Creating custom Membership Provider
Posted by kuukoku NO[at]SPAM gmail.com at 12/14/2005 8:18:14 AM
I am attempting to write a custom Membership Provider, but am having a
little trouble getting started.
I would like to write the custom provider (either in VB or C#) as a
standalone assembly so it can be used in multiple projects. However,
when I create a class library project and try to writ... more >>
How to access other machines' event log files from a web server?
Posted by Andrew at 12/14/2005 7:41:03 AM
Hello, friends,
We have a .net web app, which will need to access event log files of other
machines in our company's network using System.Diagnostics.EventLog namespace.
In Web.config, we set:
<identity impersonate="true"/>
In IIS Directory Security setting tab, we checked ... more >>
Web site administration tool functionality for the end user
Posted by John at 12/14/2005 4:08:16 AM
Hi
Web site administration tool is great. How can I provide this functionality
for the end user? I need the end user Admin to be able to list users and
then change roles for any of the users or to be able to disable any of the
users.
Thanks
Regards
... more >>
Directory permission
Posted by sunny at 12/13/2005 9:22:10 PM
How can I check the permission of the directory? I want to make sure I have
the "write" permission of the directory before I create a new file.
Any idea?
... more >>
How to access ProtectedMemory/ProtectedData in asp.net 2
Posted by jonrmorgan at 12/13/2005 12:38:01 AM
Hi,
Idiot question but I can't access the new protectedmemory class from my web
application. It's just not listed in System.Security.Cryptography. Works fine
for desktop apps.
Thanks for the insight.
Jon... more >>
How to set a weaker password enforcement
Posted by Ron at 12/12/2005 10:11:11 AM
I am using the createuseraccount control in my asp.net 2.0 app (with
visual webdevelopment express). For my needs the enforced password
strenght is to strong; I want to allow users to be able to create
passwords with only text. I found that the MembershipProvider password
related properties are ... more >>
Client Certificate Setup
Posted by cheloman12 at 12/12/2005 5:33:03 AM
Hi
We have developed an Extranet for our customers. This application needs a
Client Certificate to verify the authentication of client and server Request.
The problem is that during Windows Client Certificate installation process,
the setup application gives the user the option to import h... more >>
Could not load type ********** from assembly mscorlib
Posted by qiang at 12/10/2005 6:52:43 PM
Hi everyone,
Could you please take a look at an exception for ASP.NET application?
My ASP.NET application is using Infragistics WebChart control. I encounter
an exception below when deploying the application into a third-part host.
It would be very appreciated if you have known the... more >>
Hosting, ASP.NET, medium trust level, metafile - Problem!!!
Posted by Mr.Cyber at 12/10/2005 12:10:03 PM
Hi, Borthers!!!
I have A Problem. My code builds some picture dynamically. To do this I'm
using Metafile (System.Drawing.Imaging.Metafile). All that works Fine (on my
local machine) untill we run on hosting environment where is set medium trust
level.
As result I catch the following:
... more >>
How to invalidate credentials in Basic Authentication
Posted by MikeL at 12/9/2005 10:52:29 AM
Hello.
I have a site that uses Basic Authentication (with SSL).
The user has an option within the site to change their password. Since this
affects their domain account the user no longer can access the site after
they change their password. They have to close the browser and then log on
... more >>
FormsAuthentication between ASP.NET 1.1 and 2.0 applications
Posted by rban at 12/9/2005 6:55:03 AM
I'm trying to enable single sign-in using forms authentication between two
ASP.NET applications, one running under ASP.NET 1.1 and another running under
ASP.NET 2.0 on the same server. While single sign in between ASP.NET
applications is well documented, the solutions described won't work when... more >>
Problem with impersonation and using a different host name.
Posted by Patrick Meehan at 12/8/2005 12:09:04 PM
I have developed a ASP.Net page with VS 2005 and SQL Server 2005. The server
I am using is Windows 2003 and I have set up 2 websites, one production and
one for test and development. This is our corporate intranet server and a
DNS entry is setup to point 'intranet' to this machine, however, ... more >>
Error in accessing shared folder database file in ASP.net
Posted by BizWorld at 12/7/2005 4:53:07 PM
i have an access 2000 database in a shared folder at network. i have to pull
data out of it to process.
If i use Window application, it worked fine. but i need to use it in
ASP.net. OleDB Connection fails and say
it is not a valid path or make sure file exist. I added identity impersonate
... more >>
Authenticate Domino Directory user through an ASP.NET page
Posted by gabriel.salama NO[at]SPAM gmail.com at 12/7/2005 2:23:20 PM
I am desperately trying to create a login page in ASP.NET in which a
user can be authenticated against a Domino Directory but for the life
of me, I cannot even find anything remotely close to this on the
internet. It's like nobody has ever needed to do this.
I already did it in a ColdFusion pa... more >>
Membership provider with ADAM
Posted by Bais at 12/7/2005 12:46:02 AM
I'm trying to use ADAM as the membership provider for my app. I've created a
new adam instance with O=test and I imported all the four ldf-files during
the install. I added the following to my web.config:
<connectionStrings>
<add name="ADAMServerLDAP"
connectionString="LDAP://localhost:... more >>
Shared Hosting
Posted by Mike Parris at 12/6/2005 7:03:35 AM
How secure is the .net framework in a shared hosting enviroment?
I am discussing running a .net application with a hosting company and they
are reluctant to allow the aspnet user account write access to a folder
within my site. They are saying that this is insecure. I believe that they
are ... more >>
Asp.net 2.0 Authoritation by roles
Posted by Juan Puebla at 12/5/2005 10:47:02 AM
Hi,
I try to redirect users to specific pages depending on roles:
If Membership.ValidateUser(TextBox1.Text, TextBox2.Text) Then
'Membership.ValidateUser(TextBox1.Text, TextBox2.Text) Then
Dim encryptedStr As String
Dim cookie As HttpCookie
... more >>
Impersonation headaches with ASP.NET 2.0 -- help!
Posted by cider123 NO[at]SPAM hotmail.com at 12/5/2005 6:16:02 AM
>From what I have read, my best guess is the LogOnUser method of
Win32API is the culprit here.
An article I ran across talked about:
- - -
On the Windows NT and Windows 2000 platforms, the account under which a
program is running requires the Windows SE_TCB_NAME privilege to call
LogonUser... more >>
|