Home All Groups Group Topic Archive Search About

.NET Security

microsoft.public.dotnet.security
Score Role based security on local machine
Diane - 29 Apr 2005 11:39 AM - 13 messages
I am testing role based security and have a problem when logged into the local machine.  It always fails when I specify a group instead of a user name.  Everything works fine when I'm logged into the domain.  I'm ...
Score CAS and performance
Jack Wright - 29 Apr 2005 8:19 AM - 2 messages
Dear All,    I would like to clear some basic understanding of how CAS works. This is my understanding:    1. Client application will run with the default security policy.    2. CAS not done for all functions. ...
Score WindowsIdentity vs User.Identity ??
Claude Vernier - 28 Apr 2005 12:22 PM - 9 messages
Hello, I have a web application for our intranet. Built in ASP.Net using C# running on WinXp and IIS. I wanted the application to impersonate the current user that logged onto Windows. So, in IIS, I checked only the Windows authentication. ...
Score declarative security and impersonation
lloyd - 28 Apr 2005 12:46 AM - 5 messages
I'm trying to use declarative security on an impersonated thread but i'm getting "System.Security.SecurityException: Request for principal permission failed".  Here is the code, havent had any luck finding anything on google so far. Dim currentIdentity As WindowsIdentity = ...
Score RSA to PKCS#8
StefanT - 27 Apr 2005 9:53 PM - 3 messages
Hi, I need some help, I have a public key and a private key in PKCS#8 file created with OpenSSL, my task is to extract the private and the public key from this file to create a RSA instance and also to be able to export this ...
Score Authenticate domain and local users
Jacek - 27 Apr 2005 8:17 PM - 6 messages
Hello I have the following problem: I'd like to check whether entered user, domain, password are correct for domain user. Second need is to check local user credentials. What .NET functions should I use? ...
Score Can't programatically create a Domain group
Buddy Robbins - 27 Apr 2005 1:55 PM - 2 messages
Folks, I have a windows 2k3 server (Euclid) that belongs to a w2k active directory (BudTest is the server, budtest.com is the domain). The service I wrote  in VB.Net to run on Euclid has to create new groups on ...
Score Walking Active Directory
Keith Chadwick - 27 Apr 2005 11:58 AM - 2 messages
I am new to the objects that expose ActiveDirectory so hence the very basic question.  There seems to be many methods to interorgrate Active Directory I would like to know what is the best one! All we need to due is based on the ...
Score Strong-Name Assembly calling WebService
C.Dimitrov - 27 Apr 2005 8:24 AM - 4 messages
Hi, I have the following scenario: 1. ASP application within the WEB share D:\WEBS\ASP calls Server.CreateObject("A.A") the server object A.A is .NET CCW with strong name assembly registered with regasm A.dll /codebase /tlb:A.tlb ...
Score .Net RSAParameters from PFX
sushant.bhatia - 27 Apr 2005 1:40 AM - 2 messages
Hi all.   I'm trying to get an RSAParamerters object from a PFX file. Please HELP! I'm totally stuck for answers! Cheers. Sushant ...
Score EventLogPermission via caspol.exe
Mark A. Richman - 26 Apr 2005 10:05 PM - 10 messages
I am getting an EventLogPermission exception when calling my assembly from an ASP.NET 2.0 app. I tried setting the assembly to FullTrust via caspol.exe, but I still get this exception. Any ideas? I am loading the web app and assemblies over UNC. ...
Score CredUIConfirmCredentials behaves unexpectedly
Alan Dean - 26 Apr 2005 7:37 PM - 3 messages
Hi, I'm using CredUIConfirmCredentials in combination with CredUIPromptForCredentials. I set the EXPECT_CONFIRMATION and when the credentials are first provided by the user, the call to CredUIConfirmCredentials returns NO_ERROR as expected. However, on all subsequent calls to CredUIConfirmCredentials with the same ...
Score Code Source Security
Michael D. Ober - 26 Apr 2005 5:47 PM - 8 messages
How do I tell VB 2005 that an entire folder tree is considered safe to load and execute code from? Thanks, Mike Ober. ...
Score How to share a Principal within a ThreadPool ?
Oriane - 26 Apr 2005 12:01 PM - 7 messages
Hi, when I set a Principal in the current thread, using : Thread.CurentPrincipal = the Principal object is not set in the other threads of the application threadpool. Is there a special way to do that ? Oriane ...
Score Very slow Principal.IsInRole call...
Casey Chester - 25 Apr 2005 9:18 PM - 3 messages
Hello group. I have run into a strange situation. Consider the following snippet: Thread.GetDomain().SetPrincipalPolicy(PrincipalPolicy.WindowsPrincipal); WindowsPrincipal wp = (WindowsPrincipal)Thread.CurrentPrincipal; DateTime dtStart = DateTime.Now; bool isInRole = wp.IsInRole(@"BUILTIN\Users"); Console.WriteLine("Call took {0}.", DateTime.Now - dtStart); ...
Score Creating User Accounts with or without Active Directory
J'son - 25 Apr 2005 5:46 PM - 6 messages
<REPOSTED> Guys, I need to build a web intranet application that can automatically create a user account when a new user registers on the site. The user account will be on the web server, member of the guests group (or some ...
Score Meaning ?
Kylin - 25 Apr 2005 11:33 AM - 2 messages
<location path="Checkout.aspx">         <system.web>             <authorization>                 <deny users="?" /> ...
Score calling http from https,permission denied
wn shieng - 25 Apr 2005 9:17 AM - 2 messages
I have two forms,1 is http and another is https. Https is a pop up form and http is its opener. Now, I want to pass back some data from Https side to its opener page but it prompts message" permission denied." ...
Next » 2 3 4 5 6 7 8 9 10