| Thread | Last Post | Replies |
|
| Protecting assemblies from being used outside a company/group/team | 04 Feb 2005 19:02 GMT | 11 |
well - the easy answer is : you can't. if someone 'owns' your assembly he can pretty much do everything he wants. e.g. turn off CAS altogether (caspol -s off). You can't just "assign" the public key to a assembly - because you need the private key to sign the assembly to match ...
|
| Change NTFS Permissions | 04 Feb 2005 17:40 GMT | 1 |
Is there any way of changing NTFS permissions (given that the user logged on has the rights) in C#? Thanks for your help Shawn H. Mesiatowsky
|
| Impersonate in ThreadPool | 04 Feb 2005 00:46 GMT | 1 |
I have an ASP.NET application that uses impersonate account to connect to DB, this works good. But in some cases I need to put some methods in ThreadPool. The methods from ThreadPool should do some foreground operations with DB. But .NET throws me the sql exception "Login failed for ...
|
| Encrypting a string using public key | 03 Feb 2005 15:38 GMT | 3 |
I have a requirement to encrypt a string using the public key from an RSA certificate provided to me. I can load the certificate file using the X509Certificate.CreateFromCertFile method or the
|
| XmlSerializer and Security | 03 Feb 2005 15:03 GMT | 6 |
I've just run into a rather pesky issue. If I use the XmlSerializer class from a strongly named assembly, the generated assembly makes a demand for full trust if the strongly named assembly doesn't have the AllowPartiallyTrustedCallers attribute. Some of my customers have IS
|
| Hacking Windows Security Principal | 02 Feb 2005 23:30 GMT | 4 |
According to my research, it looks like I can use the Windows Security Principal to verify that a user is authenticated or to see if they belong to a certain group etc. The thing that bothers me is that this object resides in the client computer
|
| How do I use my Enterprise Root CA to sign code? | 02 Feb 2005 20:17 GMT | 3 |
Could someone please provide the steps necessary to sign code that will be used by everyone in my organization using a certificate from my enterprise root CA.
|
| ASP.NET - Windows Authentication Problem | 02 Feb 2005 15:56 GMT | 3 |
I am having a problem with my ASP.NET application and using Windows Authentication. It works until I take the "Everyone" group away from the permissions. Then it won't let anyone in, including the domain admins or local admins. I do not have much knowledge of groups and rights, ...
|
| Performance problem with DirectoryServices - VB.Net | 02 Feb 2005 07:46 GMT | 5 |
My problem is the first request done on Active Directory using DirectoryServices object take 5 seconds. All folowing search are less than 1 second, even i am using a new instance of DirectoryServices.DirectoryEntry. The problem is the same with both methods : - DirectoryServices ...
|
| No touch install throwing FileLoadException Failed to grant required minimum permissions to assembly | 01 Feb 2005 20:05 GMT | 5 |
My control uses several other controls - MagicLibrary being one of them. If I change my Internet security to Full Trust everything work fine but when I just have full trust for my control I get this error. These are the permissions I'm requesting I get:
|
| Protecting assemblies from being used outside a company/group/team | 01 Feb 2005 15:04 GMT | 1 |
On my previous post I mentioned my developement team is interested in protecting our assemblies from being used by other people. One way we think we could do this is by giving a strong name to our assemblies using the same key pair, and using a LinkDemand for the PublicKey in all ...
|
| StrongNameIdentityPermission LinkDemand error "mscorlib" ?? | 01 Feb 2005 14:45 GMT | 2 |
I am new to CAS. I am trying to protect my assemblies so they cannot be called by other assemblies not signed by our company. I create a company key pair using: sn -k myKey.snk
|