Role Access Security in .NET

,
August 15, 2003 / No Comment

First of all let me say I am very disappointed with the Role Access Security in .NET.  I am probably missing something but it appears Microsoft entirely missed my requirements on this one.  With Role Access security you essentially hard wire what roles are in your application (Administrators, OfficeWorkers, FieldWorkers, etc) and then check whether the current user is in […]
Read more

AUTHOR: CATEGORY: .Net

Changing the MSCorlib Model in Rational XDE

,
August 15, 2003 / No Comment

While diagramming some of the System.Security.Principal related classes in Rational XDE yesterday I encountered a problem.  Although IPrincipal had an Identity property of type IIdentity there was no association between the two classes in the model.  Furthermore, any attempt to change the model produced and error indicating that the model was read only.  hmm…..
After talking with Rational support I […]
Read more

AUTHOR: CATEGORY: .Net

Controlling Remote Access via Policy

,
August 13, 2003 / No Comment

While trying to set up a VPN Server using Windows 2003 I wanted to assign users access based on policy rather then individually selecting the dial-in or deny privilege on the user properties.  Unfortunately, the “Control access through Remote Access Policy” option was disabled.
After a short investigation I learned here that some Dial-In Options Unavailable with Active Directory in […]
Read more

AUTHOR: CATEGORY: Uncategorized

Security Library

,
August 12, 2003 / No Comment

As reported by .NETWire
“The Mentalis.org team has released a new update of their Security Library. The new version features a managed SSL and TLS implementation, several additions to the cryptography section and new features for the certificate management library.”

AUTHOR: CATEGORY: .Net

Some things are easier in C++

,
August 12, 2003 / No Comment

While porting a C/C++ console application to C# I came across a construct that there doesn’t seem to be any C# equivalent for.  Here is the C++ code:

#include <iostream> // input and output functions
using namespace std;
void main()
{
double i;
// Prompt for the summation equation
cout << “Enter the summation equation […]
Read more

AUTHOR: CATEGORY: .Net

OpenGL Support from Managed Code

,
August 11, 2003 / No Comment

I recently participated in a rather heated discussion as to whether .NET had anything to offer to graphic intense type desktop applications.  One of the questions that arose was about support for OpenGL.  I briefly took the time to investigate this and here is what I came up with:

CSharp Graphics Library (CsGL) – implements a wrapper for OpenGL
Read more

AUTHOR: CATEGORY: .Net

What’s with the C# shorts?

,
August 10, 2003 / No Comment

As part of doing some writing about C#, I have noticed what appears to be peculiar behavior for the short data type.
The C# specification states:
“If the literal has no suffix, it has the first of these types in which its value can be represented: int, uint, long, ulong.”
and that
The implicit numeric conversions are:
– From short […]
Read more

AUTHOR: CATEGORY: .Net

What's with the C# shorts?

,
August 10, 2003 / 4 Comments

As part of doing some writing about C#, I have noticed what appears to be peculiar behavior for the short data type.
The C# specification states:
“If the literal has no suffix, it has the first of these types in which its value can be represented: int, uint, long, ulong.”
and that
The implicit numeric conversions are:
– From short […]
Read more

AUTHOR: CATEGORY: .Net

Base class for cloning an object in C#

,
August 8, 2003 / No Comment

The rules for generic cloning in this implementation seem to be pretty close for how I would want them.  The only question, however, is whether the implementation can handle circular references?  There is also a brief discussion of deep versus shadow cloning here.

AUTHOR: CATEGORY: .Net