all groups > dotnet security > july 2005 > threads for july 15 - 21, 2005
Filter by week: 1 2 3 4 5
Forms Authentication Not Redirecting To Login Page
Posted by Stu at 7/21/2005 8:38:02 PM
Hi All,
I have an ASP.NET application to which I have implemented forms
authentication to handle security. It is a relatively straight forward
solution with all aspx pages residing in the root folder.
The issue I am experiencing is that when the authentication time out is
activated and ... more >>
LogonUser Succeeds - but fails later
Posted by questions NO[at]SPAM resolutionsnet.co.uk at 7/21/2005 7:52:35 AM
Hi,
I'm currently using LogonUser to impersonate a user whilst connecting
to a database. When I use a valid account (i.e. mine for testing
purposes), it impersonates ok (no errors). But as soon as I try to
access a resource, in this case Open a connection to the database an
Impersonation Fail... more >>
Getting User Information from a SID
Posted by martinpare258 NO[at]SPAM community.nospam at 7/20/2005 3:05:10 PM
Hi,
I have to get some user information based on his SID.
I have tried the code below, and it somewhat works. The adUser contains
some information but most of it returns a COMException.
I am mostly interested in the Name property, and in this case it returns
"<SID=010500000000... more >>
Export and Import RSA Key Container
Posted by wrightsp NO[at]SPAM gmail.com at 7/20/2005 3:20:59 AM
I have successfully created an application in c# using the
RSACryptoServiceProvider to encrypt on one machine and decypt on
another. I am storing my private key in a key container. I have a
situation where I need to use this private key on load balanced servers
to decrypt messages from a sin... more >>
Import RSA parameters from .PEM format
Posted by Mauricio Grimberg at 7/19/2005 11:33:21 AM
Hi people: I must load a RSA object from a .PEM file.
It seems not to be trivial.
I suppose I must obtain the RSAParameters from the file but I really don't
know how.
Mauricio Grimberg
... more >>
Why use Demand()?
Posted by Bob at 7/18/2005 10:43:05 AM
I am not sure why one should use the Demand() method? Wouldn't the attempt
to access the resource thrown the same security exception? For example does
the below Demand() actually help in any way?
SocketPermission socketPermission = new
SocketPermission(System.Net.NetworkAccess.Connect,Syst... more >>
Get an unauthenticated windowsIdentity?
Posted by ep at 7/18/2005 10:26:58 AM
I have a case where I need to get a WindowsIdentity for an account that has
not been authenticated. Is this possible?
It looks like the only way to do it so far has been to get a token from
LogonUser first, but I want to get the identity without logging on.
... more >>
Cryptography implementation using memeorystream
Posted by rajkumar at 7/18/2005 12:00:01 AM
I tried to implement cryptographic using memorystream instead of other stream
like file stream etc. Encryption is ok but could not get original data on
decryption.
Same logic works if i use filestream for cryptostream!
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Path of the strong name
Posted by amos hchmon at 7/16/2005 11:25:02 PM
Which path I need to sign in the attribute assemblykeyfile if I develop with
c#.
If you can give me example this help me because I find material but I am not
successful to run the application this fail about cryptographic failure
...error reading
Thanks.
... more >>
Authenticate User in Windows 2000 machine
Posted by henrycortezwu NO[at]SPAM gmail.com at 7/15/2005 8:28:57 PM
Hi All
I tried many times to convert the ff code to .NET but I fail to have
it converted.
How To Validate User Credentials from Visual Basic by Using SSPI
http://support.microsoft.com/default.aspx?scid=kb;en-us;279815
I would like to use the above link to authenticate the current user o... more >>
Weird registry behavior when writing to custom event log
Posted by Michael Carr at 7/15/2005 4:02:42 PM
I experienced the following strange behavior when trying to write to a
custom event log in an ASP.NET application (although the problem would occur
with any non-priviledged account)
I created a custom event log named "MyCustomLog" and created a source within
it called "MyCustomLogSource" fo... more >>
IsInRole & SID/Token Caching in .NET v1.1
Posted by Mark Seward at 7/15/2005 2:43:05 PM
I have a win2003 server that needs to do IsInRole queries aganist users
("targets") other than the thread-executing user (the "operator"). The class
I'm building will be used by ASP.NET apps and also by Windows Services.
I know about using protocol transition to get an unauthenticated
Wind... more >>
.NET 2.0 Membership "role context"
Posted by danielroot at 7/15/2005 1:51:35 PM
I am a developer looking at using the new Membership system in .NET 2.0
and have a question. Many organizations have a hierarchy associated
with their security roles. For example, a manager at store #123 may
have access to do certain tasks in a payroll application, but only for
123. His manag... more >>
|