all groups > dotnet security > june 2005 > threads for june 8 - 14, 2005
Filter by week: 1 2 3 4 5
Construcing NetworkCredential from WindowsIdentity?
Posted by Claus Konrad at 6/14/2005 7:01:39 PM
Hi
Is there any way of getting from a WindowsIdentity (or WindowsPrincipal)
into a NetworkCredential?
I'm forced to authenticate myself towards an second server within my
network, but unfortunately this only accepts Username/password (forms) or
ICredentials (aka. networkcredentials).
I'... more >>
Role Based Security and Principal Permission
Posted by vishal at 6/14/2005 4:07:02 PM
I am using imperative role based security for my application.
The PrincipalPermission object only takes string as the role,whereas in my
application I have 5 roles assigned to one button and I need to check whether
whether the current principal object has one of those role.
How do I do it?
I ... more >>
Getting the domain name of the current server
Posted by Ron L at 6/14/2005 10:05:57 AM
I have an application I am developing which is using remoting to have a
smart client connect to a remote database via IIS. There are certain
functions that we only want the user to be able to access if they are
members of a certain group on the server. When the application is deployed,
the... more >>
CAS, Win32 and COM
Posted by chiba at 6/14/2005 7:29:08 AM
Hi,
Is it possible to restrict only Win32 API calls and allow COM calls using
Code Access Security?
The Security Permission for Unmanaged Code doesn´t make distinction between
them.
Thanks,
Chiba
... more >>
How to NOT use an IV for TripleDes encryption?
Posted by Faisal Yaqoob at 6/14/2005 1:39:08 AM
I need some information related to DotNet's IV in
TripleDesCryptoServiceProvider class. My company requires me to write a
client application that uses TripleDes encryption to communicate with a
server. The server is written in Java.
According to the information provided to me by the server... more >>
signcode.exe prevent popup? (X509 SPC)
Posted by Claus Konrad at 6/14/2005 12:22:58 AM
Hi
When signing an assembly with an X509 Certificate, the signcode application
always prompts you for the private key password to verify you know that.
I would like to automate this process so that my assemblies are signed
automatically after each nightly build. How is that possible?
/C... more >>
Using an updated or newer assembly?
Posted by Jeff at 6/13/2005 2:17:02 PM
We have a C# Winform application that depends on three or four assemblies.
In one of the assemblies, we changed one line of 'hard coded' data to some
other data. Nothing else was changed just something like:
string temp = "fred";
to:
string temp = "george";
We re-compiled the assembly/... more >>
crypto newbie question about hashing in .NET
Posted by Tyson Kamp at 6/13/2005 12:53:01 PM
Hi,
I want to start storing hashed strings (passwords) with .NET using one of
the provided crypto providers. My question is (and I hope it makes sense as
I'm pretty green to cryptography) if I need to verify passwords from JAVA
apps, it seems that their MAC object (message authenticator c... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Password Hash Gives Different Results In C# And Classic ASP - Help !!!
Posted by Fresh_Air_Rider NO[at]SPAM Hotmail.com at 6/13/2005 12:24:23 PM
Hi
I have a website written in Classic ASP which creates user accounts and
hashes passwords using CAPICOM and a C# website which also creates user
account but hashes passwords using
FormsAuthentication.HashPasswordForStoringInConfigFile.
The problem is that because each system produces tota... more >>
ASPNET_SETREG.exe
Posted by David at 6/13/2005 7:48:03 AM
All,
Within out development environment all developers are developing as non
admins. We are all storing our aspnet impersonation credentials within the
registry via aspnet_setreg.exe. I was wondering if it is possible to
generate the password on the fly as our domain account passwords expir... more >>
NTFS ACLs from C# (Whidbey)
Posted by Mark A. Richman at 6/12/2005 2:51:46 PM
I'm using the new System.Security.AccessControl stuff in 2.0.
This is a snippet typical of what I've done (this example sets Read =
access for Network Service on 'myFolder' and all subfolders and files)
SecurityIdentifier siNetworkService =3D new =
SecurityIdentifier(WellKnownSidType.Network... more >>
ASP.NET Authuntication & Authorization
Posted by ADITYA CHS at 6/12/2005 7:23:02 AM
Hi,
Please help me. I would like to know how to add more than one web.config
file to an ASP.NET APPLICATION/PROJECT
I want this 'coz in my web site some pages need no authuntication and
authorization.anonymous users are allowed access some pages.but they are
restricted to view some pages w... more >>
Authentication, Remoting, and Database Access problem
Posted by Ron L at 6/10/2005 8:48:11 AM
I am trying to setup a solution that will include a client which will access
a database via remoting calls. I am hosting my remoting project in IIS, and
am using Windows Integrated security. Since some of my users will be coming
in through the web (from non-trusted domains) to log into their... more >>
Appdomain.CreateDomain throws SecurityException
Posted by Praisy at 6/10/2005 2:03:06 AM
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.Ap... more >>
Sharing login across applications
Posted by Geoff at 6/9/2005 2:06:37 PM
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"
timeout="180" path="/"/>
</authentication>
There is a link bet... more >>
policy files and .Net Configuration tool?
Posted by Christian G. at 6/9/2005 7:10:12 AM
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
... more >>
Help with CryptoStream and incomplete files...
Posted by MattP at 6/9/2005 12:00:00 AM
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
FTP to this directory. T... more >>
Provide grouped security
Posted by VK at 6/8/2005 12:09:20 PM
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
using ASP.NET and SQL2000.
Where would be a good idea to check for user ... more >>
Authorization Manager/Windows 2000/ASP.NET throwing UnauthorizedAc
Posted by Dan Finucane at 6/8/2005 10:03:05 AM
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
use Windows 2000. I have installed the Authorization Manager runt... more >>
Impersonation question
Posted by mjpmsa NO[at]SPAM yahoo.com at 6/8/2005 8:06:59 AM
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):
<configuration>
<system.web>
<identity impersonate = "true"/>
</system.web>
<... more >>
session manager vs Form authentication in the Global.asax.cs file
Posted by Jasmine at 6/8/2005 8:06:11 AM
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... more >>
|