Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007


all groups > dotnet security > recent posts

RE: Code Access Security Policy - Error trying to "increase assembly trust"
Posted by Vimal Upadhyay at 8/20/2010 3:10:07 AM
I have tried it, but as i have used some controls, it generates error while generating Strong Naming that can't generate SN for control. From http://www.developmentnow.com/g/46_2006_7_0_0_793060/Code-Access-Security-Policy--Error-trying-to-increase-assembly-trust.htm Posted via DevelopmentNow.com ...more >>

RE: How to add a License key to a vb.net 2003 programme
Posted by LogicNP at 7/19/2010 11:15:31 PM
You can consider using a system like CryptoLicensing - it offers copy-protection using RSA secure keys. From http://www.developmentnow.com/g/46_2006_9_0_0_826067/How-to-add-a-License-key-to-a-vb-net-2003-programme.htm Posted via DevelopmentNow.com Groups http://www.developmentnow.com/g/...more >>

RE: Strange problem with X509Certificate2 on Windows 2003
Posted by CDEA at 7/25/2009 9:06:01 PM
The use of X509KeyStorageFlags.MachineKeySet worked for me! From http://www.developmentnow.com/g/46_2006_3_0_0_727204/Strange-problem-with-X509Certificate2-on-Windows-2003.htm Posted via DevelopmentNow.com Groups http://www.developmentnow.com/g/...more >>

reflection security
Posted by Becky at 7/15/2009 12:30:09 PM
I have a class that I want to be secure, and not allow access to the values of private member variables. But you can still get to the values through reflection. Is there a way to prevent this? From http://www.developmentnow.com/g/46_0_0_0_0_0/dotnet-security.htm Posted via DevelopmentNow.com Gro...more >>

