Possible to get certificate info from an assembly?
Tue, 22 Jul 2008 21:03:40 -0700 (PDT)
For a signed Win32 DLL I can call the platform function
"ImageGetCertificateHeader" to get certificate info for the file. But
when I try this on my signed DotNet DLL asembly file (which has the
same cert as my Win32 DLL) the call fails and GetLastError just tells
me something generic like "Parameter is incorrect ...
|
App not trusted on network...
Mon, 21 Jul 2008 09:48:14 -0300
Hey all...
The systems that I work must be hosted at the server, but the .net can't
be placed there because when i launch the source code the vs 2005 complains
its not trusted in network and that i might fail in debug mode. And in deed
it fails...
Is there any kind of permission that I may give t ...
|
.DOT source code not trusted in network...
Mon, 21 Jul 2008 09:39:51 -0300
Hey all...
At my work, i should have all my systems hosted at the server... but the
.net can't be placed there, otherwise i won't be able to work...
when i open these files, the vs(2005) complains that they are not
trusted and may fail during execution... and in deed fails...
what kind of perm ...
|
Account Security
Fri, 18 Jul 2008 08:52:04 -0700
Can I set restrictions on my user account ( I am senior systems admin and
domain and schema admin and exchange administrator of our corporation) so
that no one, not even another domain admin can disable my account?
Can this be done with ADSI.edit?
TeeCee ...
|
pinvoke CryptSetKeyParam not working?
Fri, 18 Jul 2008 06:16:15 -0700
Hi,
I'm trying to use AES encryption from the win32 cryptoAPIs using pinvoke.
My C# code pinvoke signature reads like this:
[DllImport("advapi32.dll", SetLastError = true)]
[return: MarshalAs(UnmanagedType.Bool)]
public static extern bool CryptSetKeyParam(IntPtr hKey, uint
dwParam, ...
|
SSO in a hosted solution
Fri, 18 Jul 2008 02:46:01 -0700
(I am not sure I am posting this to the right group - if not, please advise
on a better group to use...)
I am looking for a way to allow end-users to use Single Sign-on to log in to
a hosted web-based application, i.e. using their normal windows UID/PWD - or
just having the normal transparent auto-authentic ...
|
Using DLL's in ASP.net
Thu, 17 Jul 2008 21:27:55 -0700 (PDT)
Hi,
I tried to use a dll in my .net application to generate charts.
The following was done:
The dll was registered using regsrv32.
A sample .net program was written to generate charts.
Now I am getting the following Exception while running the
application.
Security Exception
Description: The applicat ...
|
|
|
DsCrackName with DS_NAME_FLAG_TRUST_REFERRAL flag not working
Thu, 17 Jul 2008 16:36:05 -0700
Hi I'm using the code from this url
http://www.pinvoke.net/default.aspx/ntdsapi/DsCrackNames.html?diff=y
My code:
NamesCracked = DSAPI.DSAPI.HandleDsCrackNames(hds,
DSAPI.DSAPI.DS_NAME_FLAGS.DS_NAME_FLAG_TRUST_REFERRAL,
DSAPI.DSAPI.DS_NAME_FORMAT.DS_SID_O ...
|
Importing a PFX file using X509Certificate2 from ASP fails
Thu, 17 Jul 2008 14:22:55 +0200
Hi all!
I have a problem while importing a pfx file (or a pfx-byte-array) with
X509Certificate2 constructor.
When I call
X509Certificate2 cert = new X509Certificate2("a.pfx", "password");
I get the following Exception:
+++++++++++++++++++++++++
System.Security.Cryptography.CryptographicException: The ...
|
HttpWebRequest With SSL, Problem while deploying to IIS
Thu, 17 Jul 2008 03:50:01 -0700
Hi, In one of my Asp.Net 2.0 application i have to retrieve the data from
other server which is using the SSL Client certificates to authenticate.
to accomplish this i have used the HttpWebRequest and pass the SSL
Certificate to it, and it works fine while running the project from the
Visual Studio every t ...
|