all groups > dotnet security > july 2006 > threads for july 8 - 14, 2006
Filter by week: 1 2 3 4 5
PROTECT FROM DECOMPILERS
Posted by Diego Flórez at 7/14/2006 5:36:47 PM
Is there some way to protect my .NET code from decompilers, besides
obfuscation???
thanks!
... more >>
SMIME Decryption
Posted by rene.rugerio NO[at]SPAM gmail.com at 7/13/2006 4:03:19 PM
Hi folks !
I am working on an application in dotnet 2.0; receiving a smime message
which reads something like
========================================
MIME-Version: 1.0
Content-type: application/x-pkcs7-mime; smime-type=enveloped-data;
name="smime.p7m"
Content-Transfer-Encoding: base64
MII... more >>
where is X509Certificate2UI
Posted by Support at 7/13/2006 8:38:47 AM
I am running Visual studio 2005 with Version 2.0.50727 of the .NET framework
and X509Certificate2UI is missing.
my Imports System.Security.Cryptography.X509Certificates only shows
X509Certificate .... no 2UI
Thanks
Terry
... more >>
Detecting if a NTAccount is user or a group
Posted by Roshan at 7/13/2006 8:13:27 AM
Hi,
I wanted a reliable way of detecting if a given NTAccount object
represents a user account or group account. I was using
SecurityIdentifier.IsAccountSid() method but this doesn't work as I
expected. It returns true for user accounts and also for groups created
by administrator. Right now ... more >>
Credentials not passed on when using ASP.NET
Posted by Jay-nospam at 7/12/2006 12:12:39 PM
Hi there,
I am having trouble getting an ASP.NET web application to connect to another
computer and passing the proper credentials and I hope someone can help me.
I have a stand-alone Windows 2003 Server, ServerA, running as a Web Server
that uses ASP.NET. The default.aspx file tries to acce... more >>
Impersonation fails when loading rom third party assembly
Posted by Jeroen van Onzen at 7/12/2006 9:33:01 AM
Hi guys,
I am developing a web application. When I try to connect to an Analysis
Services 2005 server everything works fine. When I try to connect to an
Analysis Services by an assembly which i load an exception occurs.
There should be a blog or a newsgroup entry somewehere of this problem... more >>
Console App Security Context
Posted by Cuperman at 7/12/2006 8:52:29 AM
Hi All,
I am calling a web service from a console app. It appears that the WS
call does not have any credentials and so fails with a 401 error.
How do i determine the account my console app is running as?
How do I reset this to run as either my account (the one I am logged in
with) or a spe... more >>
Encrypt elements in XML file
Posted by GSwan at 7/12/2006 1:04:02 AM
Hi,
I'd like to be able to encrypt certain elements of an xml file which i use
in one of my applications. I found the following link of the msdn website
which looks exactly like what i want to do however i'm getting problems:
http://msdn2.microsoft.com/en-us/library/ms229746.aspx
The li... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
WindowsIdentity.GetCurrent().Token cannot be used when remoting?
Posted by ThunderMusic at 7/11/2006 5:03:03 PM
Hi,
I want to be able to retrieve user information on the server of my remoting
app... What I did is the following : I called
System.Security.WindowsIdentity.GetCurrent().Token and sent it to the server
(via remoting). When I try to recreate the WindowsIdentity using the Token
server-side,... more >>
Web App Impersonation
Posted by David at 7/11/2006 4:25:59 PM
Ok, so it's not as simple or straightforward as it sounds, but here's
what I'm trying to do:
I have a web app where the user context is, by default, determined by
the user logged on to the machine at the time. (simple) However, we
would like to add the ability for another user to log into the... more >>
"An error occurred while enlisting in a distributed transaction."
Posted by Hadeel at 7/11/2006 3:59:03 PM
Hi,
I'm trying to execute a distributed transaction using the following code:
Imports System.Data.SqlClient
Imports System.EnterpriseServices
Imports System.Runtime.InteropServices
<Transaction(TransactionOption.Required), _
ClassInterface(ClassInterfa... more >>
RSA Encryption: Saving keys as files, and size of encrypted data
Posted by Gary Bond at 7/11/2006 1:43:01 PM
HI All,
Could I ask for some help with RSACryptoServiceProvider class. I am trying
to write 3 small apps to demonstrate RSA encryption, and giving out a public
key as an xml string. One app makes the xml key strings and saves them as
files, and the other 2 apps encrypt and decrypt, using th... more >>
code access security across the network
Posted by ajfish NO[at]SPAM blueyonder.co.uk at 7/11/2006 8:39:55 AM
Hi,
I have a client/server application where the server uses asp.net web
services.
is there any way I can use code signing, strong names or whaterver to
verify the identity of the client code across the web service call?
TIA
Andy
... more >>
Creating New Process Under Alternate Credentials (createprocessasuser)
Posted by tansqrx NO[at]SPAM gmail.com at 7/10/2006 3:13:08 PM
I am having quite the time spawning a process under a different user
context. My preferred method involves using the Windows API functions
LogonUser() and CreateProcessAsUser() but I have not figured out a way
to overcome several error messages. I also have the particular problem
of running my... more >>
Service, Requested registry access is not allowed
Posted by theking2 at 7/8/2006 8:19:01 AM
Yes I know there are a zillion threads about the security exception
"Requested registry access is not allowed" but I feel I went by the book and
it still does not work.
I've written a Windows service using the Service Template in VSC#. The
Service needs to write to a customized eventlog. I ... more >>
|