RE: Dotnet 2.0 PCKS CheckSignature Error
Posted by I am still having the problem of "the hash value is not correct" PKCS CheckSignature Error. at 6/25/2009 5:39:36 AM
I still have the problem "the hash value is not correct" I tried adding the Carriage Return/Line Feed after the MIME Boundary but still the same. Code: System.Security.Cryptography.Pkcs.ContentInfo contentInfo = new System.Security.Cryptography.Pkcs.ContentInfo(Encoding.ASCII.GetBytes(Message...more >>

RE: .NET CLR Error 800700002
Posted by marcel at 5/8/2009 9:47:29 PM
cum rezolv eroarea From http://www.google.com/cse?cx=015258194770007199679:e2pdvdvh7_8&q=++2147024894(800700002)&sa=Search+Now!&cof=FORID:10&ad=w9&num=10&rurl=http://www.developmentnow.com/search.aspx?cx=015258194770007199679%253Ae2pdvdvh7_8&q=++2147024894(800700002)&sa=Search+Now!&cof=FORID%253A10...more >>

RE: Strange problem with X509Certificate2 on Windows 2003
Posted by Jeff at 2/16/2009 4:58:04 PM
Check out the version of the constructor which takes the X509KeyStorageFlags enum value. When we ran into this problem on Windows 2003 Server we had success using this constructor and passing in X509KeyStorageFlags.MachineKeySet for the flag value. As another side note, we also found strange beha...more >>

RE: Digitally sign files from within a web application
Posted by Geo at 6/11/2008 1:25:08 AM
I am searching for way to sign pdf in web application using smart card. Any reference site and information? Thanks. From http://www.developmentnow.com/g/46_2006_7_0_0_793976/Digitally-sign-files-from-within-a-web-application.htm Posted via DevelopmentNow.com Groups http://www.developmentnow...more >>



Re: Need help with error adding meetingBlob to a meeting class obj
Posted by Pucca at 11/2/2007 4:26:00 PM
Yes, you're absolutely right. Thank you very much! -- Thanks. "Joe Kaplan" wrote: > Shouldn't you be passing in the byte array, meetingBlob, and not the > structure, blob, to the DirectoryEntry? > > Joe K. > > -- > Joe Kaplan-MS MVP Directory Services Programming > Co-author...more >>

Re: Need help with error adding meetingBlob to a meeting class object
Posted by Joe Kaplan at 11/2/2007 3:50:42 PM
Shouldn't you be passing in the byte array, meetingBlob, and not the structure, blob, to the DirectoryEntry? Joe K. -- Joe Kaplan-MS MVP Directory Services Programming Co-author of "The .NET Developer's Guide to Directory Services Programming" http://www.directoryprogramming.net -- "Pu...more >>

Need help with error adding meetingBlob to a meeting class object
Posted by Pucca at 11/2/2007 1:30:20 PM
I got the following error: System.ArgumentException: Value does not fall within the expected range. At System.DirectorySservcies.Interop.UnsafeNativeMethods.IAds.PutEx(Int32 InControlCode, String bstrName, Object vProp) at System.DirecotryServices.PropertyValueCollection.set_Value(Object val...more >>

Re: httpwebrequest failure with .net service
Posted by Joe Kaplan at 11/2/2007 9:58:39 AM
So, it sounds like you ARE trying to do client certificate authentication if you are planning to require client certificates. As such, the key to this is to make sure you have an appropriate client certificate available for your client and make sure the identity that is running your code has ...more >>

Re: httpwebrequest failure with .net service
Posted by chaz at 11/2/2007 3:24:00 AM
Hi, Thanks to you both of you for the valuble feedback. I've implemented your work-around Henning and this works well with "ignore certificates" or "accept certificates" . Eventualy I will want to figure out the issue but for now I can move on to the next issue which is - "require certificat...more >>

Re: Possible to restrict IP address access using ACLs?
Posted by StevenVibert NO[at]SPAM hotmail.com at 11/1/2007 2:13:16 PM
Henning, Thanks for the suggestion--I'll have a look at what setting up ISA Server entails. This would certainly be the cleanest approach. -- Steve On Oct 27, 1:46 pm, "Henning Krause [MVP - Exchange]" <newsgroups_rem...@this.infinitec.de> wrote: > Hello, > > I think this is more an i...more >>

Validation of viewstate MAC failed .. Security issue>?>>
Posted by George Thompson at 11/1/2007 8:05:32 AM
Hi, I come from an ASP background, and I am currently working on a .NET project, so please excuse me if this is a dumb question ... I have written a dynamically generated menu that uses the following structure (looping through for each menu item needing to be displayed): <tr> <td class=...more >>

Re: Accessing a network share from ASP.NET
Posted by Gaurav Kumar at 11/1/2007 12:00:00 AM
You might like to refer to http://www.15seconds.com/issue/030926.htm thanks, Gaurav Kumar http://blogs.technet.com/gauravphoenix/ "Arne Garvander" <ArneGarvander@discussions.microsoft.com> wrote in message news:821FAAC4-B604-4EAA-BECE-87898BBCDBF7@microsoft.com... > When I need to access a...more >>

Re: Accessing a network share from ASP.NET
Posted by Gaurav Kumar at 11/1/2007 12:00:00 AM
You might like to refer to http://www.15seconds.com/issue/030926.htm thanks, Gaurav Kumar http://blogs.technet.com/gauravphoenix/ "Arne Garvander" <ArneGarvander@discussions.microsoft.com> wrote in message news:821FAAC4-B604-4EAA-BECE-87898BBCDBF7@microsoft.com... > When I need to access ...more >>

Re: httpwebrequest failure with .net service
Posted by Henning Krause [MVP - Exchange] at 10/31/2007 9:01:18 PM
Hell, if the root certificate of your SSL certificate is not in the trusted root certificate store, you get this error. The best way to deal with this is to add it to that store.If you can't do this for whatever reason, you can disable the check using this line of code, which you should ...more >>

Re: httpwebrequest failure with .net service
Posted by Joe Kaplan at 10/31/2007 1:33:41 PM
Do you know if SSL client certificate authentication is being performed? It may be the case that the server is requesting client cert auth and only the admin account on your box has permissions to access the private key for the client cert that is being used (which may actually be the server'...more >>

ServiceController - Requied User Permissions
Posted by Coy at 10/31/2007 1:12:33 PM
I want to use a ServiceController instance to control a service on another machine. I find I can only do so by making myself an Administrator on that machine. I need to know the specific set of user permission that I can add to a common user to make it possible for them to manage services rem...more >>

Accessing a network share from ASP.NET
Posted by Arne Garvander at 10/31/2007 11:51:02 AM
When I need to access a file on a network share from web page I use LogonUserA Lib "advapi32.dll" to impersonate a network user. Login name and password of that user is in the code Is this best practice? Is there a better way? -- Arne Garvander Certified Geek Professional Data Dude...more >>

httpwebrequest failure with .net service
Posted by chaz at 10/31/2007 10:36:01 AM
running Hi, I have a .net 2.0 service that periodically needs to access a web site on the same 2003 server machine that is configured to use https . The only way I can get this working is to run the service with the administrator login , no other account (system, local service, or account...more >>

Generating Certificate in .NET 2.0
Posted by Amit at 10/30/2007 5:20:46 AM
Hi evevryone, I have one requirement here, where i have to create a utility/program which will use certificates for securing web service communication between the client and web service to verify that client has the license to make a call to web service. and this functionality i have to bui...more >>

trusted security
Posted by Arne Garvander at 10/29/2007 2:44:00 PM
I put this line in my web.config <identity impersonate="true" /> I change the identity used by IIS. Now I can connect to SQL server using trusted_security. I got trusted by SQL server, but I am not trusted by the filesystem outside my webroot. I have a business requirement to access files out...more >>

Offline Root CA issue
Posted by Face at 10/29/2007 2:30:03 PM
I have setup a standalone offline root CA (part of the domain), and a subordinate online CA server in an Windows 2003 Server environment (virtual servers). I have exported the CRL from the offline root into the online server, after modifying the path to point to the new CRL Path. I was able to...more >>

Integrated Security/Trusted_Connection
Posted by Arne Garvander at 10/29/2007 1:59:00 PM
I want to make a trusted connection from a webserver (IIS 6.0/5.1) to a sql server (2005) How do I do that ? -- Arne Garvander Certified Geek Professional Data Dude...more >>

FromBase64Transform InputBlockSize property issue
Posted by Jeff at 10/29/2007 8:38:00 AM
In the .NET ?documentation? for FromBase64Transform class, the example comments out all use of the InputBlockSize property and replaces it with the constant "4". For example: [C#] myTransform.TransformBlock(myInputBytes, i, 4/*myTransform.InputBlockSize*/, myOutputBytes, 0); The exam...more >>

Impersonation with users of 2 domain (not trusted)
Posted by DB at 10/29/2007 12:00:00 AM
Hi guys, I'm trying to solve this problem: in my software I need to use files that are in different machine of 2 domain at which I could access using different user rights. If the software run on a machine of domain A and nedd to access to a file with an user of domain B I get the error 1326 ...more >>

Finding Certificates
Posted by jperezvazquez NO[at]SPAM gmail.com at 10/28/2007 12:41:38 PM
Hello All, I am trying to find a certificate but I am unable to find the certificate that I want. I am using the following code: <code> .... string SearchTerm = "XXXXXXXXXXX"; X509Store oX509Store = new X509Store(StoreName.Root, StoreLocation.LocalMachine); oX509Store.Open(OpenFlags.Re...more >>

Re: Possible to restrict IP address access using ACLs?
Posted by Henning Krause [MVP - Exchange] at 10/27/2007 7:46:16 PM
Hello, I think this is more an infrastructure question. I would suggest putting the cameras in a different subnet (or vlan) and protected this subnet with a firewall. Microsoft ISA Server can allow/deny traffic based on Windows group membership. Kind regards, Henning Krause <StevenV...more >>


DevelopmentNow Blog