PC Review


Reply
Thread Tools Rate Thread

CAS - Do you think this is feasible?

 
 
=?Utf-8?B?Q2h1YSBXZW4gQ2hpbmc=?=
Guest
Posts: n/a
 
      16th Sep 2004
Hi there,

I had been thinking really hard.

I had a scenario and i am wondering anyone had experience this before.

I had to push out couple of dlls, example:

myframework.sdk.dll
myframework.os.dll

We had 100 partners around the world, and i am thinking that each partners
only requires certain features of the libraries we had.

We had 2 versions:

Just say the dll myframework.sdk.dll contains 10 functions

Professional - full access to all 10 functions
Academic - limits to 3 functions

well it still depends, sometimes we had to cater each partner to only access
to the necessary functions.

In order to make this happen:

1) I secure my dll code with CAS attributes, and each method had an
attributes on which assemblies which calls it.

2) There will be an abstraction layer, that calls this myframework.sdk.dll
and myframework.os.dll. I remember how sql server 2005 handles this with the
existence of xsd schemas.

people access --> master.dll (abstraction layer) --> myframework.sdk.dll and
my framework.os.dll

3) In order to high protective, master.dll is protected with dongle. Hmm, is
this the best way with using dongle? I know that under administration tool ,
..net framework 1.1 configuration, you can set something to secure the dll.

But what if the system admin of the partner, manipulate the settings, the
security to the dll is all gone.

Any idea who experiences this before?

But the problem i see here with CAS, to cater each client manually, i had to
modify each security settings manually, recompiles it. Is there any way, to
stop me from recompiling my dll, and on the fly set my security settings on
each method?

Maybe,

[Allowed("true")]
public int PrintStatus() {}

-auto trigger without recompile my dlls.

[Allowed("false")]
public int PrintStatus() {}

Hope someone can give some comments!
--
Regards,
Chua Wen Ching
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I think this is a backdoor to PC. What do you think? =?Utf-8?B?emhvdXh1ZW5haQ==?= Windows XP General 4 9th Nov 2006 02:27 PM
CAS 2 vs. CAS 3 speed differences in RAM with Athlon 64? ANTant@zimage.com Asus Motherboards 41 26th Sep 2004 01:37 AM
CAS 2 vs. CAS 3 speed differences in RAM with Athlon 64? ANTant@zimage.com Processors 38 24th Sep 2004 08:12 PM
CAS 2 vs. CAS 3 speed differences in RAM with Athlon 64? ANTant@zimage.com AMD 64 Bit 39 24th Sep 2004 08:12 PM
CAS - Do you think this is feasible? Richard Blewett [DevelopMentor] Microsoft C# .NET 0 16th Sep 2004 05:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:27 AM.