all groups > dotnet security > january 2007
identity impersonation definition in web.config
Posted by Saqib Ali at 1/31/2007 5:14:21 PM
I have some security concerns over storing a Active Directory username/
passwd in a text based web.config file for the identity impersonation
definition.
I know that web.conf is not accessible via the web browser, however
someone with account on the server can get to the file and steal the
cr... more >>
Enumerating certificates?
Posted by jyeh at 1/31/2007 11:29:01 AM
Hi I’m trying to enumerate the certificates located in “Computer
Account\Personal\Certificates†and “Computer Account\Trusted Root
Certification Authorities\Certificatesâ€. Anyone know how to do this? i'm
trying using CertOpenSystemStore, but cant figure out how to open "Computer
... more >>
AzMan vs other approaches for .Net app security?
Posted by kaborka at 1/29/2007 4:21:00 PM
I'm developing a new .Net 2.0 app for one of my corporate clients. What
I've done for them in the past is provide role-based security in their VB6
apps. I'm considering having task-level security in the new apps, now
that they are on Active Directory, and possibly using Authorization Manager. ... more >>
Dual Authentication: Windows & Username/Password
Posted by Wells at 1/29/2007 3:18:00 PM
I am writing a smart client application that will be used both within my
company as well as outside of my company. For the users within my company I
want to be able to authenticate users by using their Windows accounts, but
for users outside my company I will have no option but to use
Usern... more >>
EventWaitHandle between a service and an application.
Posted by Jon Curry at 1/29/2007 10:36:01 AM
I have a service that starts a thread which waits for a global
EventWaitHandle to be set, writes to the application event log, and waits
for the next set.
I have a simple windows forms application with a button that sets the event
on button click.
My service never receives the event o... more >>
Server side certificate checking - OnCertificateValidation handler
Posted by letibal NO[at]SPAM gmail.com at 1/29/2007 7:40:17 AM
Hello,
My application performs several HTTPS requests (potentially
concurrent) to different web sites
In order to handle any error linked to certificate checking, Im
setting up a callback function as follows :
***************************
ServicePointManager.ServerCertificateValidationCal... more >>
How to find out file owner?
Posted by Dmitry Nogin at 1/25/2007 6:55:55 PM
Hi,
The following code doesn't work for mapped drives:
using System;
using System.Text;
using System.Threading;
using System.Security.AccessControl;
using System.Security.Principal;
using System.IO;
namespace ConsoleApplication1
{
class Program
{
static void Main(string... more >>
Why a ClickOnce Trusted Application don't failed when I change my Code groups Security params ???
Posted by azerty at 1/25/2007 6:50:42 PM
Hello !
I develop an .NET C# 2.0 test application witch requires SecurityPermission
for accept unmanaged calls.
>> If I Execute this application from c:\ ... Application work fines ! ok
>> ...
with mscorcfg.msc application :
>> If I change the association between code group "My Compu... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How to determine process security level?
Posted by ESmith at 1/23/2007 8:43:05 AM
I want to enumerate through the running processes on the system and
determine if the process is running with a higher security token then the
current user, that is, which are the more privileged processes then the
executing one - how can accomplish this?
TIA
... more >>
How to create MachineKey
Posted by SqlBeginner at 1/21/2007 10:07:04 PM
Hi
Is there any tools within .NET Framework for generating MachineKey in
ASP.NET (both 1.0 and 2.0)?
If not, using third party site is the only way or what is the best method
of generating the key.
Can anybody help me in this at the earliest :(
Regards
Pradeep... more >>
Who can see what I am doing on line
Posted by Dave Connor at 1/21/2007 6:18:00 AM
I am logged on to a computer on a wireless network I am on my user ID Can
anyone else on the network log on to my session??
As my children are now using thier computers I dont want to put blocks on
certain sites but dont want them looking at what myself and wife my be
looking at or even plann... more >>
SignedXml
Posted by Iguana at 1/18/2007 6:08:44 AM
Hi!
My question is - System.Security.Cryptography.Xml operate with ds:
prefix in SignedInfo? If yes - please show me the way how create and
validate xml signature with this prefix, using net 2.0 and c# visual
studio 2005.
I try many other ways generate signature SignedInfo element with prefix
... more >>
Is my SID's octet string correct? I can't find AD object with it.
Posted by Pucca at 1/17/2007 5:01:02 PM
Hi, I'm using vs2005, .net 2.0 on win2k server.
Here I'm searching for a Computer object in AD using the sid that I
translate to octet string format for use with DirectorySearcher but it's not
finding it. But I see it using the ldp.exe. Is there someting wrong with my
filter or is the pr... more >>
Application Problem on Windows 2003 Server
Posted by noisefree at 1/17/2007 7:11:17 AM
Hello,
I have a problem on an application I am developing:
This C# Windows Application calls a C# Web Service, which it uses the
SourceSafeTypeLib DLL to interact with Visual Source Safe 6.
The problem comes out when I call the VSS method "Get(ref string Local,
int flags)", which should g... more >>
COM dll thread security issue while accessing from ASP.NET
Posted by Nauman Hameed at 1/16/2007 10:36:00 PM
Hi
I have developed a web application (ASP.NET 2.0 - C#) which uses a COM dll
(Delphi 7) to carry out some server side operations. The COM dll internally
creates some threads to connect to some asynchronous APIs which are
proprietary APIs of our organization. The COM dll has following two m... more >>
DECRYPT with PUBLIC key (how to?)
Posted by KCS at 1/13/2007 5:46:00 PM
Hi all.
I want to encrypt simple text with MY Private Key so the recipient can
decrypt it with MY Public Key. But I get a 'Bad Key' exception when I try it.
Conflicting info on the web and in articles suggests you cannot do this due
to (export) restrictions in the .NET API and that you can... more >>
visual studio 2005 security
Posted by perplex at 1/11/2007 3:09:10 PM
How do you protect your application code in C#.net.
... more >>
RSA encryption across domains
Posted by Juan Romero at 1/10/2007 5:54:08 PM
Guys,
I have a small class in a web app that encrypts and decrypts values using
the RSACryptoServiceProvider class, using the machine key store. The code
works fine and I am able to encrypt/decrypt information fine in my
application.
However, the encrypted information is being stored in ... more >>
Binary Serialization without SerializationFormatter permission?
Posted by GSL at 1/9/2007 7:09:09 PM
The hosting service I am currently using allows the following Code Access
Security permissions.
1. DnsPermission to perform DNS queries
2. FileIOPermission to read and write files within application directory.
3. ReflectionPermission to reflect public members of a type, with "NoFlags"
4. Sec... more >>
Reading trusted sites from VB.NET
Posted by smithgp NO[at]SPAM msn.com at 1/9/2007 12:27:34 PM
Hello,
We have an no touch deployment application hosted on a webserver and
invoked via a link like http://myserver/myprogram.exe
This requires that the user have myserver in the list of trusted sites
and this site to have elevated permissions. This has been working well
for some time now,... more >>
SecurityException Help
Posted by Doug at 1/9/2007 6:29:06 AM
Hi,
I am trying to debug some old code that has this line in it:
WindowsPrincipal winPrn = new
WindowsPrincipal(WindowsIdentity.GetCurrent());
When I run this line (which I believe should be doing nothing more than
indicating who I am), I get the following error:
"An unhandled exceptio... more >>
Client Authentication
Posted by Victor Pereira at 1/8/2007 10:14:05 AM
Hi,
When i'm using the SSLSteam class, and i want to do a Client authentication,
must my client certificate be stored in the current user's "MY" store ? Can
i load this client certificate from a file using
X509Certificate.CreateFromCertFile(MyCertFile) ?
Thanks in advance,
Victor
... more >>
SslStream behavior (slow handshake when used in windows services)
Posted by letibal NO[at]SPAM gmail.com at 1/8/2007 7:19:55 AM
Hello,
I have written a small application (A) that connects to a web site
through SSL, sends a request and receives a response. This application
works fine. In particular, the SSL handshake takes less than 0.20 sec.
If I use the exact same piece of code inside a very simple Windows
service ... more >>
Diffie-Hellman key exchange with .net?
Posted by chris at 1/2/2007 2:11:44 PM
I have been trying to figure out if .net 2.0 now provides a way to do
the Diffie-Hellman key exchange over asyncronous sockets. I have been
unable to determine if this is now possible. If not, I could the class
from Mentalis. If anyone has any information, that would be great.
Also, as I am q... more >>
How Secure is RSA-SHA1 ?
Posted by anoop at 1/1/2007 11:17:00 PM
Hello,
I am doing the Security Audit of a .Net Application Developed on
ASP.Net 1.1. The Developer has informed me that he has implemented RSA-SHA1
for the Authentication Module, The credentials of which are shown below.
challenge=AbDwjDe34zzDBEzF5WdnzPuNTUY%3D&hidFlag=T&posx=79e5b
... more >>
Is there a way to query Security Event Log with Filter in C#?
Posted by Pucca at 1/1/2007 6:10:06 PM
Hi, I'm using vs2005 and .net 2.0. I currently prcoess each Security Log
entry one by one to extract those that fit the selection criteria. Is there
a function that I can use to query the entries with option of filtering for
certain event id and/or time period in C#?
--
Thanks.... more >>
|