all groups > dotnet security > august 2005
Filter by week: 1 2 3 4 5
Certificate Valid Date Range
Posted by Duane at 8/31/2005 10:20:40 AM
Hello,
Is it possible to create a certificate that is valid for 2, 3, 5 years?
I've been able to create a certificate valid for 1 year, but don't see
any options on Makecert or the local CA for extending the time. Any
pointer would be appreciated, or if I'm out in left field for wanting
to do... more >>
Signed XML Private Key X509 Certificate WSE 2.0 Issue\Errors
Posted by diadem at 8/30/2005 9:37:02 PM
I am working a project for a client where we are required to send a signed
XML downstream to their server. I need to sign the XML with a X509
certificate private key and then send a (.cer) version of that certificate
downstream with the public key so that the client can validate the signature.... more >>
Providing persistent storage in a locked down environment
Posted by Al Christoph at 8/30/2005 6:30:02 PM
In an environment where all users are just that - not power users nor as
limited as guests - how can you provide an play pen where users of the same
PC can share information using the resources of just that PC? The issue is
that user A can read files created by user B but cannot update them or... more >>
Questions and observations about CAS and the StrongNameIdentityPermssionAttribute.
Posted by John Sheppard at 8/30/2005 12:19:48 PM
Hi Folks,
Hope someone out there can shed some light on this for me. I'm
having trouble figuring out how to correctly use security attributes, in
particular StrongNameIdentityPermssionAttribute. I apologize upfront for
the long winded nature of this post but I am trying to be c... more >>
C#.NET app to run on Win 2003 from another Win2003 on the local net?
Posted by maks at 8/30/2005 10:19:13 AM
Ok! I have a .NET (C#) app that I'm having a problem running on a Win
2003 box from a different Win 2003 box. I mean files physically are
installed on that second win 2003 server, and I'm trying to start it on
this first one. I get security error. I know about that .NET framework
wizard that... more >>
Change ASP .NET Session Id
Posted by Jan Monsch at 8/29/2005 11:55:03 PM
In order to prevent Session Fixation attacks I would like to know how it is
programatically possible to change the session id?
The idea is that after a successful authentication during login a new
session id is generated and the previous one is invalidated.... more >>
Sign with Smartcard
Posted by Francesco at 8/29/2005 3:31:12 AM
Hi all,
I always read example code to sign data with a private key inside a pfx
file but how I can set csp to get a user's private key directly from his
smartcard?
thanks advanced
Francesco
... more >>
SetOwner problem?
Posted by Brian Kirkegaard at 8/27/2005 12:00:00 AM
I'm having a problem using DirectorySecurity.SetOwner int DotNet. I'm using
the following very simple code:
DirectoryInfo dInfo = new DirectoryInfo(strFolder);
DirectorySecurity oDirectorySecurity =
dInfo.GetAccessControl(AccessControlSections.Owner);
oDirectorySecurity.SetOwner(new NTAccou... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Security for a pluggable application
Posted by Scott McChesney at 8/26/2005 11:33:58 AM
I am in need of some guidance on an application I'm creating. We have a
series of nightly jobs that are run by a dedicated machine using the Windows
Task Scheduler. These jobs span several projects, and perform a number of
different tasks. I've been working on an application that will manag... more >>
Get the user email
Posted by tangolp at 8/25/2005 4:18:01 PM
I'm building a windows application in csharp and I'd like to know if there is
a way to filter the search by the user email address in AD? Thanks!... more >>
Securing .NET Assemblies
Posted by sendhil.an NO[at]SPAM gmail.com at 8/25/2005 1:19:52 PM
Hi,
I have a .NET assembly (a dll which has a strong name). It has two
classes. This dll is used in more than one application.
When the applications are distributed, the dll is also available for
anybody. I want to secure the assembly(dll), so that the class in the
assembly is inaccesible... more >>
Implementing Kerberos Authentication
Posted by bkj at 8/25/2005 9:13:08 AM
Hi
I am developing ASP.Net(Internet) application. I am using Active
directory for storing and authenticating users. I want to use Forms
Authentication
Can I implement Kerberos authentication ?
Can I simulate the windows login from ASP.net code?
Is this Achievable?
Any Ideas????
... more >>
[ANN][X-POST] Goliath.NET Obfuscator...
Posted by Cantelmo Software at 8/25/2005 12:00:00 AM
[it]
....finalmente disponibile l'ultimo sicuro obfuscatore per la piattaforma
..NET - il nuovo progetto tutto italiano che cerca di fermare la
decompilazione & reverse-enginnering degli assembly .NET
grazie per l'attenzione
[en]
....finally available the last secure obfuscator for .NET Pl... more >>
Limiting exe permissions
Posted by Rene at 8/24/2005 5:23:18 PM
I recently finished a C# program that is based on the .Net 1.1 framework and
I am planning to make this program available as a download from the
Internet.
Since the program is something you can download from the Internet and since
most people are afraid of running application from companies... more >>
Impossible to set security policy for VSTO Excel?
Posted by Michi Henning at 8/24/2005 12:00:00 AM
Hi,
I just installed Office 2003 and VSTO 2003. I cannot get *any* Excel
project to run at all. Error is:
The current .NET security policy does not permit ExcelProject1 to run from the
folder .\ExcelProject1_bin\. Do not change the security policy in your computer...
I've read every KB ar... more >>
signcode vs signtool
Posted by Scott Zabolotzky at 8/23/2005 6:33:45 PM
I have been using signcode as follows:
signcode -spc myCert.cer -v MyKey.pvk file.cab
Now I'm trying to move to using signtool rather than signcode.
But signtool doesn't have a command line parameter to provide
the private key. You must supply a private key container name.
If all I have i... more >>
accessing Active Directory
Posted by reda at 8/23/2005 2:19:07 AM
Hi all,
I am developing asp.net application using windows authentication from active
directory on a local area network. the domain controller is not on the same
machine of the IIS. when trying to get the display name of the logged in user
I am getting an error if I try remotly even if user ... more >>
.NET 2003 DLL - how secure?
Posted by Rob R. Ainscough at 8/23/2005 1:22:20 AM
If I distribute my class libraries along with my ASP.NET code -- how secure
are my DLLs? Can anyone gain access to them other than the ASP.NET
application(s) using them? I was reading the Microsofts .NET security book
and they suggest that .NET DLL can easily be decompiled -- if this is
co... more >>
XmlSerializer : CS0647 Compilation Error
Posted by Ian Armitage at 8/22/2005 7:38:20 AM
Hi,
I am having problems using the XmlSerializer from within a signed assembly.
I have narrowed down the problem to a compilation error (CS0647) occuring
when .NET tries to compile code generated by the XmlSerializer. The JIT
compiler gives an error when trying to process the following ... more >>
authentication hangs after security patch
Posted by cgw at 8/22/2005 6:04:03 AM
We applied the new .net security patch to our development machine. It may be
entirely coincidental, but now authentication hangs.
We use forms authentication and .Net appears to do what it is supposed to do
by passing control to the log in form. We can navigate off the form to other,
non-s... more >>
Enabling Forms Authentication Stops Button Click Events
Posted by Waqas Pitafi at 8/21/2005 11:06:02 AM
Hi,
3rd day is already gone without any solution.
My problem is, I have a Windows Server 2003 sp1 machine as my development
platform having NTFS filesystem. Other notable components installed are
ODP.NET (latest version), WSE 2.0 sp3, offcourse VS.NET 2003 so .NET 1.1.
When I enable For... more >>
what exact registry entries does the installing of a .net windows service create? either with installutil or with a deployment project.
Posted by Daniel at 8/19/2005 4:47:29 PM
what exact registry entries does the installing of a .net windows service
create? either with installutil or with a deployment project.
... more >>
ASP.NET form-based authentication help
Posted by Sword at 8/18/2005 2:13:03 PM
I have an ASP.NET application that using form-based authentication. I have a
logon page, the user can enter his user name and password – which stored on a
remote SQL server, after click the Logon button, if both are correct, the
application will redirect the user to a welcome page. It’s ve... more >>
Negative numbers in encryption key
Posted by Corleen at 8/18/2005 12:21:02 PM
Hello
I've written a simple .net 1.1 class that uses the cryptography classes to
encrypt/decrypt using DES. My client just sent me their key which contains
negative numbers for example - byte[] keyBytes = {103, -39, -110, 62, -100,
37, -29, 59}; I know they use Java at their shop which I be... more >>
StreamWriter causes SecurityException when attempting to write to network drive..need help
Posted by LordHog NO[at]SPAM hotmail.com at 8/18/2005 12:13:44 PM
Hello all,
I am using C# Express 2005 that parses a log file then generates a
report in another file. When I run the application from a network drive
it throws a SecurityException when I attempt to create a StreamWriter
instance. It fails at the following line..
sw = new StreamWriter( rep... more >>
VS2005 - X509 key not loaded correctly for FTPS server authentication ?
Posted by Lee Gillie at 8/18/2005 8:56:28 AM
I have written an FTP service in VB.NET. Am attempting to add SSL
authentication. I believe it is either not doing the handshake correctly, or
else it does not like the way I loaded the server certificate. Let me
paraphrase the salient portions of code to show what I am doing, and the
resulting... more >>
Does preJIT protect the assemblies?
Posted by chjossi NO[at]SPAM gmx.ch at 8/18/2005 6:10:12 AM
Hi folks
I wonder if preJITed code solves some of the security issues. What about:
- Protection of intellectual property (Lutz Röder's .NET Reflector)?
- Discovering of hardcoded secrets?
- Removal of the StrongNameIdentityPermissionAttributes from the files?
Thanks for your time
Chris... more >>
fileiopermission error
Posted by ahmed khairy at 8/18/2005 5:21:04 AM
I recently developed a web based application however each time i run it frmo
my web browser and attempt to write a file to my local machine i get the
errror:
"Request for the permission of type
'System.security.permissions.FileIOPermission, mscorlib, Version =
2.0.0.0...................fail... more >>
Best Practice for ASP.NET access to SQL Server
Posted by Marc Butenko at 8/17/2005 3:56:08 PM
What is the "best practice" for connecting to SQL Server when it is on a
different server than IIS?
Details on implementation (processes and gotchas) would be appreciated too!
Thanks,
Marc Butenko
mbutenko@mt.gov... more >>
Communicating between ASP.NET and SQL Server on separate servers
Posted by Marc Butenko at 8/17/2005 3:55:01 PM
I have an ASP.NET (version 1.1) application that needs to read data from a
SQL Server 2000 database. Both IIS and the SQL Server are running Windows
2000.
My first attempt to get this to work was to create mirrored local ASPNET
accounts (same user name and password) on both boxes and giv... more >>
Sandboxing AppDomain
Posted by krsgoss NO[at]SPAM gmail.com at 8/17/2005 1:54:01 PM
I am trying to load an untrusted assembly within a separate AppDomain
so that I can restrict it's permissions. I based my AppDomain setup
off some blog entries here:
http://blogs.msdn.com/shawnfa/archive/2004/11/02/251239.aspx
http://blogs.msdn.com/shawnfa/archive/2004/11/08/253971.aspx
Th... more >>
windows forms UserControl compiled with beta 2 doesn't work with IE
Posted by Luis Abreu at 8/17/2005 12:09:34 PM
Hello.
I've already placed a similar request on the server control newsgroup (www.asp.net
beta 2 forums) and on the win tech OT list. From there i was redirected to
here.
I'm facing a weird problem while trying to host a windows forms user control
on IE 6. I say weird because the control... more >>
Forms Authentication - how to proceed when valid login?
Posted by Rob R. Ainscough at 8/17/2005 9:41:14 AM
I've got my Forms Authentication setup, but even with a valid login the
following code just returns me back to my Login form.
My Web.Config
<authentication mode="Forms" >
<forms name="MyAppName" loginUrl="Secure/Logon.aspx"/>
</authentication>
Code in my Logon.aspx
After the user is vali... more >>
encrypting with private key and decrypting with public?
Posted by Eric Dan at 8/15/2005 9:16:01 PM
Using RSACryptoServiceProvider - (or any) in .NET - is it possible to
encrypt with the private key and decrypt with the public key?
From what I understand the encryption is done with the public (default?) and
decryption with the private (defaukt?)
Any help will do :-)
--
Thanks
Eric... more >>
CryptGenKey & CryptImportKey slow in certain situations
Posted by solidcode NO[at]SPAM gmail.com at 8/15/2005 11:35:24 AM
I am trying to fix a nasty bug in my CryptoAPI code. The symptoms are
that CryptGenKey & CryptImportKey take quite some time (5-10 seconds)
to run on some machines, but it works fine on mine and lost of others.
After chasing ghosts for a couple of days I ran a packet sniffer
(Ethereal) and I fig... more >>
Strong Name broken?
Posted by RyanW at 8/15/2005 10:14:05 AM
We have an app that runs on a network drive that has a Strong Name assigned
it it and all dll's. This app ran flawlessly until a recent windows update
was done and it now no longer works. If i copy all the files to the local
HD, then it works again. I think it has to do with the Strong Name... more >>
RSACrypto.. - can I reuse the private key and more..?
Posted by Eric Dan at 8/15/2005 9:05:03 AM
Using the default constructor of RSACryptoServiceProvider - it creates a new
pair of keys - public + private.
1) Is there a way to reinstall the private key on another machine? (I know
that I can export the private key, but can I force the class to reinstall it
using the exported data?
... more >>
can you put a strong name assembly in a role?
Posted by ubiquitousspor at 8/12/2005 12:38:02 PM
The simple version of my question is this: how can you (or can you) set
security so that a privileged assembly can only be called by a specific
strong named assembly? I got hopeful when I found out about the strong name
condition for a code group in cas, but now it seems like all you can do ... more >>
CAS Permission Sets
Posted by Jeppe Dige Jespersen at 8/12/2005 9:06:15 AM
Hi,
Can someone clarify the difference between the FullTrust and the Everything
permission sets? I know that a FullTrust assembly will not undergo
permission checking, but why give an assembly Everything permissions, when
you could omit checking altogether with the FullTrust set?
Thanks,... more >>
'System.Security.SecurityException' when running .exe file from ot
Posted by Svein Erik at 8/12/2005 5:32:05 AM
I've developed a small console application that gathers systeminformation
about the machine. I can run this from a shared network drive, and it works
fine. But when i implement 2 more functions that writes a key to the registry
and creates a desktop icon on the machine that runs the app, i get... more >>
Can't determine if a file exists
Posted by Nikolai Evseev at 8/12/2005 2:41:01 AM
Hi there,
I am usign System.IO.File.Exists in my ASP.NET code to determine if a file
exists in the specified location. The webserver is my local machine, which is
a part of the corporate domain. The file the existence of which I am trying
to determine is sitting in the shared folder of the ... more >>
Password Recovery form page...
Posted by Warren at 8/11/2005 12:18:01 PM
I am sure this is simple, but I can't find any documentation on using FORM
Authentication and creating an account info recovery page that will not
automatically redirect to the login page...
In other words.
1. User Can't remember password or user name.
2. They click link on login page ... more >>
IIS Delegation
Posted by Rainier at 8/11/2005 7:29:11 AM
I'm working in a IIS5.0 IE5 ASP.NET1.1 enviroment.
I need delegarion, I have read that this should be posible using Kerbros.
But how can I get Kerbros to work and how can I test it?
Currently I've got code that does the following:
System.Security.Principal.WindowsIdentity winId =
System.Se... more >>
asp.net err
Posted by rasta at 8/10/2005 10:27:27 PM
the 'Access is denied' err in Q is referencing a file in:
C:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error det... more >>
MD5 or SHA1 or ???
Posted by Alfredo at 8/10/2005 9:24:04 PM
Hi,
I have many questions.
1. I need to create a Hash value of a String. Does anybody has a
function? I am havin troubles doing my own function, because i fail
converting a Byte() to a String.
2. What is the most security algorithm? MD5, SHA1, SHA512??
3. What is the difference bettewn... more >>
Change a windows user's password with C#?
Posted by MadBison NO[at]SPAM gmail.com at 8/9/2005 2:22:04 AM
Hello
I have gathered some code for changing a windows users password, but I
need a bit more info.
I want to change the password on several Winsows 2003 Server machines.
None of them are in a domain.
It appears that the WinNT directory services provider does not work on
Windows 2003 Serv... more >>
How to send certificate for client authentication?
Posted by David Carr at 8/8/2005 5:07:44 PM
Hi all,
I have a VC++ v7 Windows C++ application (i.e. not C#) which is accessing a
webservice via https. The directory is configured through IIS to require a
client certificate. This web reference was added and the SOAP code
auto-generated.
While I have had no problem creating a C# appli... more >>
Cryptography interop.
Posted by Kevin Burton at 8/8/2005 1:56:04 PM
We have been using the managed class SHA512 for some time. Now we would like
to transfer all of the hash values generated by this algorithm to a non-.NET
environment (LDAP). Are there any gottchas that I should be aware of?
Thank you.
Kevin... more >>
how to detect who redirects traffic to a aspx page? is this info passed along in request object or can sites anonymously redirect traffic to other sit
Posted by Daniel at 8/8/2005 12:15:50 PM
how to detect who redirects traffic to a aspx page? is this info passed
along in request object or can sites anonymously redirect traffic to other
sites?
... more >>
capicom and .net components under System.Security.CryptoGrahpy.
Posted by montaque at 8/8/2005 12:00:00 AM
seems that both provide similar encryption methods, i.e DES£¬RC2,TripleDes
my question is that why every .net encryption class has a initial vector,and
capicom does not need this parameter.
also, data encrypted by capicom cannot decrpyted by .net component under
system.security.cryptograph... more >>
|