all groups > dotnet security > july 2006 > threads for july 15 - 21, 2006
Filter by week: 1 2 3 4 5
NTE_BAD_DATA error with RSACryptoServiceProvider
Posted by venkateswarag NO[at]SPAM gmail.com at 7/21/2006 10:58:35 AM
Hi,
I am writing a string encrypt/decrypt for Pocket PC device using
RSACryptoServiceProvider class(OpenNETCF.Security.Cryptography) and
able the encrypt the string but getting the error while decrypting
Code snippets as follows
string pwdStr = "" test ;
//Encrypt
public string EncryptS... more >>
Showing the private key stored in a pfx file
Posted by BobNL at 7/21/2006 6:09:02 AM
Hi,
I show the public and private key stored in a pfx file. The public key
is the same every time I run the program, but the private key isn't.
Can someone explain to me why the private key isn't the same every time
I run the program?
I show the keyexponent and keymodulus of the public key,... more >>
Keyed hash vs Digital signature ????
Posted by serge calderara at 7/21/2006 1:45:02 AM
Dear all,
I am a bit confuse with hashing and Digitaly sign data.
I have understand that hashing a file with a keyed Hash class, you are
protecting hash value to be modified becasue it is regenerated with a secret
key exanged between the sender and receiver. The receiver will then trust the ... more >>
Security Exception and Windows Vista
Posted by Olivier B. at 7/21/2006 1:08:02 AM
Hi,
I'm currently having a problem for which I haven't foud a solution.
I've got a winform application (C#, .NET 1.1) which should work correctly on
Vista (currently Beta 2).
I'm trying to do a send key but it does crash when the OS is Vista (It works
fine on Windows XP and lower).
He... more >>
Prevent others from using my class libraries
Posted by Jason Newell at 7/20/2006 3:29:31 PM
I have a solution with a Windows Application project and two Class
Library Projects. I'd like to have the ability to "protect" my Class
Libraries from someone copying them and using them in their project.
What would be the procude to ensure that the Class Libraries can only be
loaded by my ... more >>
CAS privilege required for COM interop calls
Posted by googlegroups.20.gpw NO[at]SPAM spamgourmet.com at 7/20/2006 1:04:23 PM
My Application makes lots (i mean lots) of interop calls due to the
nature of what it does. (Screen scraping, MSAA, post messages to other
windows, etc..). It seems to me that the ability to call unmanaged code
is a pretty big thing, it can basically leave the environment
vulnerable to anything.... more >>
Client-Side Word Automation
Posted by funkebunch NO[at]SPAM gmail.com at 7/20/2006 6:42:31 AM
I am hosting a C# UserControl in IE that attempts to automate Microsoft
Word. When opening Word I get an Error:
System.Security.Permissions.SecurityPermission. How can I give my
control permission to open Word?
... more >>
What's wrong with my encryption function?
Posted by egyptegypt NO[at]SPAM gmail.com at 7/19/2006 3:21:46 PM
I'm trying to use the ProtectedData class to store encrypted data in
isolated storage but something seems to be wrong. If I call the class
twice with the same string I get a different encrypted value each time.
Here's my encryption method:
private static string EncryptString(string Input)
{... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Newbie Question - Thanks in Advance...
Posted by David White at 7/19/2006 10:37:18 AM
I have written a C# 2.0 application which writes to (creates subkeys and data
values) in the registry under HLM\SOFTWARE. This application works fine when
logged in as admin. But it fails when logged into another (non-admin) account.
Of course, this is what I expect.
However, I am looking f... more >>
Why doesn't caspol.exe see my signed assembly??
Posted by elixirmike at 7/19/2006 7:50:02 AM
I'm trying to use the command line tool caspol.exe to grant full trust to
files that are signed by my company.
I've created a very simple console application called "TestApp" and ensured
that I signed it with my .SNK file.
I'm running the following command in the same directory as the test... more >>
Simple Keyed hash question
Posted by serge calderara at 7/19/2006 7:00:02 AM
Dear all,
I have some simple question relative to Keyed hash algorithm.
I have understand from different reading that this type of hashing with
secret key ( a common password) is used to avoid malicious person to modified
the hash value.
This by using following code sample :
Dim myhash... more >>
Decryptionfailed to bring original text back....
Posted by den 2005 at 7/19/2006 1:52:02 AM
Hi everybody,
I am not sure where to put this in this forum. So, I posted this at
several topics. I created a class library that has two public methods
Encrypt() and Decrypt(). I reference this dll to a window application. I used
DESCryptoServiceProvider Algorithm to encrypt and decrypt ... more >>
Getting the Access Permissions for a specific SID on a File / folder
Posted by Mike Spike at 7/18/2006 12:06:37 PM
HI all,
How do I go about getting the permmisions of a file.
I have been able to get a list of access control rules and tell if they are
restricting or permiting a permmision but I cant tell which role / right
they are refering to:
I can get this type information by using the fileSystem... more >>
random passwords
Posted by mattdaddym NO[at]SPAM gmail.com at 7/18/2006 10:15:12 AM
Hi all,
I have one of those situations where not only do I not know the answer,
but I am uncertain what the questions is, lol. I need to create an
application that for the following need:
My company frequently holds trainings in large conference rooms with
300 or more people. We are struggl... more >>
Security problems
Posted by Massblue at 7/18/2006 4:48:01 AM
Hey people, anyone know how to check who deleted files from a network share,
The permissions allow all users to delete files within folders, someone has
managed to delete various files all over the place within a major project
folder.
I have managed to restore the project from backups and Win... more >>
Any real life sample ?
Posted by serge calderara at 7/18/2006 1:34:01 AM
Dear all
Does anyone have or know a real life nice simple sample that use Asymetric
encrpytion ?
thnaks for help
regards
serge... more >>
Native RC4 code
Posted by Jason Chan at 7/17/2006 8:04:01 PM
Hi all,
I'm new in encryption and I have a question.
I want to encrypt a message using RSA RC4 in one machine with the public and
decrypt it in another machine with the private key.
I have wrote two pages in classic asp for encrypt/decrypt using CAPICOM API.
Now my boss want me to move t... more >>
Help encrypt conn string - no ASP, no server, can't protect keys, can't use Windows Authentication
Posted by David Lee Conley at 7/17/2006 8:03:07 PM
I've seen several questions posted since October regarding the encryption of
connection strings, but none of them seem to address my particular need.
I want to deploy a .NET 2.0 Windows Forms application that uses an MS Access
2003 database. The database has been encoded and password protect... more >>
Non Administrator creating shares on a DC
Posted by Brian Hampson at 7/17/2006 1:31:05 PM
I am trying to create a tool for new user creation so that our Help
Desks can create users, home directories, the shares, and add them to
groups.
It was all good until I got to creating shares on the servers (some are
DC's) I can't find ANY WAY to get around the following (in C#):
System.M... more >>
System.Text.Encoding help ????
Posted by serge calderara at 7/17/2006 12:35:01 AM
Dear all,
Suring studying security issue on application and cryptin/Decripting, sample
I have found use quite a lot the System.Text.Encoding class.
Then a point is mentionned that we shave to be carefull on which encoding
method is use for Decrypring and Encryprting.
What is the way to ... more >>
How to ByPass Protected Storage Prompt
Posted by Danb at 7/15/2006 7:20:42 PM
I have a vb dot net application that signs some code. I want it to run
unattended but when it signs the code and accesses the private key then a
Dialog is displayed.
The dialog ask if I am sure i want this application to access my private
key.
Is there a way to identify for the protecte... more >>
|