473,394 Members | 1,645 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,394 software developers and data experts.

Permission Sets, Attributes

I have 3 projects in a solution; Project1, Project2, and Project3. All 3
projects are given a strong-name using the same snk file.

What I need is to have Project3 not be callable from any assembly exception
Project2. I can use StrongNameIdentityPermissionAttribute to keep
assemblies that don't have the same public key from calling it, but Project1
can still call this assembly...so, are there any attributes I can use to
prevent any other assemblies from calling Project3?

Thanks in advance,
Mythran

Nov 21 '05 #1
1 1008
Hi,

Why dont you make project 3 a private assembly in project 2. That would
be the easiest way to make project 3 only callable from project 2

Ken
---------------------------

"Mythran" wrote:
I have 3 projects in a solution; Project1, Project2, and Project3. All 3
projects are given a strong-name using the same snk file.

What I need is to have Project3 not be callable from any assembly exception
Project2. I can use StrongNameIdentityPermissionAttribute to keep
assemblies that don't have the same public key from calling it, but Project1
can still call this assembly...so, are there any attributes I can use to
prevent any other assemblies from calling Project3?

Thanks in advance,
Mythran

Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Patrick | last post by:
I have built a smart client application. It will only run under the full trust permission set. It will fail if I give it unrestricted access under the everything permission set. What is the...
2
by: BuddyWork | last post by:
Hello, I want to know if there are tools out there that will tell me what the minimum permission set that I require to run my application. I've looked at PermView but this does not do this. It...
3
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
1
by: Mythran | last post by:
I have 3 projects in a solution; Project1, Project2, and Project3. All 3 projects are given a strong-name using the same snk file. What I need is to have Project3 not be callable from any...
0
by: Benjamin Gavin | last post by:
Hi all, I am running into a rather bizarre problem with one of my web applications. I'm in the process of applying the PrincipalPermissionAttribute to a number of pages and I've stumbled into a...
5
by: JKPeck | last post by:
I would like to be able use sets where the set members are objects of a class I wrote. I want the members to be distinguished by some of the object content, but I have not figured out how a set...
2
by: Bill Fallon | last post by:
I have a VS2005 VB.Net windows form application deployed to a share drive. The windows explorer security permissions for this application (.exe) file is set for Everyone with List Folder/Read Data...
0
by: Thomas Wittek | last post by:
Hi! I'm using xsl:attribute-sets to reduce redundancy in my XSLT. An example from a transformation to XHTML (the attribute values are simply copied from input to output): <xsl:attribute-set...
0
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.