|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
.NET Securitymicrosoft.public.dotnet.security
Appdomain.CreateDomain throws SecurityException
Praisy -
10 Jun 2005 9:03 AM - 12 messages
Hi, The following exception occured when I tried to create an appdomain. "System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.AppDomain.CreateDomain(String friendlyName, Evidence ...
Sharing login across applications
Geoff -
9 Jun 2005 6:06 PM - 6 messages
We have two applications hosted on the same web server. The authentication section of the web.config file is the same in each; it is <authentication mode="Forms"> <forms name=".MyCookie" loginUrl="Login.aspx" protection="All" ...
Help with CryptoStream and incomplete files...
MattP -
9 Jun 2005 5:46 PM - 9 messages
Ok, with the help of some examples found on the web and some minor modifications on our own, we have a simple and working encrypt and decrypt solution. It runs as a service, watches for files with a specific extension in a specific directory. The files are uploaded by ...
policy files and .Net Configuration tool?
Christian G. -
9 Jun 2005 2:10 PM - 4 messages
Code Access Security: Can anybody tell me the different in using â€policy files†referenced in the web.config file and setting up security in the “.Net Configuration tool†? Thanks in advance! Christian ...
Provide grouped security
VK -
8 Jun 2005 7:09 PM - 7 messages
Hello: We are developing about 40 online tools for our website. These tools will be grouped and users will be given access to those tools which they have signed up for, more like they belong to different groups. We are ...
Authorization Manager/Windows 2000/ASP.NET throwing UnauthorizedAc
Dan Finucane -
8 Jun 2005 5:03 PM - 4 messages
I have written an HTTP module that uses Authorization Manager to control access to ASP.NET pages. The code works as desired on Windows 2003. Windows 2003 is not currently certified for production use at my client so I need to ...
Impersonation question
mjpmsa@yahoo.com -
8 Jun 2005 3:06 PM - 3 messages
I need to write a simple ASP.Net application. In it, I need to discover the current user's Windows logon name. To do this, I've created a web.config with these contents (from another post seen here): ...
session manager vs Form authentication in the Global.asax.cs file
Jasmine -
8 Jun 2005 3:06 PM - 10 messages
I am converting the asp.net application from window authentication to form authentication. originally, the application create identity , principal , add session under Session_Start event for window authentication, like: WindowIdentity wi=httpContext.current.user.Identity; GenericPrincipal pp= new GenraicPrincipal(wi,roles); ...
Multi-Domain Authentication for Windows Services
Jerry -
7 Jun 2005 5:54 PM - 7 messages
I've written a Windows Service in .NET that performs Administrative tasks on remote systems. The service runs under credentials that have domain admin rights on the DEV domain. A client (who does not have trusts established between domains) has ...
Code Access Security & Local Permissions Issue?
Vincent Melia -
7 Jun 2005 5:41 PM - 2 messages
I have a situation where domain users are part of the Users group on the local machine. I'm using Netrun from Lhotkas CSLA . Netrun creates a temporary AppDomain with full trust. I also gave Full Trust to the directory at the enterprise, ...
User.IsInRole is always FALSE
Oliver Rainer -
7 Jun 2005 3:01 PM - 8 messages
Hi, I have the following problem... Pre-requisites: Installation of an Asp.net webservice on a IIS5 server (win2k). Anonymous access is not allowed, only using windows authentication (intranet app), webmethoda are using the Principalpermssion attribute ([PrincipalPermission(SecurityAction.Demand, Role=@"DomainName\WindowsGroup...")]) for identification. ...
Set concurrent connections on share
aiKeith -
7 Jun 2005 2:29 PM - 4 messages
Hello, Could somebody tell me how I can limit the concurrent connections on a share via .net code? Or is there a better way to limit concurrent connections to a given .exe file? ...
MemoryStream requires FileIOPermission ???
D.Z. Simpson -
7 Jun 2005 9:12 AM - 5 messages
I'm working on a .NET Winforms control used in a web page. It has a LoadFromString method used to load information from a hidden html field. The string is created on the server side via corresponding SaveToString method. LoadFromString decodes the string into binary format in a byte array, ...
SymmetricAlgorithm/CryptoStream screwed? "Length of data to encrypt is invalid"
ep -
6 Jun 2005 11:40 PM - 3 messages
This happens when I used Rijndael 128 or TripleDES 192.... The following code always throws "Length of the data to encrypt is invalid". ICryptoTransform trans = algorithm.CreateEncryptor(algorithm.Key, algorithm.IV); MemoryStream ms = new MemoryStream(); CryptoStream cs = new CryptoStream(ms, trans, CryptoStreamMode.Write); ...
How to hash a file stream?
Sebastian Dau -
6 Jun 2005 6:02 PM - 3 messages
Hello, I'm writing a security related application in .NET 1.1 and I wonder how I compute hashes from very large files (up to 1 GB). Does anybody know a good pattern of how to create a stream from a binary ...
User Identity
Victor Rodriguez -
5 Jun 2005 4:45 AM - 8 messages
Is there a way to get the current logged user on a computer from a windows app. thanks, Victor ...
|
|||||||||||||||||||||||