473,287 Members | 1,868 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,287 software developers and data experts.

Restrict the users to use the DLL

Hell All
I create a DLL in C#.Net.It is used in my application but i want to restirct all other user to use my DLL. What should i do for this.

Thanks & Regards
Ramveer Singh
Nov 20 '07 #1
4 1560
Shashi Sadasivan
1,435 Expert 1GB
Hell All
I create a DLL in C#.Net.It is used in my application but i want to restirct all other user to use my DLL. What should i do for this.

Thanks & Regards
Ramveer Singh
Who are your users?
1. The people who use the application?
or
2. the people who program the application?
Nov 20 '07 #2
Plater
7,872 Expert 4TB
I think the OP means they want only the programs THEY create to have access to this DLL and that other people trying to use the code stored in the DLL cannot.

Actually I'm a bit curious about this as well.
Nov 20 '07 #3
Shashi Sadasivan
1,435 Expert 1GB
Oh ok...
get the picture.

What if the dll responds only to those requests which have been authenticated?

As in, its got its own authentication mechanism whenever an object is created contained in it. If the authentication fails exceptions are thrown which makes the objects unusable.

However...the drawbacks:
You will have to code an algorithm into the DLL. (which can be cracked)
Your code will contain the authentication coe being sent to the DLL Each time, i dont know if this can be trracked if its on release mode.
Nov 20 '07 #4
Thank You Very Much for Reply Sir


Oh ok...
get the picture.

What if the dll responds only to those requests which have been authenticated?

As in, its got its own authentication mechanism whenever an object is created contained in it. If the authentication fails exceptions are thrown which makes the objects unusable.

However...the drawbacks:
You will have to code an algorithm into the DLL. (which can be cracked)
Your code will contain the authentication coe being sent to the DLL Each time, i dont know if this can be trracked if its on release mode.
Nov 22 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Gerry | last post by:
I have a developer here with a website running with only "Windows Integrated Authentication" set on a Windows 2000 member server that uses GetObject to get a user's group membership in the domain....
3
by: Paul | last post by:
Hi all, at present I I've built a website which can be updated by admin and users. My problem, I've combined "log in" and "access levels" to restrict access to certain pages, using the built...
2
by: Sudheer | last post by:
Hi All, We need to restrict multiple users login to the system. If one user is online with one userID, we need to show the message "This user already logs in to the system" to the other user who...
1
by: Dave | last post by:
We have an intranet application that is under Integrated security. So in theory, anyone who has an Active Directory account in the company can access my app. So, to allow only certain users, I...
2
by: pemo | last post by:
In Harbison and Steele's book, they say that using 'restrict' allows functions like memcpy() to be prototyped like this: void * memcpy(void * restrict s1, const void * restrict s2, size_t n); ...
21
by: Niu Xiao | last post by:
I see a lot of use in function declarations, such as size_t fread(void* restrict ptr, size_t size, size_t nobj, FILE* restrict fp); but what does the keyword 'restrict' mean? there is no...
3
by: dion.naidoo | last post by:
Hi ,is there any way one can restrict users to copy files with extensions that we dont want on our networks or local pcs. Users are local administrators of their pcs. PS. If this is not possible...
2
by: sushilviews | last post by:
Hi, I want restrict users from using the backward navigation buttons or backspace key in IE or may be in any browser. What is the the best way of not allowing the user to restrict backward...
5
by: Dakrat | last post by:
Allow me to preface this post by saying that this is my first database project, and while I have learned a lot, any concepts I have learned are hit and miss as I have found new requirements and...
5
by: need2know | last post by:
Hello In my quest for knowlwdge i would like to know if it possible to hide or restrict certain folders on the C drive from other users who log and use the same computer as the administrator...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: marcoviolo | last post by:
Dear all, I would like to implement on my worksheet an vlookup dynamic , that consider a change of pivot excel via win32com, from an external excel (without open it) and save the new file into a...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.