Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Security / January 2006

Tip: Looking for answers? Try searching our database.

Ensuring in a certain method via a call to a method of another assembly

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John H - 09 Jan 2006 09:20 GMT
Hi,

When in a method of an assembly i need to ensure it is being called via
a specific method of another specific assembly.
Any idea how to do this ?
Regards
JOhn
Nicole Calinoiu - 09 Jan 2006 14:06 GMT
This could be done by inspecting the caller stack frame, which can be
retrieved from a newly instantiated StackTrace.  If you need assistance with
the details, it would help if you could clarify how the allowed caller
assembly should be identified (e.g.: via authenticode signature, strong
name, etc.).

> Hi,
>
[quoted text clipped - 3 lines]
> Regards
> JOhn
John H - 10 Jan 2006 13:30 GMT
Thanks very much.
Thats the info i need.
John

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.