TripleDES C# Source Code
Mon, 25 Feb 2008 08:27:02 -0800
Does anyone know where I can find the source code to the TripleDES algorithm
in C#? I found it in Java and C++, but not C#. I found the calls to
Encrypt() & Decrypt(), but not the source itself. Yes, I could translate it
from C++ or Java; but I don't want to re-invent the wheel.
Thanks,
...
|
What would cause the security 537 entries to double when I read i
Sun, 24 Feb 2008 21:56:01 -0800
HI, Does anyone know what could caused the security log 537 Failure Audit log
entry doubles entries when I read the collection use the EventLog Class?
--
Thanks. ...
|
Dynamic Perfmon Object Creation under ASP.NET 2.0
Sat, 23 Feb 2008 15:33:01 -0800
I have a ASP.NET application which runs under the NETWORKSERVICE account.
I instrument aspects of the application via custom perfmon objects.
I need to dynamically (on-the-fly) create/destroy perfmon objects and
instances due to the nature of the application. I'd rather not delegate thsi
to an external pr ...
|
IM add-in security issue
Sat, 23 Feb 2008 09:40:00 -0800
I am writing an add-in for live messenger using C# VS2005. When I try to add
the assembly to IM I get 8013150a message which is a security issue, because
in my app I am reading from a file. Would strong-naming the assembly take
care of the problem? if so where can I find a good tutorial on strong-naming
and ...
|
How to find out whether I can enumerate files in a directory?
Fri, 22 Feb 2008 23:15:40 +0100
I tried the following but it tells me for every folder on my pc that I
would not have access to it.
What did I wrong? When it comes to CAS I'am a complete moron..
if (new FileIOPermission(FileIOPermissionAccess.PathDiscovery,path)
.IsUnrestricted())
{
files = Directory.GetFi ...
|
Assembly security
Fri, 22 Feb 2008 19:28:19 +0200
Hi,
I have written a class library and i don't want unauthorized access to
some (or all) methods in this library. With some research , i found that
i can use strongly named assemblies for this purpose
Here is what i did:
1- I created a consumer assembly signed with myKeyFile.snk
2- I get public key of th ...
|
Open a file with a differnet security context
Thu, 21 Feb 2008 10:29:14 -0000
Hi,
The scenario is :
I have a domain account set on a network share, this restricts all access
to this folder which contains Restricted PDFs
I have an web App that needs to open the file (on demand by many people, who
are restricted via the web application) as a file stream.
I'm using windows authe ...
|
|
|
How do I clear credentials between calls to a web service?
Tue, 19 Feb 2008 13:25:05 -0800
I have a test app that makes calls to a web service that requires
user/password/domain credentials (we're using Basic authentication over SSL).
I pass the credentials to the proxy class by creating a NetworkCredential
object and sticking it in a CredentialCache which the proxy's Credentials
property gets se ...
|
Issue with enabling WMI for non-admin users
Tue, 19 Feb 2008 11:57:47 -0800 (PST)
I'm running into this issue wrt enabling WMI to query Service status
on a remote server for a non-admin user (domain account).
Event Type: Failure Audit
Event Source: Security
Event Category: Object Access
Event ID: 560
Date: 2/19/2008
Time: 1:23:20 PM
User: <domain\user>
Computer: <machine>
Descripti ...
|
How to insert token PIN programmatically?
Mon, 18 Feb 2008 13:42:55 -0800 (PST)
I'm trying to build a program (trying with C#) that signs a document
using a certificate inside a token. Have managed to build code that
does it, but still I'm asked for the PIN. Sample of code follows
below. Can anyone point out how to programmatically insert the code?
rj
------------------------------------ ...
|