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: 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 >>

TRYING TO NOT ALLOW USE OF EXTERNAL HARD DRIVE TO OTHER USERS
Posted by CABLEGUY418 at 10/26/2007 11:10:00 PM
MY I: DRIVE OR MY EXTERNAL HARD DRIVE IS SHOWING ON ALL USERS. I WANT TO MAKE IT WHERE I AM THE ONLY USER THAT CAN ACCESS IT, CAN ANYONE HELP HERE? THE OTHER ACOUNTS ARE LIMITED BUT YOU CAN STILL GET TO IT THROUGH MY COMPUTER...more >>

Possible to restrict IP address access using ACLs?
Posted by StevenVibert NO[at]SPAM hotmail.com at 10/26/2007 5:56:04 AM
I'm in the process of writing a WinForms application that will allow viewing MJpeg streams from 30+ ip cameras located throughout our facility. None of the cameras will be accessable via the internet. Each camera has password protected access for up to 5 users. Some of these camera are locat...more >>

Web Forms Login
Posted by MitchW at 10/25/2007 12:03:22 PM
Hello, I am redesigning our companies intranet site and I want to make it as easy as possible for our users to log in and get to the tools they need. I have the need for a number of Web Applications (11 at present -- each unique), but I don't want to have the user have to create 11 differen...more >>

Tray Client
Posted by bthomas1708 at 10/25/2007 7:18:01 AM
I keep getting an error message the "You have another Tray Client logged on using this account from another computer" What does this mean and how do I remedy?...more >>

403 forbidden
Posted by gdg at 10/24/2007 11:51:00 PM
403 Forbidden You don't have permission to access /gboek/inloggen.php on this server. Apache/1.3.29 Server at www.i-net.be Port 80 ????????? It worked always to access this free guestbook , and now not anymore .... what do I do ? ...more >>

Re: Prompt for domain login
Posted by Dominick Baier at 10/24/2007 1:47:16 PM
why don't you use a username/password HTML form that and verify the credentials manually using Win32 LogonUser? ----- Dominick Baier (http://www.leastprivilege.com) Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp) > Hi > > I...more >>

Re: Prompt for domain login
Posted by pez at 10/24/2007 7:00:05 AM
Didn't know you could do that! Do you have an example perhaps? "Dominick Baier" wrote: > why don't you use a username/password HTML form that and verify the credentials > manually using Win32 LogonUser? > > > ----- > Dominick Baier (http://www.leastprivilege.com) > > Developing M...more >>

Certificate Revocation List and Proxy/Firewall
Posted by at 10/22/2007 12:00:00 AM
Hi, I've to validate a X509 certificate before signing a file on a client. I'm using a ClikOnce application to verify and sign. In the certificate, the CDP points to some http url (not ldap uri); I'm beside a prixy/firewall so the crl cannot be reached cause the clickonce is running with Networ...more >>


DevelopmentNow Blog