all groups > asp.net security > march 2005 > threads for march 1 - 7, 2005
Filter by week: 1 2 3 4 5
Thread was being aborted
Posted by enahar at 3/7/2005 12:51:35 PM
Hi,
When I do the Login using the code below I am getting the
System.Thread.ThreadAbortException(Thread was being abortefd) on the last
line of the below code i.e.
Response.RedirectFormsAuthentication.GetRedirectUrluID,isPersistent));
there is no original URL, therefore it is returnin... more >>
Access Denied on WindowsIdentity.GetCurrent()
Posted by Marco Herrn at 3/7/2005 11:48:10 AM
Hi,
I am developing an ASP.NET Application in C#. I need to find out the
user under which the process is running on runtime. So I use
System.Security.Principal.WindowsIdentity.GetCurrent().Name to get the
name of the current user. But I get this exception:
Exception: System.ApplicationEx... more >>
Role authorization
Posted by Arne at 3/7/2005 6:27:03 AM
I use custom authentication and I set the identity with following line
FormsAuthentication.SetAuthCookie(username.Text, False)
How do I set the role?
... more >>
Deployed Application ASP.NET: file and web access.
Posted by Siu at 3/7/2005 1:57:02 AM
Hi,
I've developped a Web application for my customer: this web application
allows users to modify some xml file.
The customer has deployed the web application into his domain on a IIS 5.5
or superior: his domain/network is very complex and unfortunately I don't
have a design. The problem ... more >>
WS-Security vs. IIS authentication and trust boundaries
Posted by Morten Overgaard at 3/5/2005 12:16:40 PM
Hi Sirs.
When using WS-Security instead of IIS authentication I see a potential
problem letting ALL people access my webService. ie. if I have a little bug
in the code that checks for validity of the user I'm really exposing
my-self.
If using IIS authentication I'm sure that only IIS aut... more >>
How To:Windows Integrated Security and workgroups
Posted by John Blair at 3/4/2005 12:41:21 PM
Hi,
I have setup my website to use windows integrated security in IIS (and
disabled anonymous access) also added <identity impersonate="true"/> in the
web.config file. Now whenever a PC on my intranet tries to visit the website
the network logon prompt for my server appears (as expected). T... more >>
problem with slidingExpiration
Posted by Alessandro Zucchi at 3/4/2005 8:47:05 AM
Hi all,
I'm trying to use Forms authentication with slidingExpiration option set to
true since I want permit users to stay logged in when they use the web
application. Only idle timeout must logged out the users.
***********************************************************
Follow the code:
... more >>
Authentication 101
Posted by at 3/3/2005 11:40:23 PM
Hi All
I am new to .NET, this could be a very basic question
I would like to write a login page to capture username / password, and then
use window authentication to authenticate the user. I have done some
readings and come across with IPrinciple, WindowPrinciple .... but can
someone show me... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Authentication
Posted by Victor Rodriguez at 3/3/2005 11:05:36 PM
Is there a way after authenticating an user with NTLM before entering a page
on a website to terminate his authentication by a server command?
Thanks,
Victor
... more >>
Question on GenerateIV and GenerateKey
Posted by Greg at 3/3/2005 2:37:06 PM
When a PC executes GenerateIV or GenerateKey, is the key and IV automatically
stored somewhere on the PC or is one out of luck if they don't manually store
the key and IV in order to decrypt any document that was encrypted using the
key and IV?... more >>
Changing NTFS permissions in ASP.NET
Posted by Dmitry Maslakov at 3/3/2005 12:44:46 PM
Hi.
Some related questions were discussed here, but my question is some
different.
I'm writing the project, the metter of it can be expressed as following.
* System: IIS 6 on W2003server.
* Site: application pool works with NETWORK SERVICE, anonymous access is
allowed on site.
* Goal: ope... more >>
need clear example of threading + impersonation
Posted by jyjohnson at 3/3/2005 8:33:03 AM
My asp.net application needs to allow the user (via basic authentication) to
execute a long running process (new thread) that writes files out to a share
on another server.
This works if I just use impersonation without creating a new thread. I'm
using XP Pro + IIS 5. I think I have acces... more >>
Active Directory Authorization Store question
Posted by hey at 3/2/2005 2:13:03 PM
I'm using Authorization and Profile block in my middle tier (.NET Remoting
hosted under IIS) for role-based application security. It's all good when the
authorization store is placed in a local xml file. But this is only good in
development. In production environment the store need to be integ... more >>
Impersonate + AD
Posted by Alberto Ortega at 3/2/2005 2:05:06 PM
Hi, I've got a difficult situation...
Is a website that runs on IIS with Anonymous Authentication, the tag
<identity impersonate="false"> on the Web.config file. So the thread is
executed by user "NT AUTHORITY".
So when I use AD API ( FindOne() ) it works well.
The point is that when I imperson... more >>
FormsAuthentication
Posted by Grant Merwitz at 3/2/2005 12:07:27 PM
Hi, i am using forms authentication in an ASP.NET project
I am setting the Forms authentication cookie by using:
FormsAuthentication.RedirectFromLoginPage(UserName.Text, false);
Now when i review my trace on my page, there are two cookies created that
look identical.
When i FormsAuthent... more >>
"server not operational"
Posted by brian at 3/1/2005 10:04:22 AM
We have seen this in our environment historically and are trying to
eradicate. recently, we had a big flurry of these errors. It is
almost impossible to reproduce .. an exception gets thrown, "the server
is not operational" and here is the code
dirConn.DirRootAD.Username = ConvertToCorrectU... more >>
For Help: How I can change the password ploicy.
Posted by Lina zhuang via DotNetMonster.com at 3/1/2005 9:59:51 AM
Dear Sir,
I change password of users in active directory by asp.net
form ( c# ) .But I recieve error could anyone help me to
solve it. Thanks very much.
This is error info.
------------------------------
[COMException (0x800708c5): ????????????????????????????????????]
[TargetInvocationEx... more >>
|